simple_cutstock.py File Reference
This example implements a column generation approach to solve the cutting stock problem. More...
Go to the source code of this file.
Variables | |
sys | simple_cutstock.sys_dir = sys.argv[1] if len(sys.argv) > 1 else None |
Cutstock | simple_cutstock.cs = Cutstock(sys_dir) |
int | simple_cutstock.r = 100 |
simple_cutstock.value | |
dict | simple_cutstock.d = {"i1": 97, "i2": 610, "i3": 395, "i4": 211} |
dict | simple_cutstock.w = {"i1": 47, "i2": 36, "i3": 31, "i4": 14} |
simple_cutstock.all_model_types | |
simple_cutstock.try : | |
simple_cutstock.output | |
Detailed Description
This example implements a column generation approach to solve the cutting stock problem.
In this program, the column generation scheme has been implemented in GAMS. Moreover the GAMS model with the input and output data has been wrapped in a class that separates all interaction with GAMS from the driving application.
Definition in file simple_cutstock.py.