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

A.2.80<br />

Task.getmaxnumcone()<br />

maxnumcone = Task.getmaxnumcone()<br />

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

Arguments<br />

maxnumcone : int<br />

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

Description:<br />

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

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

A.2.81<br />

Task.getmaxnumqnz()<br />

maxnumqnz = Task.getmaxnumqnz()<br />

Obtains the number of preallocated non-zeros for all quadratic terms in objective and constraints.<br />

Arguments<br />

maxnumqnz : long<br />

Number of non-zero elements preallocated in quadratic coefficient matrixes.<br />

Description:<br />

Obtains the number of preallocated non-zeros for Q (both objective and constraints). When this<br />

number of non-zeros is reached <strong>MOSEK</strong> will automatically allocate more space for Q.<br />

A.2.82<br />

Task.getmaxnumvar()<br />

maxnumvar = Task.getmaxnumvar()<br />

Obtains the maximum number variables allowed.<br />

Arguments<br />

maxnumvar : int<br />

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

Description:<br />

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

variables 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!