HybridLocalSearchModel.AddGoal Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Specifies that a numerical term is a goal to minimize. Priorities are determined by the order in which the goals are added (first goals have higher priorities)
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Sub AddGoal ( _
vid As Integer _
)
public void AddGoal(
int vid
)
public:
void AddGoal(
int vid
)
member AddGoal :
vid:int -> unit
public function AddGoal(
vid : int
)
Parameters
- vid
Type: System.Int32
.NET Framework Security
- 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.