IGoal Interface
[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)
Syntax
'Declaration
Public Interface IGoal
public interface IGoal
public interface class IGoal
type IGoal = interface end
public interface IGoal
The IGoal type exposes the following members.
Properties
Name | Description | |
---|---|---|
Enabled | Gets or sets a value that specifies whether a goal is enabled. | |
Index | Gets the variable index of a goal row. | |
Key | Gets the key of the goal variable. | |
Minimize | Gets or sets a value that specifies whether the goal is to minimize the objective row. | |
Priority | Gets or sets the goal priority. |
Top
Remarks
For a solver that supports multiple goals, each goal can have a priority.