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.

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

Arguments<br />

numqonz :<br />

int<br />

Number of non-zero elements in the quadratic objective terms.<br />

qosubi :<br />

int[]<br />

Row subscripts for quadratic objective coefficients.<br />

qosubj :<br />

int[]<br />

Column subscripts for quadratic objective coefficients.<br />

qoval :<br />

Description:<br />

double[]<br />

Quadratic objective coefficient values.<br />

Obtains the quadratic terms in the objective. <strong>The</strong> required quadratic terms are stored sequentially<br />

in qosubi, qosubj, and qoval.<br />

A.2.116<br />

Task.getqobj64()<br />

numqonz = Task.getqobj64(<br />

qosubi,<br />

qosubj,<br />

qoval)<br />

Obtains all the quadratic terms in the objective.<br />

Arguments<br />

numqonz :<br />

long<br />

Number of non-zero elements in the quadratic objective terms.<br />

qosubi :<br />

int[]<br />

Row subscripts for quadratic objective coefficients.<br />

qosubj :<br />

int[]<br />

Column subscripts for quadratic objective coefficients.<br />

qoval :<br />

Description:<br />

double[]<br />

Quadratic objective coefficient values.<br />

Obtains the quadratic terms in the objective. <strong>The</strong> required quadratic terms are stored sequentially<br />

in qosubi, qosubj, and qoval.

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

Saved successfully!

Ooh no, something went wrong!