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. More...
 
double value ()
 Get the double value of this enumerated SpecialValues. More...
 

Static Public Member Functions

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

Public Attributes

 UNDEFINED =(1.0E300)
 = 1.0E300, undefined More...
 
 NAN =( Double.NaN )
 = Double.NaN, not available/applicable More...
 
 PLUS_INF =(Double.POSITIVE_INFINITY)
 = Double.POSITIVE_INFINITY, plus infinity More...
 
 MINUS_INF =(Double.NEGATIVE_INFINITY)
 = Double.NEGATIVE_INFINITY, minus infinity More...
 
 EPS =(4.94066E-324)
 = 4.94066E-324, epsilon More...
 
 ACRONYM =(10.0E300)
 = 10.0E300, potential/real acronym More...
 
 UNDEFINED_VALUE =(0.0)
 Undefined value. More...
 

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 enumerated 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.