25.11.2015 Views

The MOSEK command line tool Version 7.0 (Revision 141)

The MOSEK command line tool. Version 7.0 ... - Documentation

The MOSEK command line tool. Version 7.0 ... - Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

278 CHAPTER 13. THE MPS FILE FORMAT<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:<br />

Fields:<br />

All items surrounded by brackets appear in fields. <strong>The</strong> fields named ”valueN” are numerical<br />

values. Hence, they must have the format<br />

[+|-]XXXXXXX.XXXXXX[[e|E][+|-]XXX]<br />

where<br />

Sections:<br />

X = [0|1|2|3|4|5|6|7|8|9].<br />

<strong>The</strong> MPS file consists of several sections where the names in capitals indicate the beginning of a<br />

new section. For example, COLUMNS denotes the beginning of the columns section.<br />

Comments:<br />

Keys:<br />

Lines starting with an ”*” are comment <strong>line</strong>s and are ignored by <strong>MOSEK</strong>.<br />

<strong>The</strong> question marks represent keys to be specified later.

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

Saved successfully!

Ooh no, something went wrong!