ILOG CPLEX .NET Reference Manual

ILPMatrix.AddCols Method (INumVar[])

Adds new empty columns to the LP matrix.

int AddCols(
   INumVar[] var
);

Parameters

var
An array of variables to be linked to the new columns.

Return Value

The column index of the first added column.

Remarks

Empty columns have no nonzeros. The added columns will be linked to the variables provided as parameter var. These variables must not currently be linked to a column of the invoking LP matrix, nor may a variable be listed more than once in var.

See Also

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