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 245<br />

A.2.75<br />

Task.getlenbarvarj()<br />

lenbarvarj = Task.getlenbarvarj(j)<br />

Obtains the length if the j’th semidefinite variables.<br />

Arguments<br />

j : int<br />

Index of the semidefinite variable whose length if requested.<br />

lenbarvarj : long<br />

Number of scalar elements in the lower triangular part of the semidefinite variable.<br />

Description:<br />

Obtains the length of the jth semidefinite variable i.e. the number of elements in the triangular<br />

part.<br />

A.2.76<br />

Task.getlintinf()<br />

ivalue = Task.getlintinf(whichliinf)<br />

Obtains an integer information item.<br />

Arguments<br />

ivalue : long<br />

<strong>The</strong> value of the required integer information item.<br />

whichliinf : liinfitem<br />

Specifies an information item.<br />

Description:<br />

Obtains an integer information item from the task information database.<br />

A.2.77<br />

Task.getmaxnumanz()<br />

maxnumanz = Task.getmaxnumanz()<br />

Obtains number of preallocated non-zeros in the linear constraint matrix.<br />

Arguments

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

Saved successfully!

Ooh no, something went wrong!