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.

304 CHAPTER 15. THE OPF FORMAT<br />

0 ≤ x 0 ≤ ∞,<br />

0 ≤ x 1 ≤ 10,<br />

0 ≤ x 2 ≤ ∞,<br />

0 ≤ x 3 ≤ ∞.<br />

In the OPF format the example is displayed as shown below:<br />

[comment]<br />

<strong>The</strong> lo1 example in OPF format<br />

[/comment]<br />

[hints]<br />

[hint NUMVAR] 4 [/hint]<br />

[hint NUMCON] 3 [/hint]<br />

[hint NUMANZ] 9 [/hint]<br />

[/hints]<br />

[variables disallow new variables]<br />

x1 x2 x3 x4<br />

[/variables]<br />

[objective maximize ’obj’]<br />

3 x1 + x2 + 5 x3 + x4<br />

[/objective]<br />

[constraints]<br />

[con ’c1’] 3 x1 + x2 + 2 x3 = 30 [/con]<br />

[con ’c2’] 2 x1 + x2 + 3 x3 + x4 >= 15 [/con]<br />

[con ’c3’] 2 x2 + 3 x4

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

Saved successfully!

Ooh no, something went wrong!