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.

588 APPENDIX F. <strong>MOSEK</strong> FILE FORMATS<br />

• x ∈ R n is the vector of decision variables.<br />

• A ∈ R m×n is the constraint matrix.<br />

• l c ∈ R m is the lower limit on the activity for the constraints.<br />

• u c ∈ R m is the upper limit on the activity for the constraints.<br />

• l x ∈ R n is the lower limit on the activity for the variables.<br />

• u x ∈ R n is the upper limit on the activity for the variables.<br />

• q : R n → R is a vector of quadratic functions. Hence,<br />

where it is assumed that<br />

q i (x) = 1/2x T Q i x<br />

Q i = (Q i ) T .<br />

Please note the explicit 1/2 in the quadratic term and that Q i is required to be symmetric.<br />

• C is a convex cone.<br />

• J ⊆ {1, 2, . . . , n} is an index set of the integer-constrained variables.<br />

An MPS file with one row and one column can be illustrated like this:<br />

* 1 2 3 4 5 6<br />

*23456789012345678901234567890123456789012345678901234567890<br />

NAME<br />

[name]<br />

OBJSENSE<br />

[objsense]<br />

OBJNAME<br />

[objname]<br />

ROWS<br />

? [cname1]<br />

COLUMNS<br />

[vname1] [cname1] [value1] [vname3] [value2]<br />

RHS<br />

[name] [cname1] [value1] [cname2] [value2]<br />

RANGES<br />

[name] [cname1] [value1] [cname2] [value2]<br />

QSECTION [cname1]<br />

[vname1] [vname2] [value1] [vname3] [value2]<br />

BOUNDS<br />

?? [name] [vname1] [value1]<br />

CSECTION [kname1] [value1] [ktype]<br />

[vname1]<br />

ENDATA<br />

Here the names in capitals are keywords of the MPS format and names in brackets are custom defined<br />

names or values. A couple of notes on the structure:

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

Saved successfully!

Ooh no, something went wrong!