com.gams.api.GAMSOptions.ESolveLink Enum Reference

Solver link option. More...

Public Member Functions

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

Static Public Member Functions

static ESolveLink lookup (int val)
 Lookup all solveLinks. More...
 

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. More...
 
 CallScript =(1)
 Model instance saved to scratch directory, the solver is called from a shell while GAMS remains open. More...
 
 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. More...
 
 AsyncGrid =(3)
 Model instance saved to scratch directory, the solver starts the solution and GAMS continues in a grid computing environment. More...
 
 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) More...
 
 LoadLibrary =(5)
 The model instance is passed to the solver in-memory. More...
 
 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. More...
 
 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) More...
 
 UndefinedSolveLink =(8)
 Undefined SolveLink. More...
 

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 in a grid computing environment.

◆ 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.

◆ 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.

◆ 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 in a grid computing environment.

◆ 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.