UnconstrainedNonlinearModel.GetValue Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the value associated with the variable index. This is typically used when retrieving results.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function GetValue ( _
vid As Integer _
) As Rational
public Rational GetValue(
int vid
)
public:
virtual Rational GetValue(
int vid
) sealed
abstract GetValue :
vid:int -> Rational
override GetValue :
vid:int -> Rational
public final function GetValue(
vid : int
) : Rational
Parameters
- vid
Type: System.Int32
A variable index.
Return Value
Type: Microsoft.SolverFoundation.Common.Rational
The variable value.
Implements
IRowVariableModel.GetValue(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.