Loading...
Searching...
No Matches
com.gams.api.GAMSOptions.ESolveLink Enum Reference

Solver link option. More...

Public Member Functions

int value ()
 Get the int value of this enumerated SolveLink.
 

Static Public Member Functions

static ESolveLink lookup (int val)
 Lookup all solveLinks.
 

Public Attributes

 ChainScript =(0)
 Model instance and entire GAMS state saved to scratch directory, GAMS exits (and vacates memory), and the solver script is called.
 
 CallScript =(1)
 Model instance saved to scratch directory, the solver is called from a shell while GAMS remains open.
 
 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.
 
 AsyncGrid =(3)
 Model instance saved to scratch directory, the solver starts the solution and GAMS continues.
 
 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)
 
 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.
 
 LoadLibraryAsync =(6)
 The model instance is passed to the solver in-memory, the solver starts the solution and GAMS continues.
 
 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)
 
 UndefinedSolveLink =(8)
 Undefined SolveLink.
 

Detailed Description

Solver link option.

Member Function Documentation

◆ lookup()

static ESolveLink com.gams.api.GAMSOptions.ESolveLink.lookup ( int  val)
static

Lookup all solveLinks.

Parameters
valan int value to lookup
Returns
the enumerated SolveLink that has the specified value, or UndefinedSolveLink if the specified value is not found.

◆ value()

int com.gams.api.GAMSOptions.ESolveLink.value ( )

Get the int value of this enumerated SolveLink.

Returns
the solveLink value

Member Data Documentation

◆ AsyncGrid

com.gams.api.GAMSOptions.ESolveLink.AsyncGrid =(3)

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

◆ AsyncSimulate

com.gams.api.GAMSOptions.ESolveLink.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)

◆ CallModule

com.gams.api.GAMSOptions.ESolveLink.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.

◆ CallScript

com.gams.api.GAMSOptions.ESolveLink.CallScript =(1)

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

◆ ChainScript

com.gams.api.GAMSOptions.ESolveLink.ChainScript =(0)

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

◆ LoadLibrary

com.gams.api.GAMSOptions.ESolveLink.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.

◆ LoadLibraryAsync

com.gams.api.GAMSOptions.ESolveLink.LoadLibraryAsync =(6)

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

◆ LoadLibraryAsyncSimulate

com.gams.api.GAMSOptions.ESolveLink.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)

◆ UndefinedSolveLink

com.gams.api.GAMSOptions.ESolveLink.UndefinedSolveLink =(8)

Undefined SolveLink.