gams.options.SolveLink Class Reference

Solver link option. More...

Static Public Attributes

int ChainScript = 0
 Model instance and entire GAMS state saved to scratch directory, GAMS exits (and vacates memory), and the solver script is called. More...
 
int CallScript = 1
 Model instance saved to scratch directory, the solver is called from a shell while GAMS remains open.
 
int CallModule = 2
 Model instance saved to scratch directory, the solver is called with a spawn (if possible) or a shell (if spawn is not possible) while GAMS remains open - If this is not supported by the selected solver, it gets reset to 1 automatically.
 
int AsyncGrid = 3
 Model instance saved to scratch directory, the solver starts the solution and GAMS continues in a grid computing environment.
 
int AsyncSimulate = 4
 Model instance saved to scratch directory, the solver starts the solution and GAMS waits for the solver to come back but uses same submission process as 3 (test mode)
 
int LoadLibrary = 5
 The model instance is passed to the solver in-memory - If this is not supported by the selected solver, it gets reset to 2 automatically.
 
int LoadLibraryAsync = 6
 The model instance is passed to the solver in-memory, the solver starts the solution and GAMS continues in a grid computing environment.
 
int LoadLibraryAsyncSimulate = 7
 The model instance is passed to the solver in-memory, the solver starts the solution and GAMS waits for the solver to come back but uses same submission process as 6 (test mode)
 

Detailed Description

Solver link option.

Member Data Documentation

◆ ChainScript

int gams.options.SolveLink.ChainScript = 0
static

Model instance and entire GAMS state saved to scratch directory, GAMS exits (and vacates memory), and the solver script is called.

After the solver terminates, GAMS restarts from the saved state and continues to executing