ILOG CPLEX .NET Reference Manual

Cplex.IncumbentCallback.GetSlack Method 

Returns the slack value of a constraint for the proposed incumbent solution.

protected virtual double GetSlack(
   IRange rng
);

Parameters

rng
The constraint whose slack value is being queried.

Return Value

The slack value of constraint rng for the proposed incumbent solution.

See Also

Cplex.IncumbentCallback Class | ILOG.CPLEX Namespace