LinearModel.GetValue Method

Gets the value associated with the variable index.

Namespace:  Microsoft.SolverFoundation.Services
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

Syntax

'Declaration
Public Overridable Function GetValue ( _
    vid As Integer _
) As Rational
public virtual Rational GetValue(
    int vid
)
public:
virtual Rational GetValue(
    int vid
)
abstract GetValue : 
        vid:int -> Rational 
override GetValue : 
        vid:int -> Rational 
public function GetValue(
    vid : int
) : Rational

Parameters

Return Value

Type: Microsoft.SolverFoundation.Common.Rational
The value associated with the variable index.

Implements

ILinearModel.GetValue(Int32)

Remarks

The GetValue method is typically used to fetch the result of the solver.

.NET Framework Security

See Also

Reference

LinearModel Class

LinearModel Members

Microsoft.SolverFoundation.Services Namespace