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.

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

A.2.129<br />

Task.getsolsta()<br />

solsta = Task.getsolsta(whichsol)<br />

Obtains the solution status.<br />

Arguments<br />

solsta : solsta<br />

Solution status.<br />

whichsol : soltype<br />

Selects a solution.<br />

Description:<br />

Obtains the solution status.<br />

A.2.130<br />

Task.getsolution()<br />

prosta,solsta = Task.getsolution(<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 />

Obtains the complete solution.<br />

Arguments<br />

prosta : prosta<br />

Problem status.<br />

skc : mosek.stakey[]<br />

Status keys for the constraints.<br />

skn : mosek.stakey[]<br />

Status keys for the conic constraints.<br />

skx : mosek.stakey[]<br />

Status keys for the variables.

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

Saved successfully!

Ooh no, something went wrong!