INonlinearSolution.GetSolvedGoal Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns information about a solved goal.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
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 _
)
void GetSolvedGoal(
int goalIndex,
out Object key,
out int vid,
out bool minimize,
out bool optimal
)
void GetSolvedGoal(
int goalIndex,
[OutAttribute] Object^% key,
[OutAttribute] int% vid,
[OutAttribute] bool% minimize,
[OutAttribute] bool% optimal
)
abstract GetSolvedGoal :
goalIndex:int *
key:Object byref *
vid:int byref *
minimize:bool byref *
optimal:bool byref -> unit
function GetSolvedGoal(
goalIndex : int,
key : Object,
vid : int,
minimize : boolean,
optimal : boolean
)
Parameters
- goalIndex
Type: System.Int32
The goal index, which has a range of 0 through the value of the SolvedGoalCount property.
- key
Type: System.Object%
The key of the goal row.
- vid
Type: System.Int32%
The index of the goal row.
- minimize
Type: System.Boolean%
The value that indicates whether the goal is a minimization goal. Set to true if the result is minimized; otherwise, false.
- optimal
Type: System.Boolean%
The value that indicates whether the goal is optimal. Set to true if the goal is optimal; otherwise, false.
.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.