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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

See also<br />

• iparam.primal repair <strong>optimizer</strong> Controls which <strong>optimizer</strong> that is used to find the optimal<br />

repair.<br />

• iparam.log feas repair Controls the amount of output printed when performing feasibility<br />

repair. A value higher than one means extensive logging.<br />

• dinfitem.primal repair penalty obj <strong>The</strong> optimal objective value of the penalty function.<br />

A.2.171<br />

Task.primalsensitivity()<br />

Task.primalsensitivity(<br />

subi,<br />

marki,<br />

subj,<br />

markj,<br />

leftpricei,<br />

rightpricei,<br />

leftrangei,<br />

rightrangei,<br />

leftpricej,<br />

rightpricej,<br />

leftrangej,<br />

rightrangej)<br />

Perform sensitivity analysis on bounds.<br />

Arguments<br />

leftpricei : double[]<br />

leftpricei[i] is the left shadow price for the upper/lower bound (indicated by marki[i])<br />

of the constraint with index subi[i].<br />

leftpricej : double[]<br />

leftpricej[j] is the left shadow price for the upper/lower bound (indicated by marki[j])<br />

on variable subj[j].<br />

leftrangei : double[]<br />

leftrangei[i] is the left range for the upper/lower bound (indicated by marki[i]) of the<br />

constraint with index subi[i].<br />

leftrangej : double[]<br />

leftrangej[j] is the left range for the upper/lower bound (indicated by marki[j]) on<br />

variable subj[j].<br />

marki : mark<br />

<strong>The</strong> value of marki[i] specifies for which bound (upper or lower) on constraint subi[i]<br />

sensitivity analysis should be performed.

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

Saved successfully!

Ooh no, something went wrong!