ILOG CPLEX .NET Reference Manual

Cplex.GetSlacks Method (ILPMatrix)

Returns slack values for the constraints corresponding to the rows of an LP matrix.

public virtual double[] GetSlacks(
   ILPMatrix matrix
);

Parameters

matrix
The LP matrix for the constraints of which to query the slack values. This LP matrix must be in active model.

Return Value

An array of slack values for the constraints the LP matrix. If s is the array returned by this method, s[i] will be the slack value for the range constraint corresponding to row i of matrix.

Remarks

UnknownObjectException matrix is not in the active model. ILOG.Concert.Exception If the method fails, an exception of type ILOG.Concert.Exception, or one of its derived classes, is thrown.

See Also

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