production_planning {rminizinc} | R Documentation |
production planning problem
Description
simple production planning problem taken from https://github.com/MiniZinc/minizinc-examples Goal is to maximize the profit
Usage
production_planning(
nproducts,
profit,
pnames,
nresources,
capacity,
rnames,
consumption
)
Arguments
nproducts |
number of different products |
profit |
profit for each product (1-D vector) |
pnames |
names of each product (1-D vector) |
nresources |
number of resources |
capacity |
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) |
[Package rminizinc version 0.0.8 Index]