Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 529 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 529 Bytes

Cutting Stock with Pyomo

This is a simple example for using pyomo and python 3 to solve cutting stock problem.

Example updated from python 2 and adapted to newer version of pyomo.

Install pyomo

pyomo doesn't comes with Anaconda/Miniconda, so you must install it separately.

pip install pyomo

# or if you are using conda
conda install -c conda-forge pyomo

Running:

python cutstock_pyomo.py

Original example from: https://github.com/Pyomo/pyomo/tree/master/examples/doc/samples/comparisons/cutstock