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.

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

A.2.229<br />

Task.putsolution()<br />

Task.putsolution(<br />

whichsol,<br />

skc,<br />

skx,<br />

skn,<br />

xc,<br />

xx,<br />

y,<br />

slc,<br />

suc,<br />

slx,<br />

sux,<br />

snx)<br />

Inserts a solution.<br />

Arguments<br />

skc : stakey<br />

Status keys for the constraints.<br />

skn : stakey<br />

Status keys for the conic constraints.<br />

skx : stakey<br />

Status keys for the variables.<br />

slc : double[]<br />

Dual variables corresponding to the lower bounds on the constraints.<br />

slx : double[]<br />

Dual variables corresponding to the lower bounds on the variables.<br />

snx : double[]<br />

Dual variables corresponding to the conic constraints on the variables.<br />

suc : double[]<br />

Dual variables corresponding to the upper bounds on the constraints.<br />

sux : double[]<br />

Dual variables corresponding to the upper bounds on the variables.<br />

whichsol : soltype<br />

Selects a solution.<br />

xc : double[]<br />

Primal constraint solution.<br />

xx : double[]<br />

Primal variable solution.

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

Saved successfully!

Ooh no, something went wrong!