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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

13.2. INTEGER VARIABLES 287<br />

13.2 Integer variables<br />

Using special bound keys in the BOUNDS section it is possible to specify that some or all of the variables<br />

should be integer-constrained i.e. be members of J . However, an alternative method is available.<br />

This method is available only for backward compatibility and we recommend that it is not used. This<br />

method requires that markers are placed in the COLUMNS section as in the example:<br />

COLUMNS<br />

x1 obj -10.0 c1 0.7<br />

x1 c2 0.5 c3 1.0<br />

x1 c4 0.1<br />

* Start of integer-constrained variables.<br />

MARK000 ’MARKER’ ’INTORG’<br />

x2 obj -9.0 c1 1.0<br />

x2 c2 0.8333333333 c3 0.66666667<br />

x2 c4 0.25<br />

x3 obj 1.0 c6 2.0<br />

MARK001 ’MARKER’ ’INTEND’<br />

* End of integer-constrained variables.<br />

Please note that special marker <strong>line</strong>s are used to indicate the start and the end of the integer variables.<br />

Furthermore be aware of the following<br />

• IMPORTANT: All variables between the markers are assigned a default lower bound of 0 and<br />

a default upper bound of 1. This may not be what is intended. If it is not intended, the<br />

correct bounds should be defined in the BOUNDS section of the MPS formatted file.<br />

• <strong>MOSEK</strong> ignores field 1, i.e. MARK0001 and MARK001, however, other optimization systems require<br />

them.<br />

• Field 2, i.e. ’MARKER’, must be specified including the single quotes. This implies that no row<br />

can be assigned the name ’MARKER’.<br />

• Field 3 is ignored and should be left blank.<br />

• Field 4, i.e. ’INTORG’ and ’INTEND’, must be specified.<br />

• It is possible to specify several such integer marker sections within the COLUMNS section.<br />

13.3 General limitations<br />

• An MPS file should be an ASCII file.<br />

13.4 Interpretation of the MPS format<br />

Several issues related to the MPS format are not well-defined by the industry standard. However,<br />

<strong>MOSEK</strong> uses the following interpretation:

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

Saved successfully!

Ooh no, something went wrong!