Loading...
Searching...
No Matches
Special GAMS Values used by GAMS Java API.
More...
|
void | setValue (double aValue) |
| Internal used only: Set a special value
|
|
double | value () |
| Get the double value of this SpecialValues.
|
|
|
static double[] | doubleValues () |
| Get all enumerated SepcialValues used by GAMS API.
|
|
static SpecialValues | lookup (double aValue) |
| Lookup all special values used by GAMS API.
|
|
|
| UNDEFINED =(1.0E300) |
| = 1.0E300, undefined
|
|
| NAN =( Double.NaN ) |
| = Double.NaN, not available/applicable
|
|
| PLUS_INF =(Double.POSITIVE_INFINITY) |
| = Double.POSITIVE_INFINITY, plus infinity
|
|
| MINUS_INF =(Double.NEGATIVE_INFINITY) |
| = Double.NEGATIVE_INFINITY, minus infinity
|
|
| EPS =(4.94066E-324) |
| = 4.94066E-324, epsilon
|
|
| ACRONYM =(10.0E300) |
| = 10.0E300, potential/real acronym
|
|
| UNDEFINED_VALUE =(0.0) |
| Undefined value
|
|
Special GAMS Values used by GAMS Java API.
- See also
- GAMSDatabase
◆ doubleValues()
static double[] com.gams.api.GAMSGlobals.SpecialValues.doubleValues |
( |
| ) |
|
|
static |
Get all enumerated SepcialValues used by GAMS API.
- Returns
- the array containing double values of all SpecialValues
◆ lookup()
static SpecialValues com.gams.api.GAMSGlobals.SpecialValues.lookup |
( |
double |
aValue | ) |
|
|
static |
Lookup all special values used by GAMS API.
- Parameters
-
- Returns
- the enumerated SpecialValues that has the specified value, or UNDEFINED_VALUE if the specified value is not found.
◆ setValue()
void com.gams.api.GAMSGlobals.SpecialValues.setValue |
( |
double |
aValue | ) |
|
Internal used only: Set a special value
- Parameters
-
aValue | a double value to set
|
- Since
- 24.2
◆ value()
double com.gams.api.GAMSGlobals.SpecialValues.value |
( |
| ) |
|
Get the double value of this SpecialValues.
- Returns
- the double value of this SpecialValues object
◆ ACRONYM
com.gams.api.GAMSGlobals.SpecialValues.ACRONYM =(10.0E300) |
= 10.0E300, potential/real acronym
◆ EPS
com.gams.api.GAMSGlobals.SpecialValues.EPS =(4.94066E-324) |
= 4.94066E-324, epsilon
- Since
- 24.2 As of release 24.2, replaced the previous value 5.0E300
◆ MINUS_INF
com.gams.api.GAMSGlobals.SpecialValues.MINUS_INF =(Double.NEGATIVE_INFINITY) |
= Double.NEGATIVE_INFINITY, minus infinity
- Since
- 24.2 As of release 24.2, replaced the previous value 4.0E300
◆ NAN
com.gams.api.GAMSGlobals.SpecialValues.NAN =( Double.NaN ) |
= Double.NaN, not available/applicable
- Since
- 24.2 As of release 24.2, replaced the previous value 2.0E300
◆ PLUS_INF
com.gams.api.GAMSGlobals.SpecialValues.PLUS_INF =(Double.POSITIVE_INFINITY) |
= Double.POSITIVE_INFINITY, plus infinity
- Since
- 24.2 As of release 24.2, replaced the previous value 3.0E300
◆ UNDEFINED
com.gams.api.GAMSGlobals.SpecialValues.UNDEFINED =(1.0E300) |
◆ UNDEFINED_VALUE
com.gams.api.GAMSGlobals.SpecialValues.UNDEFINED_VALUE =(0.0) |