Export (0) Print
Expand All

RowVariableGoalModel.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.]

Marks a row as a goal row.

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

public virtual IGoal AddGoal(
	int vid,
	int pri,
	bool minimize
)

Parameters

vid
Type: System.Int32
The row index.
pri
Type: System.Int32
The priority of the goal.
minimize
Type: System.Boolean
true to minimize the goal; false to maximize the goal.

Implements

IGoalModel.AddGoal(Int32, Int32, Boolean)

Show:
© 2014 Microsoft