ILOG CPLEX .NET Reference Manual

ILPMatrix.AddRows Method (IRange[])

Adds range constraints as new rows to an LP matrix.

int AddRows(
   IRange[] rng
);

Parameters

rng
The array of range constraints to be added as new rows.

Return Value

The row index of the first added row.

Remarks

The ranges to be added must all have linear expressions. The added rows of the LP matrix will contain the linear terms of the range expression as nonzeros. If the expression of a ranged constraint being added contains variables that do not correspond to columns of the invoking ILPMatrix, new columns are automatically added as needed.

See Also

ILPMatrix Interface | ILOG.Concert Namespace | ILPMatrix.AddRows Overload List