ILOG CPLEX .NET Reference Manual

Cplex.GetDuals Method (ILPMatrix)

Returns the dual solution vector for the constraints corresponding to the rows of an LP matrix.

public virtual double[] GetDuals(
   ILPMatrix matrix
);

Parameters

matrix
The LP matrix for the rows of which to query the dual solution values. This LP matrix must be in the active model.

Return Value

An array containing the dual solution values for the constraints corresponding to the rows of an LP matrix. If pi is the array returned by this method, pi[i] will be the dual solution value for the constraint corresponding to row i of matrix.

Remarks

UnknownObjectException The LP matrix 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.GetDuals Overload List