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.

A.2. CLASS TASK 337<br />

y : double[]<br />

Vector of dual variables corresponding to the constraints.<br />

Description:<br />

Inserts a solution into the task.<br />

A.2.230<br />

Task.putsolutioni()<br />

Task.putsolutioni(<br />

accmode,<br />

i,<br />

whichsol,<br />

sk,<br />

x,<br />

sl,<br />

su,<br />

sn)<br />

Sets the primal and dual solution information for a single constraint or variable.<br />

Arguments<br />

accmode : accmode<br />

If set to accmode.con the solution information for a constraint is modified. Otherwise for<br />

a variable.<br />

i : int<br />

Index of the constraint or variable.<br />

sk : stakey<br />

Status key of the constraint or variable.<br />

sl : double<br />

Solution value of the dual variable associated with the lower bound.<br />

sn : double<br />

Solution value of the dual variable associated with the cone constraint.<br />

su : double<br />

Solution value of the dual variable associated with the upper bound.<br />

whichsol : soltype<br />

Selects a solution.<br />

x : double<br />

Solution value of the primal constraint or variable.<br />

Description:<br />

Sets the primal and dual solution information for a single constraint or variable.

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

Saved successfully!

Ooh no, something went wrong!