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.

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

A.2.188<br />

Task.putbound()<br />

Task.putbound(<br />

accmode,<br />

i,<br />

bk,<br />

bl,<br />

bu)<br />

Changes the bound for either one constraint or one variable.<br />

Arguments<br />

accmode : accmode<br />

Defines whether the bound for a constraint or a variable is changed.<br />

bk : boundkey<br />

New bound key.<br />

bl : double<br />

New lower bound.<br />

bu : double<br />

New upper bound.<br />

i : int<br />

Index of the constraint or variable.<br />

Description:<br />

See also<br />

Changes the bounds for either one constraint or one variable.<br />

If the a bound value specified is numerically larger than dparam.data tol bound inf it is considered<br />

infinite and the bound key is changed accordingly. If a bound value is numerically larger<br />

than dparam.data tol bound wrn, a warning will be displayed, but the bound is inputted as<br />

specified.<br />

• Task.putboundlist Changes the bounds of constraints or variables.<br />

A.2.189<br />

Task.putboundlist()<br />

Task.putboundlist(<br />

accmode,<br />

sub,<br />

bk,<br />

bl,<br />

bu)

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

Saved successfully!

Ooh no, something went wrong!