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

Model Solution Status. More...

Public Member Functions

int value ()
 Get the int value of this enumerated ModelStat object.
 

Static Public Member Functions

static ModelStat lookup (int val)
 Lookup all model solution status used by GAMS

 

Public Attributes

 OPTIMAL_GLOBAL =(1)
 = 1, Optimal solution found

 
 OPTIMAL_LOCAL =(2)
 = 2, Local optimal solution found

 
 UNBOUNDED =(3)
 = 3, Unbounded model found

 
 INFEASIBLE_GLOBAL =(4)
 = 4, Infeasible model found

 
 INFEASIBLE_LOCAL =(5)
 = 5, Locally infeasible model found

 
 INFEASIBLE_INTERMED =(6)
 = 6, Solver terminated early and model was still infeasible
 
 FEASIBLE =(7)
 = 7, Feasible solution found

 
 INTEGER =(8)
 = 8, Integer solution found

 
 NON_INTEGER_INTERMED =(9)
 = 9, Solver terminated early with a non integer solution found

 
 INTEGER_INFEASIBLE =(10)
 = 10, No feasible integer solution could be found

 
 LICENSE_ERROR =(11)
 = 11, Licensing problem

 
 ERROR_UNKNOWN =(12)
 = 12, Error No cause known

 
 ERROR_NO_SOLUTION =(13)
 = 13, Error No solution attained

 
 NO_SOLUTION_RETURNED =(14)
 = 14, No solution returned

 
 SOLVED_UNIQUE =(15)
 = 15, Unique solution in a CNS models

 
 SOLVED =(16)
 = 16, Feasible solution in a CNS models

 
 SOLVED_SINGULAR =(17)
 = 17, Singular in a CNS models

 
 UNBOUNDED_NO_SOLUTION =(18)
 = 18, Unbounded no solution

 
 INFEASIBLE_NO_SOLUTION =(19)
 = 19, Infeasible no solution

 
 UNDEFINED_STAT =(20)
 >= 20, Undefined status

 

Detailed Description

Model Solution Status.

Member Function Documentation

◆ lookup()

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

Lookup all model solution status used by GAMS

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

◆ value()

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

Get the int value of this enumerated ModelStat object.

Returns
the int value of the ModelStat

Member Data Documentation

◆ ERROR_NO_SOLUTION

com.gams.api.GAMSGlobals.ModelStat.ERROR_NO_SOLUTION =(13)

= 13, Error No solution attained

◆ ERROR_UNKNOWN

com.gams.api.GAMSGlobals.ModelStat.ERROR_UNKNOWN =(12)

= 12, Error No cause known

◆ FEASIBLE

com.gams.api.GAMSGlobals.ModelStat.FEASIBLE =(7)

= 7, Feasible solution found

◆ INFEASIBLE_GLOBAL

com.gams.api.GAMSGlobals.ModelStat.INFEASIBLE_GLOBAL =(4)

= 4, Infeasible model found

◆ INFEASIBLE_INTERMED

com.gams.api.GAMSGlobals.ModelStat.INFEASIBLE_INTERMED =(6)

= 6, Solver terminated early and model was still infeasible

◆ INFEASIBLE_LOCAL

com.gams.api.GAMSGlobals.ModelStat.INFEASIBLE_LOCAL =(5)

= 5, Locally infeasible model found

◆ INFEASIBLE_NO_SOLUTION

com.gams.api.GAMSGlobals.ModelStat.INFEASIBLE_NO_SOLUTION =(19)

= 19, Infeasible no solution

◆ INTEGER

com.gams.api.GAMSGlobals.ModelStat.INTEGER =(8)

= 8, Integer solution found

◆ INTEGER_INFEASIBLE

com.gams.api.GAMSGlobals.ModelStat.INTEGER_INFEASIBLE =(10)

= 10, No feasible integer solution could be found

◆ LICENSE_ERROR

com.gams.api.GAMSGlobals.ModelStat.LICENSE_ERROR =(11)

= 11, Licensing problem

◆ NO_SOLUTION_RETURNED

com.gams.api.GAMSGlobals.ModelStat.NO_SOLUTION_RETURNED =(14)

= 14, No solution returned

◆ NON_INTEGER_INTERMED

com.gams.api.GAMSGlobals.ModelStat.NON_INTEGER_INTERMED =(9)

= 9, Solver terminated early with a non integer solution found

◆ OPTIMAL_GLOBAL

com.gams.api.GAMSGlobals.ModelStat.OPTIMAL_GLOBAL =(1)

= 1, Optimal solution found

◆ OPTIMAL_LOCAL

com.gams.api.GAMSGlobals.ModelStat.OPTIMAL_LOCAL =(2)

= 2, Local optimal solution found

◆ SOLVED

com.gams.api.GAMSGlobals.ModelStat.SOLVED =(16)

= 16, Feasible solution in a CNS models

◆ SOLVED_SINGULAR

com.gams.api.GAMSGlobals.ModelStat.SOLVED_SINGULAR =(17)

= 17, Singular in a CNS models

◆ SOLVED_UNIQUE

com.gams.api.GAMSGlobals.ModelStat.SOLVED_UNIQUE =(15)

= 15, Unique solution in a CNS models

◆ UNBOUNDED

com.gams.api.GAMSGlobals.ModelStat.UNBOUNDED =(3)

= 3, Unbounded model found

◆ UNBOUNDED_NO_SOLUTION

com.gams.api.GAMSGlobals.ModelStat.UNBOUNDED_NO_SOLUTION =(18)

= 18, Unbounded no solution

◆ UNDEFINED_STAT

com.gams.api.GAMSGlobals.ModelStat.UNDEFINED_STAT =(20)

>= 20, Undefined status