ILOG CPLEX .NET Reference Manual

Cplex.Goal.GetSlacks Method (IRange[], Int32, Int32)

Returns the slack values for a set of constraints for the solution of the current node.

protected double[] GetSlacks(
   IRange[] rng,
   int start,
   int num
);

Parameters

rng
An array containing the constraints whose current slack values are being queried.
start
The index of the first constraint in rng for which to query the current slack values.
num
The number of consecutive constraints in rng for which to query the current slack values.

Return Value

An array of double values containing the slack values of the specified constraints for the solution of the continuous relaxation of the current node. If s is the returned array, s[i] contains the current slack value for constraint rng[i+start].

See Also

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