ILOG CPLEX .NET Reference Manual

Cplex.Goal.GetLBs Method (INumVar[], Int32, Int32)

Returns the current lower bounds for a set of variables.

protected double[] GetLBs(
   INumVar[] var,
   int start,
   int num
);

Parameters

var
An array containing the variables whose current lower bounds are being queried.
start
The index of the first variable in var for which to query the current lower bound.
num
The number of consecutive variables in var for which to query the current lower bounds.

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+start] at the current node, for j = 0, ..., num-1.

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.GetLBs Overload List