Loading...
Searching...
No Matches
com.gams.api.GAMSModelInstance.SymbolUpdateType Enum Reference

GAMS Symbol update type. More...

Public Member Functions

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

Static Public Member Functions

static SymbolUpdateType lookup (int value)
 Lookup all symbol update types used by GAMS.
 

Public Attributes

 ZERO
 If record does not exist use 0 (Zero)
 
 BASECASE
 If record does not exist use values from instantiation.
 
 ACCUMULATE
 If record does not exist use value from previous solve.
 
 INHERIT
 Inherit setting from solve statement.
 
 UNDEFINED_TYPE
 Undefined type (for lookup purpose only)
 

Detailed Description

GAMS Symbol update type.

Member Function Documentation

◆ lookup()

static SymbolUpdateType com.gams.api.GAMSModelInstance.SymbolUpdateType.lookup ( int  value)
static

Lookup all symbol update types used by GAMS.

Parameters
valuean int value to lookup
Returns
the enumerated SymbolUpdateType that has the specified value, or UNDEFINED_TYPE if the specified value is not found.

◆ value()

int com.gams.api.GAMSModelInstance.SymbolUpdateType.value ( )

Get the int value of this enumerated SymbolUpdate.

Returns
the int value of the SymbolUpdateType

Member Data Documentation

◆ ACCUMULATE

com.gams.api.GAMSModelInstance.SymbolUpdateType.ACCUMULATE

If record does not exist use value from previous solve.

◆ BASECASE

com.gams.api.GAMSModelInstance.SymbolUpdateType.BASECASE

If record does not exist use values from instantiation.

◆ INHERIT

com.gams.api.GAMSModelInstance.SymbolUpdateType.INHERIT

Inherit setting from solve statement.

◆ UNDEFINED_TYPE

com.gams.api.GAMSModelInstance.SymbolUpdateType.UNDEFINED_TYPE

Undefined type (for lookup purpose only)

◆ ZERO

com.gams.api.GAMSModelInstance.SymbolUpdateType.ZERO

If record does not exist use 0 (Zero)