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.

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

last : int<br />

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

whichsol : soltype<br />

Selects a solution.<br />

xx : double[]<br />

Primal variable solution.<br />

Description:<br />

See also<br />

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

• Task.putxx Sets the xx vector for a solution.<br />

A.2.249<br />

Task.puty()<br />

Task.puty(<br />

whichsol,<br />

y)<br />

Sets 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 />

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

• Task.putyslice Sets a slice of the y vector for a solution.<br />

A.2.250<br />

Task.putyslice()<br />

Task.putyslice(<br />

whichsol,<br />

first,<br />

last,<br />

y)

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

Saved successfully!

Ooh no, something went wrong!