HybridLocalSearchModel.IRowVariableModel.AddRow Method

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 row to a model.

Namespace:  Microsoft.SolverFoundation.Solvers
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

bool IRowVariableModel.AddRow(
	Object key,
	out int vid


Type: System.Object
The key for the row.
Type: System.Int32%
The row index.

Return Value

Type: System.Boolean
true if the row is added to the model successfully; false if the model already includes a row that is referenced by key or if the model already includes a user variable that is referenced by key.


IRowVariableModel.AddRow(Object, Int32)