Loading...
Searching...
No Matches
com.gams.api.GAMSOptions.EHoldFixed Enum Reference

Treat fixed variables as constants. More...

Public Member Functions

int value ()
 Get the int value of this enumerated HoldFixed.
 

Static Public Member Functions

static EHoldFixed lookup (int val)
 Lookup all holdFixeds.
 

Public Attributes

 FixedVarsNotTreatedAsConstants =(0)
 Fixed variables are not treated as constants.
 
 FixedVarsTreatedAsConstants =(1)
 Fixed variables are treated as constants.
 
 UndefinedHoldFixed =(2)
 Undefined HoldFixed.
 

Detailed Description

Treat fixed variables as constants.

Member Function Documentation

◆ lookup()

static EHoldFixed com.gams.api.GAMSOptions.EHoldFixed.lookup ( int  val)
static

Lookup all holdFixeds.

Parameters
valan int value to lookup
Returns
the enumerated HoldFixed that has the specified value, or UndefinedHoldFixed if the specified value is not found.

◆ value()

int com.gams.api.GAMSOptions.EHoldFixed.value ( )

Get the int value of this enumerated HoldFixed.

Returns
the holdFixed value

Member Data Documentation

◆ FixedVarsNotTreatedAsConstants

com.gams.api.GAMSOptions.EHoldFixed.FixedVarsNotTreatedAsConstants =(0)

Fixed variables are not treated as constants.

◆ FixedVarsTreatedAsConstants

com.gams.api.GAMSOptions.EHoldFixed.FixedVarsTreatedAsConstants =(1)

Fixed variables are treated as constants.

◆ UndefinedHoldFixed

com.gams.api.GAMSOptions.EHoldFixed.UndefinedHoldFixed =(2)

Undefined HoldFixed.