ILinearModel.GetValue Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the value that is associated with a variable index.

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


Function GetValue ( _
    vid As Integer _
) As Rational
Rational GetValue(
    int vid
Rational GetValue(
    int vid
abstract GetValue : 
        vid:int -> Rational 
function GetValue(
    vid : int
) : Rational


Return Value

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


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

.NET Framework Security

See Also


ILinearModel Interface

Microsoft.SolverFoundation.Services Namespace