Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IGoal Interface
Collapse the table of content
Expand the table of content

IGoal Interface

Solver Foundation 3.0

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

Defines a goal variable.

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

public interface IGoal

The IGoal type exposes the following members.

Public propertyEnabledGets or sets a value that specifies whether a goal is enabled.
Public propertyIndexGets the variable index of a goal row.
Public propertyKeyGets the key of the goal variable.
Public propertyMinimizeGets or sets a value that specifies whether the goal is to minimize the objective row.
Public propertyPriorityGets or sets the goal priority.

For a solver that supports multiple goals, each goal can have a priority.

© 2015 Microsoft