InteriorPointSolver.GetDualValue Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns the dual value for a row constraint.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function GetDualValue ( _
vidRow As Integer _
) As Rational
public Rational GetDualValue(
int vidRow
)
public:
virtual Rational GetDualValue(
int vidRow
) sealed
abstract GetDualValue :
vidRow:int -> Rational
override GetDualValue :
vidRow:int -> Rational
public final function GetDualValue(
vidRow : int
) : Rational
Parameters
- vidRow
Type: System.Int32
The row index.
Return Value
Type: Microsoft.SolverFoundation.Common.Rational
Returns the dual value. If the constraint has both upper and lower bounds, two dual values are present. In this case, the dual for the active bound (if any) will be returned.
If the model has not been solved, then the result is indeterminate.
Implements
ILinearSolverSensitivityReport.GetDualValue(Int32)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.