Loading...
Searching...
No Matches
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.
 

Static Public Member Functions

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

Public Attributes

 UPPER =(1)
 = 1, Supplies upper bounds for a variable

 
 LOWER =(2)
 = 2, Supplies lower bounds for a variable

 
 FIXED =(3)
 = 3, Supplies fixed bounds for a variable

 
 PRIMAL =(4)
 = 4, Supplies level for a variable or equation

 
 DUAL =(5)
 = 5, Supplies marginal for a variable or equation
 
 UNDEFINED_ACTION =(6)
 >= 6, Undefined action

 

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