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.

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

A.2.95<br />

Task.getnumparam()<br />

numparam = Task.getnumparam(partype)<br />

Obtains the number of parameters of a given type.<br />

Arguments<br />

numparam : int<br />

Identical to the number of parameters of the type partype.<br />

partype : parametertype<br />

Parameter type.<br />

Description:<br />

Obtains the number of parameters of a given type.<br />

A.2.96<br />

Task.getnumqconknz()<br />

numqcnz = Task.getnumqconknz(k)<br />

Obtains the number of non-zero quadratic terms in a constraint.<br />

Arguments<br />

k : int<br />

Index of the constraint for which the number of non-zero quadratic terms should be obtained.<br />

numqcnz : int<br />

Number of quadratic terms.<br />

Description:<br />

Obtains the number of non-zero quadratic terms in a constraint.<br />

A.2.97<br />

Task.getnumqconknz64()<br />

numqcnz = Task.getnumqconknz64(k)<br />

Obtains the number of non-zero quadratic terms in a constraint.<br />

Arguments

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

Saved successfully!

Ooh no, something went wrong!