Controlling GAMS from External Programs

Top  Previous  Next

When a modeler wants to link GAMS results or input to other programs it can be done in several fundamentally different ways.

GAMS is in charge and data from other programs is to be incorporated into the GAMS program as it starts up.
GAMS is in charge and data from the GAMS results are to be passed to other programs at the conclusion of the GAMS run.
GAMS is in charge and the user wants to run another program during a GAMS run.
GAMS is in charge and the user wishes to pass data interactively to other programs interactively during a run.
Equations in the user model are defined by an external program.
Some other program is in charge and the user wants to use GAMS to solve a model.
A GAMS model needs to be converted to another language for solution.

The first five of these are discussed in the chapter Links to Other Programs Including Spreadsheets, the other two are discussed herein.

 

Calling GAMS from other programs

Transferring models to other systems