UnconstrainedNonlinearModel.GetGoalFromIndex Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns a goal entry if the row id is a goal
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function GetGoalFromIndex ( _
vid As Integer _
) As IGoal
public IGoal GetGoalFromIndex(
int vid
)
public:
virtual IGoal^ GetGoalFromIndex(
int vid
) sealed
abstract GetGoalFromIndex :
vid:int -> IGoal
override GetGoalFromIndex :
vid:int -> IGoal
public final function GetGoalFromIndex(
vid : int
) : IGoal
Parameters
- vid
Type: System.Int32
a variable index
Return Value
Type: Microsoft.SolverFoundation.Services.IGoal
A goal entry. Null if not a goal row
Implements
IGoalModel.GetGoalFromIndex(Int32)
.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.