Adds a set of new rows to LP matrix.
0
through getNcols()-1
. The row index of the first new row.
The rows being added are represented in sparse matrix notation. That is, the nonzero coefficients of the new rows are given as arrays of column indices and corresponding arrays of values. Each pair of corresponding arrays must match in length.
For each of the added rows, a new range constraint is implicitly constructed. The lower and upper bound value of the i
-th newly created range constraint are provided in the arguments lb[i]
and ub[i]
. Its expression is the scalar product of the values specified in the array val[i]
and the variables corresponding to the columns specified in the array ind[i]
.
ILPMatrix Interface | ILOG.Concert Namespace | ILPMatrix.AddRows Overload List