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.

598 APPENDIX F. <strong>MOSEK</strong> FILE FORMATS<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 />

F.1.3<br />

General limitations<br />

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

F.1.4<br />

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:<br />

• If a matrix element in the COLUMNS section is specified multiple times, then the multiple entries<br />

are added together.<br />

• If a matrix element in a QSECTION section is specified multiple times, then the multiple entries<br />

are added together.<br />

F.1.5<br />

<strong>The</strong> free MPS format<br />

<strong>MOSEK</strong> supports a free format variation of the MPS format. <strong>The</strong> free format is similar to the MPS file<br />

format but less restrictive, e.g. it allows longer names. However, it also presents two main limitations:<br />

• By default a line in the MPS file must not contain more than 1024 characters. However, by<br />

modifying the parameter iparam.read mps width an arbitrary large line width will be accepted.<br />

• A name must not contain any blanks.<br />

To use the free MPS format instead of the default MPS format the <strong>MOSEK</strong> parameter iparam.read mps format<br />

should be changed.<br />

F.2 <strong>The</strong> LP file format<br />

<strong>MOSEK</strong> supports the LP file format with some extensions i.e.<br />

formatted files.<br />

<strong>MOSEK</strong> can read and write LP<br />

Please note that the LP format is not a completely well-defined standard and hence different optimization<br />

packages may interpret the same LP file in slightly different ways. <strong>MOSEK</strong> tries to emulate as<br />

closely as possible CPLEX’s behavior, but tries to stay backward compatible.<br />

<strong>The</strong> LP file format can specify problems on the form

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

Saved successfully!

Ooh no, something went wrong!