Export (0) Print
Expand All

SecondOrderConicModel.AddRow Method (Object, SecondOrderConeType, 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 row for a second order cone to a model.

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

public bool AddRow(
	Object key,
	SecondOrderConeType coneType,
	out int vidRow
)

Parameters

key
Type: System.Object
A key for the row.
coneType
Type: Microsoft.SolverFoundation.Services.SecondOrderConeType
A type of second order cone.
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)

Each special ordered set has one reference row.

Show:
© 2014 Microsoft