GAMS [ Home | Downloads | Documentation | Solvers | APIs | Tools | Model Libraries | Resources | Sales | Support | Contact Us | Search ]

CutstockModel Class Reference

This example shows the wrapper model of a cutstock problem based on the simple GAMS [cutstock] model from the GAMS Model Library. More...

Pulic Methods

 CutstockModel (GAMSWorkspace ws)
 CutstockModel constructor. More...
 
void run ()
 Executes the cutstock model.
 
void run (PrintStream output)
 Executes the cutstock model. More...
 
GAMSSet getWidths ()
 get an input symbol, i : widths
 
GAMSParameter getRawWidth ()
 get an input symbol, r : raw width
 
GAMSParameter getDemand ()
 get an input symbol, d : demand
 
GAMSParameter getWidth ()
 get an input symbol, w : width
 
GAMSParameter getPatRep ()
 get an output symbol, patrep : Solution pattern report
 
GAMSOptions getOpt ()
 get Options for the execution of the cutstock model
 
String getModelSource ()
 get the source of cutstock model
 

Detailed Description

This example shows the wrapper model of a cutstock problem based on the simple GAMS [cutstock] model from the GAMS Model Library.

Definition at line 17 of file CutstockModel.java.

Constructors

§ CutstockModel()

CutstockModel constructor.

Parameters
wsa GAMSWorkspace where the files are located

Definition at line 32 of file CutstockModel.java.

Methods

§ run()

void run ( PrintStream  output)

Executes the cutstock model.

Parameters
outputStream to capture GAMS log

Definition at line 58 of file CutstockModel.java.