Share via


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
Public property Enabled Gets or sets a value that specifies whether a goal is enabled.
Public property Index Gets the variable index of a goal row.
Public property Key Gets the key of the goal variable.
Public property Minimize Gets or sets a value that specifies whether the goal is to minimize the objective row.
Public property Priority Gets or sets the goal priority.

Top

Remarks

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

See Also

Reference

Microsoft.SolverFoundation.Services Namespace