25.11.2015 Views

The MOSEK Python optimizer API manual Version 7.0 (Revision 141)

Optimizer API for Python - Documentation - Mosek

Optimizer API for Python - Documentation - Mosek

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A.2. CLASS TASK 215<br />

subj : int[]<br />

Index of the non-zeros in the row obtained.<br />

valj : double[]<br />

Numerical values of the column obtained.<br />

Description:<br />

Obtains one row of A in a sparse format.<br />

A.2.20<br />

Task.getacolnumnz()<br />

nzj = Task.getacolnumnz(i)<br />

Obtains the number of non-zero elements in one column of the linear constraint matrix<br />

Arguments<br />

i : int<br />

Index of the column.<br />

nzj : int<br />

Number of non-zeros in the jth row or column of A.<br />

Description:<br />

Obtains the number of non-zero elements in one column of A.<br />

A.2.21<br />

Task.getacolslicetrip()<br />

Task.getacolslicetrip(<br />

first,<br />

last,<br />

subi,<br />

subj,<br />

val)<br />

Obtains a sequence of columns from the coefficient matrix in triplet format.<br />

Arguments<br />

first : int<br />

Index of the first column in the sequence.<br />

last : int<br />

Index of the last column in the sequence plus one.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!