ILOG CPLEX .NET Reference Manual

Cplex.IncumbentCallback.GetSlacks Method (IRange[])

Returns the slack values for an array of constraints for the proposed incumbent solution.

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

Parameters

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

Return Value

An array of double values containing the slack values for the proposed incumbent solution for the specified constraints. If the returned array is called s, s[i] contains the slack value for constraint rng[i].

See Also

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