.Upper
Definition
The
.Upper
suffix contains the upper bound of a variable. When the propertyBounds
of a constraint is set, the.Upper
suffix 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
.Upper
suffix is numeric.
Dimension
The
.Upper
suffix has the same dimension and domain as that of the constraint or variable at hand.
Note
When the
.Lower
suffix (see .Lower) of a variable is equal to the.Upper
suffix 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.nonvar
suffix (see Variable Declaration and Attributes).In order to access the upper bound of the definition of a variable
X
use the notationX_definition.Upper
.See also Sections Variable Declaration and Attributes and Constraint Levels, Bounds and Marginals of the Language Reference.
The
GAMS
andAIMMS 2
equivalent suffix name is.up
.