com.gams.api.GAMSGlobals.UpdateAction Enum Reference

What field to update. More...

Public Member Functions

int value ()
 Get the int value of this enumerated UpdateAction. More...
 

Static Public Member Functions

static UpdateAction lookup (int val)
 Lookup all update actions used by GAMS. More...
 

Public Attributes

 UPPER =(1)
 = 1, Supplies upper bounds for a variable More...
 
 LOWER =(2)
 = 2, Supplies lower bounds for a variable More...
 
 FIXED =(3)
 = 3, Supplies fixed bounds for a variable More...
 
 PRIMAL =(4)
 = 4, Supplies level for a variable or equation More...
 
 DUAL =(5)
 = 5, Supplies marginal for a variable or equation More...
 
 UNDEFINED_ACTION =(6)
 >= 6, Undefined action More...
 

Detailed Description

What field to update.

See also
GAMSModifier
GAMSModelInstance

Member Function Documentation

◆ lookup()

static UpdateAction com.gams.api.GAMSGlobals.UpdateAction.lookup ( int  val)
static

Lookup all update actions used by GAMS.

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

◆ value()

int com.gams.api.GAMSGlobals.UpdateAction.value ( )

Get the int value of this enumerated UpdateAction.

Returns
the int value of the UpdateAction

Member Data Documentation

◆ DUAL

com.gams.api.GAMSGlobals.UpdateAction.DUAL =(5)

= 5, Supplies marginal for a variable or equation

◆ FIXED

com.gams.api.GAMSGlobals.UpdateAction.FIXED =(3)

= 3, Supplies fixed bounds for a variable

◆ LOWER

com.gams.api.GAMSGlobals.UpdateAction.LOWER =(2)

= 2, Supplies lower bounds for a variable

◆ PRIMAL

com.gams.api.GAMSGlobals.UpdateAction.PRIMAL =(4)

= 4, Supplies level for a variable or equation

◆ UNDEFINED_ACTION

com.gams.api.GAMSGlobals.UpdateAction.UNDEFINED_ACTION =(6)

>= 6, Undefined action

◆ UPPER

com.gams.api.GAMSGlobals.UpdateAction.UPPER =(1)

= 1, Supplies upper bounds for a variable