Loading...
Searching...
No Matches
com.gams.api.GAMSGlobals.SolveStat Enum Reference

Solver termination condition. More...

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

 NORMAL =(1)
 = 1, Normal termination

 
 ITERATION =(2)
 = 2, Solver ran out of iterations

 
 RESOURCE =(3)
 = 3, Solver exceeded time limit

 
 SOLVER =(4)
 = 4, Solver quit with a problem

 
 EVAL_ERROR =(5)
 = 5, Solver quit with nonlinear term evaluation errors
 
 CAPABILITY =(6)
 = 6, Solver terminated because the model is beyond the solvers capabilities

 
 LICENSE =(7)
 = 7, Solver terminated with a license error

 
 USER =(8)
 = 8, Solver terminated on users request (e.g.
 
 SETUP_ERR =(9)
 = 9, Solver terminated on setup error

 
 SOLVER_ERR =(10)
 = 10, Solver terminated with error

 
 INTERNAL_ERR =(11)
 = 11, Solver terminated with error

 
 SKIPPED =(12)
 = 12, Solve skipped

 
 SYSTEM_ERR =(13)
 = 13, Other error

 
 UNDEFINED_STAT =(14)
 >= 14, Undefined condition

 

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)