GitHunt
BI

bitsnaps/cutting-stock

Cutting stock algorithm using Pyomo

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

Languages

Python100.0%

Contributors

Created April 17, 2020
Updated October 8, 2024