ILOG CPLEX .NET Reference Manual

Cplex.ControlCallback.GetLBs Method (INumVar[])

Returns the current lower bounds for an array of variables.

protected virtual double[] GetLBs(
   INumVar[] var
);

Parameters

var
An array of variables whose current lower bounds are being queried.

Return Value

An array of double values containing the current lower bounds for the specified variables. If the returned array is called lb, lb[j] contains the lower 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. The corresponding solution values from getValues may violate these bounds at a node where a new incumbent has been found because the bounds are tightened when an incumbent is found.

See Also

Cplex.ControlCallback Class | ILOG.CPLEX Namespace | Cplex.ControlCallback.GetLBs Overload List