problem.getrows
problem.getrows |
Purpose
Returns the nonzeros in the constraint matrix for the rows in a given range.
Synopsis
problem.getrows (mstart, mclind, dmatval, size, first, last)
Arguments
mstart
|
Array which will be filled with the indices indicating the starting offsets in the
mclind and
dmatval arrays for each requested row. It must be of length at least
last-first+2. Column
i starts at position
mstart[i] in the
mrwind and
dmatval arrays, and has
mstart[i+1]-mstart[i] elements in it. May be
None if not required.
|
mclind
|
Arrays which will be filled with at most
size column indices of the nonzero elements for each row. May be
None if not required.
|
dmatval
|
Array which will be filled with at most
size nonzero element values. May be
None if not required.
|
size
|
Maximum number of elements to be retrieved.
|
first
|
First row in the range.
|
last
|
Last row in the range.
|
Related topics