ILOG CPLEX .NET Reference Manual

Cplex.ControlCallback.GetSlacks Method (IRange[])

Returns the slack values of an array of constraints for the solution of the current node.

protected virtual double[] GetSlacks(
   IRange[] rng
);

Parameters

rng
An array of constraints whose current slack values are being queried.

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 the returned array is called s, s[i] contains the current slack value for constraint rng[i].

See Also

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