Returns rows in a sparse matrix representation.
begin+i
will be returned as lb[i]
. This array must be allocated at least length num
. begin+i
will be returned as ub[i]
. This array must be allocated at least length num
. begin+i
will be copied into an array returned as ind[i]
. This array must be initialized to at least size num
. begin+i
will be copied into an array returned as val[i]
. This array must be initialized to at least size num
.For every row, an array of column indices and an array of values is returned, corresponding to the nonzeros in the specified rows, as well as the bounds of the constraints corresponding to the queried rows. This implies that the expression of the range constraint of a queried row can be expressed as the scalar product of the values returned for the queried row and the variables corresponding to the column indices returned for the queried row.