Share via


RowVariableModel.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 the specified 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 of the variable.

Implements

IRowVariableModel.GetValue(Int32)

Remarks

This method is typically used to return solver results.

.NET Framework Security

See Also

Reference

RowVariableModel Class

Microsoft.SolverFoundation.Services Namespace