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

Special GAMS Values used by GAMS Java API. More...

Public Member Functions

void setValue (double aValue)
 Internal used only: Set a special value

 
double value ()
 Get the double value of this SpecialValues.
 

Static Public Member Functions

static double[] doubleValues ()
 Get all enumerated SepcialValues used by GAMS API.
 
static SpecialValues lookup (double aValue)
 Lookup all special values used by GAMS API.
 

Public Attributes

 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

 

Detailed Description

Special GAMS Values used by GAMS Java API.

See also
GAMSDatabase

Member Function Documentation

◆ 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
aValuea value to lookup
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
aValuea 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

Member Data Documentation

◆ 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)

= 1.0E300, undefined

◆ UNDEFINED_VALUE

com.gams.api.GAMSGlobals.SpecialValues.UNDEFINED_VALUE =(0.0)

Undefined value