com.gams.api.GAMSGlobals.SolveStat Enum Reference

Solver termination condition. More...

Public Member Functions

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

Static Public Member Functions

static SolveStat lookup (int val)
 Lookup all solver termination conditions used by GAMS. More...
 

Public Attributes

 NORMAL =(1)
 = 1, Normal termination More...
 
 ITERATION =(2)
 = 2, Solver ran out of iterations More...
 
 RESOURCE =(3)
 = 3, Solver exceeded time limit More...
 
 SOLVER =(4)
 = 4, Solver quit with a problem More...
 
 EVAL_ERROR =(5)
 = 5, Solver quit with nonlinear term evaluation errors More...
 
 CAPABILITY =(6)
 = 6, Solver terminated because the model is beyond the solvers capabilities More...
 
 LICENSE =(7)
 = 7, Solver terminated with a license error More...
 
 USER =(8)
 = 8, Solver terminated on users request (e.g. More...
 
 SETUP_ERR =(9)
 = 9, Solver terminated on setup error More...
 
 SOLVER_ERR =(10)
 = 10, Solver terminated with error More...
 
 INTERNAL_ERR =(11)
 = 11, Solver terminated with error More...
 
 SKIPPED =(12)
 = 12, Solve skipped More...
 
 SYSTEM_ERR =(13)
 = 13, Other error More...
 
 UNDEFINED_STAT =(14)
 >= 14, Undefined condition More...
 

Detailed Description

Solver termination condition.

Member Function Documentation

◆ lookup()

static SolveStat com.gams.api.GAMSGlobals.SolveStat.lookup ( int  val)
static

Lookup all solver termination conditions used by GAMS.

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

◆ value()

int com.gams.api.GAMSGlobals.SolveStat.value ( )

Get the int value of this enumerated SolveStat.

Returns
the int value of the SolveStat

Member Data Documentation

◆ CAPABILITY

com.gams.api.GAMSGlobals.SolveStat.CAPABILITY =(6)

= 6, Solver terminated because the model is beyond the solvers capabilities

◆ EVAL_ERROR

com.gams.api.GAMSGlobals.SolveStat.EVAL_ERROR =(5)

= 5, Solver quit with nonlinear term evaluation errors

◆ INTERNAL_ERR

com.gams.api.GAMSGlobals.SolveStat.INTERNAL_ERR =(11)

= 11, Solver terminated with error

◆ ITERATION

com.gams.api.GAMSGlobals.SolveStat.ITERATION =(2)

= 2, Solver ran out of iterations

◆ LICENSE

com.gams.api.GAMSGlobals.SolveStat.LICENSE =(7)

= 7, Solver terminated with a license error

◆ NORMAL

com.gams.api.GAMSGlobals.SolveStat.NORMAL =(1)

= 1, Normal termination

◆ RESOURCE

com.gams.api.GAMSGlobals.SolveStat.RESOURCE =(3)

= 3, Solver exceeded time limit

◆ SETUP_ERR

com.gams.api.GAMSGlobals.SolveStat.SETUP_ERR =(9)

= 9, Solver terminated on setup error

◆ SKIPPED

com.gams.api.GAMSGlobals.SolveStat.SKIPPED =(12)

= 12, Solve skipped

◆ SOLVER

com.gams.api.GAMSGlobals.SolveStat.SOLVER =(4)

= 4, Solver quit with a problem

◆ SOLVER_ERR

com.gams.api.GAMSGlobals.SolveStat.SOLVER_ERR =(10)

= 10, Solver terminated with error

◆ SYSTEM_ERR

com.gams.api.GAMSGlobals.SolveStat.SYSTEM_ERR =(13)

= 13, Other error

◆ UNDEFINED_STAT

com.gams.api.GAMSGlobals.SolveStat.UNDEFINED_STAT =(14)

>= 14, Undefined condition

◆ USER

com.gams.api.GAMSGlobals.SolveStat.USER =(8)

= 8, Solver terminated on users request (e.g.

Ctrl-C)