Loading...
Searching...
No Matches
Set mode for default upper bounds on integer variables.
More...
|
int | value () |
| Get the int value of this enumerated IntVarUp.
|
|
|
| INF =(0) |
| Set default upper bound for integer variables to +INF.
|
|
| Pass100ToSolver =(1) |
| Pass a value of 100 instead of +INF to the solver as upper bound for integer variables.
|
|
| INFandLog =(2) |
| Same as 0 but writes a message to the log if the level of an integer variable is greater than 100.
|
|
| Pass100ToSolverAndError =(3) |
| Same as 2 but issues an execution error if the level of an integer variable is greater than 100.
|
|
| UndefinedIntVarUp =(4) |
| Undefined IntVarUp.
|
|
Set mode for default upper bounds on integer variables.
◆ lookup()
static EIntVarUp com.gams.api.GAMSOptions.EIntVarUp.lookup |
( |
int |
val | ) |
|
|
static |
Lookup all intVarUps.
- Parameters
-
val | an int value to lookup |
- Returns
- the enumerated IntVarUp that has the specified value, or UndefinedIntVarUp if the specified value is not found.
◆ value()
int com.gams.api.GAMSOptions.EIntVarUp.value |
( |
| ) |
|
Get the int value of this enumerated IntVarUp.
- Returns
- the intVarUp value
◆ INF
com.gams.api.GAMSOptions.EIntVarUp.INF =(0) |
Set default upper bound for integer variables to +INF.
◆ INFandLog
com.gams.api.GAMSOptions.EIntVarUp.INFandLog =(2) |
Same as 0 but writes a message to the log if the level of an integer variable is greater than 100.
◆ Pass100ToSolver
com.gams.api.GAMSOptions.EIntVarUp.Pass100ToSolver =(1) |
Pass a value of 100 instead of +INF to the solver as upper bound for integer variables.
◆ Pass100ToSolverAndError
com.gams.api.GAMSOptions.EIntVarUp.Pass100ToSolverAndError =(3) |
Same as 2 but issues an execution error if the level of an integer variable is greater than 100.
◆ UndefinedIntVarUp
com.gams.api.GAMSOptions.EIntVarUp.UndefinedIntVarUp =(4) |