Model Solution Status. More...
Public Member Functions | |
int | value () |
Get the int value of this enumerated ModelStat object. More... | |
Static Public Member Functions | |
static ModelStat | lookup (int val) |
Lookup all model solution status used by GAMS More... | |
Public Attributes | |
OPTIMAL_GLOBAL =(1) | |
= 1, Optimal solution found More... | |
OPTIMAL_LOCAL =(2) | |
= 2, Local optimal solution found More... | |
UNBOUNDED =(3) | |
= 3, Unbounded model found More... | |
INFEASIBLE_GLOBAL =(4) | |
= 4, Infeasible model found More... | |
INFEASIBLE_LOCAL =(5) | |
= 5, Locally infeasible model found More... | |
INFEASIBLE_INTERMED =(6) | |
= 6, Solver terminated early and model was still infeasible More... | |
FEASIBLE =(7) | |
= 7, Feasible solution found More... | |
INTEGER =(8) | |
= 8, Integer solution found More... | |
NON_INTEGER_INTERMED =(9) | |
= 9, Solver terminated early with a non integer solution found More... | |
INTEGER_INFEASIBLE =(10) | |
= 10, No feasible integer solution could be found More... | |
LICENSE_ERROR =(11) | |
= 11, Licensing problem More... | |
ERROR_UNKNOWN =(12) | |
= 12, Error No cause known More... | |
ERROR_NO_SOLUTION =(13) | |
= 13, Error No solution attained More... | |
NO_SOLUTION_RETURNED =(14) | |
= 14, No solution returned More... | |
SOLVED_UNIQUE =(15) | |
= 15, Unique solution in a CNS models More... | |
SOLVED =(16) | |
= 16, Feasible solution in a CNS models More... | |
SOLVED_SINGULAR =(17) | |
= 17, Singular in a CNS models More... | |
UNBOUNDED_NO_SOLUTION =(18) | |
= 18, Unbounded no solution More... | |
INFEASIBLE_NO_SOLUTION =(19) | |
= 19, Infeasible no solution More... | |
UNDEFINED_STAT =(20) | |
>= 20, Undefined status More... | |
Detailed Description
Model Solution Status.
Member Function Documentation
◆ lookup()
|
static |
Lookup all model solution status used by GAMS
- Parameters
-
val an 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