Loading...
Searching...
No Matches
gams::GAMSOptions::ESolveLink Struct Reference

Solver link option. More...

#include <gamsoptions.h>

Public Types

enum  ESolveLinkEnum {
  ChainScript = 0 , CallScript = 1 , CallModule = 2 , AsyncGrid = 3 ,
  AsyncSimulate = 4 , LoadLibrary = 5 , LoadLibraryAsync = 6 , LoadLibraryAsyncSimulate = 7
}
 Solver link option. More...
 

Detailed Description

Solver link option.

Definition at line 568 of file gamsoptions.h.

Member Enumeration Documentation

◆ ESolveLinkEnum

Solver link option.

Enumerator
ChainScript 

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.

CallScript 

Model instance saved to scratch directory, the solver is called from a shell while GAMS remains open.

CallModule 

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.

AsyncGrid 

Model instance saved to scratch directory, the solver starts the solution and GAMS continues.

AsyncSimulate 

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)

LoadLibrary 

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.

LoadLibraryAsync 

The model instance is passed to the solver in-memory, the solver starts the solution and GAMS continues.

LoadLibraryAsyncSimulate 

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)

Definition at line 571 of file gamsoptions.h.