HybridLocalSearchSolver.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.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Private Sub GetSolvedGoal ( _
igoal As Integer, _
<OutAttribute> ByRef key As Object, _
<OutAttribute> ByRef vid As Integer, _
<OutAttribute> ByRef fMinimize As Boolean, _
<OutAttribute> ByRef fOptimal As Boolean _
) Implements INonlinearSolution.GetSolvedGoal
void INonlinearSolution.GetSolvedGoal(
int igoal,
out Object key,
out int vid,
out bool fMinimize,
out bool fOptimal
)
private:
virtual void GetSolvedGoal(
int igoal,
[OutAttribute] Object^% key,
[OutAttribute] int% vid,
[OutAttribute] bool% fMinimize,
[OutAttribute] bool% fOptimal
) sealed = INonlinearSolution::GetSolvedGoal
private abstract GetSolvedGoal :
igoal:int *
key:Object byref *
vid:int byref *
fMinimize:bool byref *
fOptimal:bool byref -> unit
private override GetSolvedGoal :
igoal:int *
key:Object byref *
vid:int byref *
fMinimize:bool byref *
fOptimal:bool byref -> unit
JScript does not support explicit interface implementations.
Parameters
- igoal
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.
- fMinimize
Type: System.Boolean%
The value that indicates whether the goal is a minimization goal. Set to true if the result is minimized; otherwise, false.
- fOptimal
Type: System.Boolean%
The value that indicates whether the goal is optimal. Set to true if the goal is optimal; otherwise, false.
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.