SecondOrderConicModel.AddRow Method (Object, SecondOrderConeType, Int32%)

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

Adds a row for a second order cone to a model.

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

Syntax

'Declaration
Public Function AddRow ( _
    key As Object, _
    coneType As SecondOrderConeType, _
    <OutAttribute> ByRef vidRow As Integer _
) As Boolean
public bool AddRow(
    Object key,
    SecondOrderConeType coneType,
    out int vidRow
)
public:
virtual bool AddRow(
    Object^ key, 
    SecondOrderConeType coneType, 
    [OutAttribute] int% vidRow
) sealed
abstract AddRow : 
        key:Object * 
        coneType:SecondOrderConeType * 
        vidRow:int byref -> bool 
override AddRow : 
        key:Object * 
        coneType:SecondOrderConeType * 
        vidRow:int byref -> bool 
public final function AddRow(
    key : Object, 
    coneType : SecondOrderConeType, 
    vidRow : int
) : boolean

Parameters

  • vidRow
    Type: System.Int32%
    The reference row for the 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.

Implements

ISecondOrderConicModel.AddRow(Object, SecondOrderConeType, Int32%)

Remarks

Each special ordered set has one reference row.

.NET Framework Security

See Also

Reference

SecondOrderConicModel Class

AddRow Overload

Microsoft.SolverFoundation.Services Namespace