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.

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

Arguments<br />

accmode : accmode<br />

If set to accmode.con the dual equation infeasibilities corresponding to constraints are<br />

retrieved. Otherwise for a variables.<br />

deqi : double[]<br />

Dual equation infeasibilities corresponding to constraints or variables.<br />

normalize : int<br />

If non-zero, normalize with largest absolute value of the input data used to compute the<br />

individual infeasibility.<br />

sub : int[]<br />

Indexes of constraints or variables.<br />

whichsol : soltype<br />

Selects a solution.<br />

Description:<br />

Deprecated.<br />

Optains the dual equation infeasibility. If acmode is accmode.con then<br />

If acmode is accmode.var then<br />

pbi[i] = ∣ ∣(−y + s c l − s c u) sub[i]<br />

∣ ∣ for i = 0, . . . , len − 1<br />

pbi[i] = ∣ ∣(A T y + s x l − s x u − c) sub[i]<br />

∣ ∣ for i = 0, . . . , len − 1<br />

A.2.63<br />

Task.getdimbarvarj()<br />

dimbarvarj = Task.getdimbarvarj(j)<br />

Obtains the dimension of a symmetric matrix variable.<br />

Arguments<br />

dimbarvarj : int<br />

<strong>The</strong> dimension of the j’th semidefinite variable.<br />

j : int<br />

Index of the semidefinite variable whose dimension is requested.<br />

Description:<br />

Obtains the dimension of a symmetric matrix variable.

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

Saved successfully!

Ooh no, something went wrong!