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.

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

Input the linear part of an optimization task in one function call.<br />

Arguments<br />

aptrb : long[]<br />

Row or column end pointers.<br />

aptre : long[]<br />

Row or column start pointers.<br />

asub : int[]<br />

Coefficient subscripts.<br />

aval : double[]<br />

Coefficient coefficient values.<br />

bkc : boundkey<br />

Bound keys for the constraints.<br />

bkx : boundkey<br />

Bound keys for the variables.<br />

blc : double[]<br />

Lower bounds for the constraints.<br />

blx : double[]<br />

Lower bounds for the variables.<br />

buc : double[]<br />

Upper bounds for the constraints.<br />

bux : double[]<br />

Upper bounds for the variables.<br />

c : double[]<br />

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

cfix : double<br />

Fixed term in the objective.<br />

maxnumcon : int<br />

Number of preallocated constraints in the optimization task.<br />

maxnumvar : int<br />

Number of preallocated variables in the optimization task.<br />

Description:<br />

Input the linear part of an optimization problem.<br />

<strong>The</strong> non-zeros of A are inputted column-wise in the format described in Section 5.13.3.2.<br />

For an explained code example see Section 5.2 and Section 5.13.3.

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

Saved successfully!

Ooh no, something went wrong!