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
- vid
Type: System.Int32
A variable index.
Return Value
Type: Microsoft.SolverFoundation.Common.Rational
The value associated with the variable index.
Implements
Remarks
The GetValue method is typically used to fetch the result of the solver.
.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.
See Also
Reference
LinearModel Members