LinearModel.AddRow Method (Object, SpecialOrderedSetType, Int32%)
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 reference row for a special ordered set to a linear model.
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
public virtual bool AddRow( Object key, SpecialOrderedSetType sos, out int vidRow )
- Type: System.Object
A key for the row.
- Type: Microsoft.SolverFoundation.Services.SpecialOrderedSetType
A special ordered set.
- Type: System.Int32%
A row identifier.
Return ValueType: System.Boolean
true if the row is added to the model successfully; otherwise, false.
ImplementsILinearModel.AddRow(Object, SpecialOrderedSetType, Int32)
- 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.