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

  • 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

See Also

Reference

INonlinearSolution Interface

Microsoft.SolverFoundation.Services Namespace