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.1. MPS FILE STRUCTURE 285<br />

Next define<br />

x 1 =<br />

⎡<br />

⎣ x 1<br />

x 4<br />

x 7<br />

⎤<br />

⎦ and x 2 =<br />

⎡<br />

⎢<br />

⎣<br />

x 6<br />

x 5<br />

x 3<br />

x 2<br />

⎤<br />

⎥<br />

⎦ .<br />

where C t must have one of the following forms<br />

• R set:<br />

C := { x ∈ R n : x t ∈ C t , t = 1, . . . , k }<br />

C t = {x ∈ R nt }.<br />

• Quadratic cone:<br />

⎧<br />

⎨<br />

C t =<br />

⎩ x ∈ ∑<br />

: x Rnt 1 ≥ √ nt<br />

j=2<br />

x 2 j<br />

⎫<br />

⎬<br />

⎭ . (13.2)<br />

• Rotated quadratic cone:<br />

⎧<br />

⎨<br />

C t =<br />

⎩ x ∈ : 2x Rnt 1 x 2 ≥<br />

⎫<br />

∑n t<br />

⎬<br />

x 2 j, x 1 , x 2 ≥ 0<br />

⎭ . (13.3)<br />

j=3<br />

In general, only quadratic and rotated quadratic cones are specified in the MPS file whereas membership<br />

of the R set is not. If a variable is not a member of any other cone then it is assumed to be a member<br />

of an R cone.<br />

Next, let us study an example. Assume that the quadratic cone<br />

and the rotated quadratic cone<br />

x 4 ≥<br />

√<br />

x 2 5 + x2 8 (13.4)<br />

2x 3 x 7 ≥ x 2 1 + x 2 0, x 3 , x 7 ≥ 0, (13.5)<br />

should be specified in the MPS file. One CSECTION is required for each cone and they are specified as<br />

follows:<br />

* 1 2 3 4 5 6<br />

*23456789012345678901234567890123456789012345678901234567890<br />

CSECTION konea 0.0 QUAD<br />

x4<br />

x5<br />

x8

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

Saved successfully!

Ooh no, something went wrong!