项目作者: bitsnaps

项目描述 :
Cutting stock algorithm using Pyomo
高级语言: Python
项目地址: git://github.com/bitsnaps/cutting-stock.git
创建时间: 2020-04-17T16:26:10Z
项目社区:https://github.com/bitsnaps/cutting-stock

开源协议:

下载


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.

  1. pip install pyomo
  2. # or if you are using conda
  3. conda install -c conda-forge pyomo

Running:

  1. python cutstock_pyomo.py

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