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.

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

A.2.59<br />

Task.getcslice()<br />

Task.getcslice(<br />

first,<br />

last,<br />

c)<br />

Obtains a sequence of coefficients from the objective.<br />

Arguments<br />

c : double[]<br />

Linear terms of the objective as a dense vector. <strong>The</strong> lengths is the number of variables.<br />

first : int<br />

First index in the sequence.<br />

last : int<br />

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

Description:<br />

Obtains a sequence of elements in c.<br />

A.2.60<br />

Task.getdbi()<br />

Task.getdbi(<br />

whichsol,<br />

accmode,<br />

sub,<br />

dbi)<br />

Deprecated.<br />

Arguments<br />

accmode : accmode<br />

If set to accmode.con then sub contains constraint indexes, otherwise variable indexes.<br />

dbi : double[]<br />

Dual bound infeasibility. If acmode is accmode.con then<br />

else<br />

dbi[i] = max(−(s c l ) sub[i] , −(s c u) sub[i] , 0) for i = 0, . . . , len − 1<br />

dbi[i] = max(−(s x l ) sub[i] , −(s x u) sub[i] , 0) for i = 0, . . . , len − 1.

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

Saved successfully!

Ooh no, something went wrong!