ISecondOrderConicModel.AddRow Method (Object, Int32, SecondOrderConeRowType, Int32%)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Adds a new conic row.

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


Function AddRow ( _
    key As Object, _
    vidCone As Integer, _
    rowType As SecondOrderConeRowType, _
    <OutAttribute> ByRef vidRow As Integer _
) As Boolean
bool AddRow(
    Object key,
    int vidCone,
    SecondOrderConeRowType rowType,
    out int vidRow
bool AddRow(
    Object^ key, 
    int vidCone, 
    SecondOrderConeRowType rowType, 
    [OutAttribute] int% vidRow
abstract AddRow : 
        key:Object * 
        vidCone:int * 
        rowType:SecondOrderConeRowType * 
        vidRow:int byref -> bool 
function AddRow(
    key : Object, 
    vidCone : int, 
    rowType : SecondOrderConeRowType, 
    vidRow : int
) : boolean


  • vidCone
    Type: System.Int32
    A variable index for the second order cone.

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.

.NET Framework Security

See Also


ISecondOrderConicModel Interface

AddRow Overload

Microsoft.SolverFoundation.Services Namespace