IsGoal Method (Int32, IGoal)
Collapse the table of content
Expand the table of content

UnconstrainedNonlinearModel.IsGoal Method (Int32, IGoal%)

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Checks if a row identified by the specified id is a goal row. If true, return the goal entry

Namespace:  Microsoft.SolverFoundation.Solvers
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public bool IsGoal(
	int vid,
	out IGoal goal


Type: System.Int32
a row id
Type: Microsoft.SolverFoundation.Services.IGoal%
the goal entry

Return Value

Type: System.Boolean
true if the row identified by the row id is a goal row. otherwise false


IGoalModel.IsGoal(Int32, IGoal)

© 2016 Microsoft