SecondOrderConicModel.AddRow Method (Object, Int32, SecondOrderConeRowType, 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.]
Returns a value that indicates whether a conic row is added to a model.
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
public virtual bool AddRow( Object key, int vidCone, SecondOrderConeRowType rowType, out int vidRow )
- Type: System.Object
A key for the row.
- Type: System.Int32
A variable index for the second order cone.
- Type: Microsoft.SolverFoundation.Services.SecondOrderConeRowType
A type of conic row.
- Type: System.Int32%
The reference row for the cone.
Return ValueType: 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.
ImplementsISecondOrderConicModel.AddRow(Object, Int32, SecondOrderConeRowType, 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.