.Upper
Definition
The
.Uppersuffix contains the upper bound of a variable. When the propertyBoundsof a constraint is set, the.Uppersuffix contains the maximum value the left hand side of the constraint may attain. Note that for a>=constraint this value isINF. This value is set at the end of the generation step by AIMMS.
Datatype
The value of the
.Uppersuffix is numeric.
Dimension
The
.Uppersuffix has the same dimension and domain as that of the constraint or variable at hand.
Note
When the
.Lowersuffix (see .Lower) of a variable is equal to the.Uppersuffix of that variable this variable is treated as a frozen variable and subsequently removed from the generated mathematical program independently from the setting of the.nonvarsuffix (see Variable Declaration and Attributes).In order to access the upper bound of the definition of a variable
Xuse the notationX_definition.Upper.See also Sections Variable Declaration and Attributes and Constraint Levels, Bounds and Marginals of the Language Reference.
The
GAMSandAIMMS 2equivalent suffix name is.up.