SimplexSolver.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.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Overridable Function GetSolutionValue ( _
goalIndex As Integer _
) As Rational
public virtual Rational GetSolutionValue(
int goalIndex
)
public:
virtual Rational GetSolutionValue(
int goalIndex
)
abstract GetSolutionValue :
goalIndex:int -> Rational
override GetSolutionValue :
goalIndex:int -> Rational
public function GetSolutionValue(
goalIndex : int
) : Rational
Parameters
- goalIndex
Type: System.Int32
A goal identifier.
Return Value
Type: Microsoft.SolverFoundation.Common.Rational
The objective value of the goal.
Implements
ILinearSolution.GetSolutionValue(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.