Share via


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

Return Value

Type: Microsoft.SolverFoundation.Common.Rational
The objective value of the goal.

Implements

ILinearSolution.GetSolutionValue(Int32)

.NET Framework Security

See Also

Reference

SimplexSolver Class

Microsoft.SolverFoundation.Solvers Namespace