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.

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

A.2.214<br />

Task.putparam()<br />

Task.putparam(<br />

parname,<br />

parvalue)<br />

Modifies the value of parameter.<br />

Arguments<br />

parname :<br />

str<br />

Parameter name.<br />

parvalue :<br />

Description:<br />

str<br />

Parameter value.<br />

Checks if a parname is valid parameter name. If it is, the parameter is assigned the value specified<br />

by parvalue.<br />

A.2.215<br />

Task.putqcon()<br />

Task.putqcon(<br />

qcsubk,<br />

qcsubi,<br />

qcsubj,<br />

qcval)<br />

Replaces all quadratic terms in constraints.<br />

Arguments<br />

qcsubi : int[]<br />

Row subscripts for quadratic constraint matrix.<br />

qcsubj : int[]<br />

Column subscripts for quadratic constraint matrix.<br />

qcsubk : int[]<br />

Constraint subscripts for quadratic coefficients.<br />

qcval : double[]<br />

Quadratic constraint coefficient values.

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

Saved successfully!

Ooh no, something went wrong!