production planning problem
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 )
nproducts
: number of different productsprofit
: profit for each product (1-D vector)pnames
: names of each product (1-D vector)nresources
: number of resourcescapacity
: amount of each resource available (1-D vector)rnames
: names of each resource (1-D vector)consumption
: units of each resource required to produce 1 unit of product (2-D vector to be provided as 1-D vector)Useful links