ILinearSolution.GetSolutionValue Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns the objective value of a goal.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Function GetSolutionValue ( _
goalIndex As Integer _
) As Rational
Rational GetSolutionValue(
int goalIndex
)
Rational GetSolutionValue(
int goalIndex
)
abstract GetSolutionValue :
goalIndex:int -> Rational
function GetSolutionValue(
goalIndex : int
) : Rational
Parameters
- goalIndex
Type: System.Int32
The identifier of the goal.
Return Value
Type: Microsoft.SolverFoundation.Common.Rational
The objective value of the goal.
.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.