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.

14.3. THE STRICT LP FORMAT 295<br />

MSK IPAR READ LP QUOTED NAMES<br />

and<br />

MSK IPAR WRITE LP QUOTED NAMES<br />

allows <strong>MOSEK</strong> to use quoted names. <strong>The</strong> first parameter tells <strong>MOSEK</strong> to remove quotes from quoted<br />

names e.g, "x1", when reading LP formatted files. <strong>The</strong> second parameter tells <strong>MOSEK</strong> to put quotes<br />

around any semi-illegal name (names beginning with a number or a period) and fully illegal name<br />

(containing illegal characters). As double quote is a legal character in the LP format, quoting semiillegal<br />

names makes them legal in the pure LP format as long as they are still shorter than 16 characters.<br />

Fully illegal names are still illegal in a pure LP file.<br />

14.3 <strong>The</strong> strict LP format<br />

<strong>The</strong> LP format is not a formal standard and different vendors have slightly different interpretations of<br />

the LP format. To make <strong>MOSEK</strong>’s definition of the LP format more compatible with the definitions<br />

of other vendors, use the parameter setting<br />

MSK IPAR WRITE LP STRICT FORMAT = MSK ON<br />

This setting may lead to truncation of some names and hence to an invalid LP file. <strong>The</strong> simple solution<br />

to this problem is to use the parameter setting<br />

MSK IPAR WRITE GENERIC NAMES = MSK ON<br />

which will cause all names to be renamed systematically in the output file.<br />

14.4 Formatting of an LP file<br />

A few parameters control the visual formatting of LP files written by <strong>MOSEK</strong> in order to make it<br />

easier to read the files. <strong>The</strong>se parameters are<br />

MSK IPAR WRITE LP LINE WIDTH<br />

MSK IPAR WRITE LP TERMS PER LINE<br />

<strong>The</strong> first parameter sets the maximum number of characters on a single <strong>line</strong>. <strong>The</strong> default value is 80<br />

corresponding roughly to the width of a standard text document.<br />

<strong>The</strong> second parameter sets the maximum number of terms per <strong>line</strong>; a term means a sign, a coefficient,<br />

and a name (for example ”+ 42 elephants”). <strong>The</strong> default value is 0, meaning that there is no<br />

maximum.

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

Saved successfully!

Ooh no, something went wrong!