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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A.2. CLASS TASK 253<br />

k : int<br />

Index of the constraint for which the number quadratic terms should be obtained.<br />

numqcnz : long<br />

Number of quadratic terms.<br />

Description:<br />

Obtains the number of non-zero quadratic terms in a constraint.<br />

A.2.98<br />

Task.getnumqobjnz()<br />

numqonz = Task.getnumqobjnz()<br />

Obtains the number of non-zero quadratic terms in the objective.<br />

Arguments<br />

numqonz :<br />

long<br />

Number of non-zero elements in the quadratic objective terms.<br />

Description:<br />

Obtains the number of non-zero quadratic terms in the objective.<br />

A.2.99<br />

Task.getnumsymmat()<br />

num = Task.getnumsymmat()<br />

Get the number of symmetric matrixes stored.<br />

Arguments<br />

num :<br />

long<br />

Returns the number of symmetric sparse matrixes.<br />

Description:<br />

Get the number of symmetric matrixes stored in the vector E.

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

Saved successfully!

Ooh no, something went wrong!