Adds new columns to the LP matrix.
getNrows()-1
. The column index of the first added column.
The columns being added are represented in sparse matrix notation. That is, the nonzero coefficients of the j
-th new column to be added are provided by array ind[j]
containing the row indices, and by array val[j]
containing corresponding values. Each pair of arrays ind[j]
and val[j]
must match in length.
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
.
ILPMatrix Interface | ILOG.Concert Namespace | ILPMatrix.AddCols Overload List