SimplexSolver.GetSolvedGoal Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns the information that is associated with a solved goal.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Overridable 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 _
)
public virtual void GetSolvedGoal(
int igoal,
out Object key,
out int vid,
out bool fMinimize,
out bool fOptimal
)
public:
virtual void GetSolvedGoal(
int igoal,
[OutAttribute] Object^% key,
[OutAttribute] int% vid,
[OutAttribute] bool% fMinimize,
[OutAttribute] bool% fOptimal
)
abstract GetSolvedGoal :
igoal:int *
key:Object byref *
vid:int byref *
fMinimize:bool byref *
fOptimal:bool byref -> unit
override GetSolvedGoal :
igoal:int *
key:Object byref *
vid:int byref *
fMinimize:bool byref *
fOptimal:bool byref -> unit
public function GetSolvedGoal(
igoal : int,
key : Object,
vid : int,
fMinimize : boolean,
fOptimal : boolean
)
Parameters
- igoal
Type: System.Int32
The goal index, which ranges from 0 through the value of the SolvedGoalCount property.
- key
Type: System.Object%
The key of the goal row.
- vid
Type: System.Int32%
The identifier for the goal row.
- fMinimize
Type: System.Boolean%
true if the goal is minimized; otherwise, false.
- fOptimal
Type: System.Boolean%
true if the goal is optimal; otherwise, false.
Implements
ILinearSolution.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.