Initializing help system before first use

problem.getqrowqmatrix

problem.getqrowqmatrix


Purpose
Returns the nonzeros in a quadratic constraint coefficients matrix for the columns in a given range. To achieve maximum efficiency, getqrowqmatrix returns the lower triangular part of this matrix only.
Synopsis
problem.getqrowqmatrix(irow, mstart, mclind, dqe, size, first, last)
Arguments
irow 
Row (i.e. xpress.constraint object, index, or name) for which the quadratic coefficients are to be returned.
mstart 
List to be filled with indices indicating the starting offsets in the mclind and dobjval lists for each requested column. It must be length of 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 size is 0.
mclind 
Array of length size which will be filled with the columns of the nonzero elements in the lower triangular part of Q. May be None if size is 0.
dqe 
Array of length size which will be filled with the nonzero element values. May be None if size is 0.
size 
Maximum number of elements to be returned in mclind and dqe.
first 
First column in the range.
last 
Last column in the range.
Related topics