Adds a new row to the LP matrix.
0
through getNcols()-1
. The row index of the new row.
The row being added is represented in sparse matrix notation. That is, the nonzero coefficients of the new row are given as an array ind
of column indices, and an array of corresponding values val
. These arrays must match in length.
A new range constraint is implicitly constructed for the added row. Its lower and upper bound values are provided as parameters lb
and ub
. The expression of the implicitly added range constraint is the scalar product of the values specified by parameter val
and the variables corresponding to the columns specified by parameter ind
.
ILPMatrix Interface | ILOG.Concert Namespace | ILPMatrix.AddRow Overload List