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.

250 APPENDIX A. <strong>API</strong> REFERENCE<br />

A.2.89<br />

Task.getnumbarcnz()<br />

nz = Task.getnumbarcnz()<br />

Obtains the number of nonzero elements in barc.<br />

Arguments<br />

nz : long<br />

<strong>The</strong> number of nonzeros in ¯c i.e. the number of elements ¯c j that is diffrent from 0.<br />

Description:<br />

Obtains the number of nonzero elements in ¯c.<br />

A.2.90<br />

Task.getnumbarvar()<br />

numbarvar = Task.getnumbarvar()<br />

Obtains the number of semidefinite variables.<br />

Arguments<br />

numbarvar : int<br />

Number of semidefinite variable in the problem.<br />

Description:<br />

Obtains the number of semidefinite variables.<br />

A.2.91<br />

Task.getnumcon()<br />

numcon = Task.getnumcon()<br />

Obtains the number of constraints.<br />

Arguments<br />

numcon : int<br />

Number of constraints.<br />

Description:<br />

Obtains the number of constraints.

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

Saved successfully!

Ooh no, something went wrong!