NelderMeadSolver.GetSolvedGoal Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets information about a solved goal.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Sub GetSolvedGoal ( _
goalIndex As Integer, _
<OutAttribute> ByRef key As Object, _
<OutAttribute> ByRef vid As Integer, _
<OutAttribute> ByRef minimize As Boolean, _
<OutAttribute> ByRef optimal As Boolean _
)
public void GetSolvedGoal(
int goalIndex,
out Object key,
out int vid,
out bool minimize,
out bool optimal
)
public:
virtual void GetSolvedGoal(
int goalIndex,
[OutAttribute] Object^% key,
[OutAttribute] int% vid,
[OutAttribute] bool% minimize,
[OutAttribute] bool% optimal
) sealed
abstract GetSolvedGoal :
goalIndex:int *
key:Object byref *
vid:int byref *
minimize:bool byref *
optimal:bool byref -> unit
override GetSolvedGoal :
goalIndex:int *
key:Object byref *
vid:int byref *
minimize:bool byref *
optimal:bool byref -> unit
public final function GetSolvedGoal(
goalIndex : int,
key : Object,
vid : int,
minimize : boolean,
optimal : boolean
)
Parameters
- goalIndex
Type: System.Int32
Values should be either 0, <= goal index or < SolvedGoalCount
- key
Type: System.Object%
The goal row key
- vid
Type: System.Int32%
The goal row vid
- minimize
Type: System.Boolean%
Whether the goal is to minimize
- optimal
Type: System.Boolean%
Whether the goal is optimal
Implements
INonlinearSolution.GetSolvedGoal(Int32, Object%, Int32%, Boolean%, Boolean%)
.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.