ILOG CPLEX .NET Reference Manual

Cplex.GetReducedCosts Method (ILPMatrix)

Returns reduced costs for the variables corresponding to the columns of an LP matrix.

public virtual double[] GetReducedCosts(
   ILPMatrix matrix
);

Parameters

matrix
The LP matrix for which to query the reduced costs. This LP matrix must be in the active model.

Return Value

An array containing the reduced costs for the variables corresponding to the columns of matrix. If dj is the array returned by this method, dj[j] will be the reduced cost value for the variable corresponding to column j 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.GetReducedCosts Overload List