ILOG CPLEX .NET Reference Manual

Cplex.Goal.GetUBs Method (INumVar[])

Returns the current upper bounds for an array of variables.

protected double[] GetUBs(
   INumVar[] var
);

Parameters

var
An array of variables whose current upper bounds is being queried.

Return Value

An array of double values containing the current upper bounds for the specified variables. If the returned array is called ub, ub[j] contains the upper bound of variable var[j] at the current node.

Remarks

The bounds may be different from the bounds the variables have in the active model, since branching or bound strengthening may have been applied to them.

See Also

Cplex.Goal Class | ILOG.CPLEX Namespace | Cplex.Goal.GetUBs Overload List