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.

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

A.2.231<br />

Task.putsolutionyi()<br />

Task.putsolutionyi(<br />

i,<br />

whichsol,<br />

y)<br />

Inputs the dual variable of a solution.<br />

Arguments<br />

i : int<br />

Index of the dual variable.<br />

whichsol : soltype<br />

Selects a solution.<br />

y : double<br />

Solution value of the dual variable.<br />

Description:<br />

See also<br />

Inputs the dual variable of a solution.<br />

• Task.putsolutioni Sets the primal and dual solution information for a single constraint<br />

or variable.<br />

A.2.232<br />

Task.putstrparam()<br />

Task.putstrparam(<br />

param,<br />

parvalue)<br />

Sets a string parameter.<br />

Arguments<br />

param : sparam<br />

Which parameter.<br />

parvalue : str<br />

Parameter value.<br />

Description:<br />

Sets the value of a string parameter.

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

Saved successfully!

Ooh no, something went wrong!