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.

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

maxnumanz : long<br />

Number of preallocated non-zero linear matrix elements.<br />

Description:<br />

Obtains number of preallocated non-zeros in A. When this number of non-zeros is reached<br />

<strong>MOSEK</strong> will automatically allocate more space for A.<br />

A.2.78<br />

Task.getmaxnumbarvar()<br />

maxnumbarvar = Task.getmaxnumbarvar()<br />

Obtains the number of semidefinite variables.<br />

Arguments<br />

maxnumbarvar : int<br />

Obtains maximum number of semidefinite variable currently allowed.<br />

Description:<br />

Obtains the number of semidefinite variables.<br />

A.2.79<br />

Task.getmaxnumcon()<br />

maxnumcon = Task.getmaxnumcon()<br />

Obtains the number of preallocated constraints in the optimization task.<br />

Arguments<br />

maxnumcon :<br />

Description:<br />

int<br />

Number of preallocated constraints in the optimization task.<br />

Obtains the number of preallocated constraints in the optimization task. When this number of<br />

constraints is reached <strong>MOSEK</strong> will automatically allocate more space for constraints.

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

Saved successfully!

Ooh no, something went wrong!