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.

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

Description:<br />

Sets the number of preallocated symmetric matrix variables in the optimization task. When this<br />

number of variables is reached <strong>MOSEK</strong> will automatically allocate more space for variables.<br />

It is not mandatory to call this function, since its only function is to give a hint of the amount<br />

of data to preallocate for efficiency reasons.<br />

Please note that maxnumbarvar must be larger than the current number of variables in the task.<br />

A.2.205<br />

Task.putmaxnumcon()<br />

Task.putmaxnumcon(maxnumcon)<br />

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

Arguments<br />

maxnumcon : int<br />

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

Description:<br />

Sets 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.<br />

It is never mandatory to call this function, since <strong>MOSEK</strong> will reallocate any internal structures<br />

whenever it is required.<br />

Please note that maxnumcon must be larger than the current number of constraints in the task.<br />

A.2.206<br />

Task.putmaxnumcone()<br />

Task.putmaxnumcone(maxnumcone)<br />

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

Arguments<br />

maxnumcone : int<br />

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

Description:<br />

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

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

It is never mandatory to call this function, since <strong>MOSEK</strong> will reallocate any internal structures<br />

whenever it is required.<br />

Please note that maxnumcon must be larger than the current number of constraints in the task.

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

Saved successfully!

Ooh no, something went wrong!