Export (0) Print
Expand All

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.

  NameDescription
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.
Top

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

Show:
© 2014 Microsoft