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.

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

A.2.158<br />

Task.gety()<br />

Task.gety(<br />

whichsol,<br />

y)<br />

Obtains the y vector for a solution.<br />

Arguments<br />

whichsol : soltype<br />

Selects a solution.<br />

y : double[]<br />

<strong>The</strong> y vector.<br />

Description:<br />

See also<br />

Obtains the y vector for a solution.<br />

• Task.getyslice Obtains a slice of the y vector for a solution.<br />

A.2.159<br />

Task.getyslice()<br />

Task.getyslice(<br />

whichsol,<br />

first,<br />

last,<br />

y)<br />

Obtains a slice of the y vector for a solution.<br />

Arguments<br />

first : int<br />

First index in the sequence.<br />

last : int<br />

Last index plus 1 in the sequence.<br />

whichsol : soltype<br />

Selects a solution.<br />

y : double[]<br />

Vector of dual variables corresponding to the constraints.

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

Saved successfully!

Ooh no, something went wrong!