Export (0) Print
Expand All

HybridLocalSearchModel.IGoalModel.AddGoal Method

Solver Foundation 3.0

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

Adds a goal to the collection.

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

IGoal IGoalModel.AddGoal(
	int vid,
	int pri,
	bool fMinimize
)

Parameters

vid
Type: System.Int32
A row index.
pri
Type: System.Int32
The priority of the goal. A lower value indicates a higher priority.
fMinimize
Type: System.Boolean
true to minimize the goal; otherwise, false.

Implements

IGoalModel.AddGoal(Int32, Int32, Boolean)

Show:
© 2014 Microsoft