simple production planning problem taken from https://github.com/MiniZinc/minizinc-examples Goal is to maximize the profit
production_planning(
nproducts,
profit,
pnames,
nresources,
capacity,
rnames,
consumption
)
number of different products
profit for each product (1-D vector)
names of each product (1-D vector)
number of resources
amount of each resource available (1-D vector)
names of each resource (1-D vector)
units of each resource required to produce 1 unit of product (2-D vector to be provided as 1-D vector)