Solver Foundation 3.0
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Adds a group of goals to a model.
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
public Goal AddGoals( string name, GoalKind direction, params Term goals )
- Type: System.String
The name of a goal.
- Type: Microsoft.SolverFoundation.Services.GoalKind
The direction of the goal, such as minimize or maximize.
- Type: Microsoft.SolverFoundation.Services.Term
The goals to add to the model.
Return ValueType: Microsoft.SolverFoundation.Services.Goal
A group of goals that are added to the model.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.