production_planning function

production planning problem

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 )

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)
  • Maintainer: Akshit Achara
  • License: Mozilla Public License Version 2.0
  • Last published: 2021-10-15