ILOG CPLEX .NET Reference Manual

Cplex.GetDual Method 

Returns the dual solution value for a constraint.

public virtual double GetDual(
   IRange rng
);

Parameters

rng
The range constraint whose dual solution value is being queried. This range constraint must be in the active model, either directly or through an instance of ILPMatrix.

Return Value

The dual solution value for the range constraint.

Remarks

UnknownObjectException The range constraint rng 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