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.

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

y:<br />

See also<br />

Corresponds to variable y.<br />

slc:<br />

Corresponds to variable s c l .<br />

suc:<br />

Corresponds to variable s c u.<br />

slx:<br />

Corresponds to variable s x l .<br />

sux:<br />

Corresponds to variable s x u.<br />

xc:<br />

Corresponds to Ax.<br />

<strong>The</strong> meaning of the values returned by this function depend on the solution status returned in<br />

the argument solsta. <strong>The</strong> most important possible values of solsta are:<br />

solsta.optimal<br />

An optimal solution satisfying the optimality criteria for continuous problems is returned.<br />

solsta.integer optimal<br />

An optimal solution satisfying the optimality criteria for integer problems is returned.<br />

solsta.prim feas<br />

A solution satisfying the feasibility criteria.<br />

solsta.prim infeas cer<br />

A primal certificate of infeasibility is returned.<br />

solsta.dual infeas cer<br />

A dual certificate of infeasibility is returned.<br />

• Task.getsolutioni Obtains the solution for a single constraint or variable.<br />

• Task.getsolutionslice Obtains a slice of the solution.<br />

A.2.131<br />

Task.getsolutioni()<br />

sk,x,sl,su,sn = Task.getsolutioni(<br />

accmode,<br />

i,<br />

whichsol)<br />

Obtains the solution for a single constraint or variable.

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

Saved successfully!

Ooh no, something went wrong!