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.

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

qoij : double<br />

<strong>The</strong> new value for qij o .<br />

Description:<br />

Replaces one coefficient in the quadratic term in the objective.<br />

assignment<br />

<strong>The</strong> function performs the<br />

q o ij = qoij.<br />

Only the elements in the lower triangular part are accepted. Setting q ij with j > i will cause an<br />

error.<br />

Please note that replacing all quadratic element, one at a time, is more computationally expensive<br />

than replacing all elements at once. Use Task.putqobj instead whenever possible.<br />

A.2.219<br />

Task.putskc()<br />

Task.putskc(<br />

whichsol,<br />

skc)<br />

Sets the status keys for the constraints.<br />

Arguments<br />

skc : stakey<br />

Status keys for the constraints.<br />

whichsol : soltype<br />

Selects a solution.<br />

Description:<br />

See also<br />

Sets the status keys for the constraints.<br />

• Task.putskcslice Sets the status keys for the constraints.<br />

A.2.220<br />

Task.putskcslice()<br />

Task.putskcslice(<br />

whichsol,<br />

first,<br />

last,<br />

skc)

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

Saved successfully!

Ooh no, something went wrong!