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.

5.4. SEMIDEFINITE OPTIMIZATION 39<br />

minimize<br />

subject to l c i ≤<br />

n−1<br />

∑ ∑p−1<br />

〈 〉<br />

c j x j + Cj , X j + c<br />

f<br />

j=0<br />

n−1<br />

j=0<br />

p−1<br />

∑ ∑ 〈 〉<br />

a ij x j + Aij , X j<br />

j=0<br />

j=0<br />

≤ u c i, i = 0, . . . , m − 1,<br />

lj x ≤ x j ≤ u x j , j = 0, . . . , n − 1,<br />

x ∈ C, X j ∈ S r + j<br />

, j = 0, . . . , p − 1<br />

where the problem has p symmetric positive semidefinite variables X j ∈ S r + j<br />

of dimension r j with<br />

symmetric coefficient matrices C j ∈ S rj and A i,j ∈ S rj . We use standard notation for the matrix inner<br />

product, i.e., for A, B ∈ R m×n we have<br />

〈A, B〉 :=<br />

m−1<br />

∑<br />

i=0<br />

n−1<br />

∑<br />

A ij B ij .<br />

j=0<br />

5.4.1 Example: Semidefinite optimization<br />

<strong>The</strong> problem<br />

minimize<br />

subject to<br />

〈 ⎡ ⎤<br />

2 1 0<br />

〉<br />

⎣ 1 2 1 ⎦ , X + x 0<br />

0 1 2<br />

〈 ⎡ ⎤<br />

1 0 0<br />

〉<br />

⎣ 0 1 0 ⎦ , X + x 0 = 1,<br />

0 0 1<br />

〈 ⎡ ⎣ 1 1 1 ⎤ 〉<br />

1 1 1 ⎦ , X + x 1 + x 2 = 1/2,<br />

1<br />

√<br />

1 1<br />

x 0 ≥ x 2 1 + x2 2 ,<br />

X ≽ 0,<br />

is a mixed semidefinite and conic quadratic programming problem with a 3-dimensional semidefinite<br />

variable<br />

⎡<br />

X = ⎣<br />

x 10<br />

x 20<br />

x 11<br />

x 21<br />

x 21<br />

x 22<br />

⎦ ∈ S 3 + ,<br />

x 00 x 10 x 20<br />

⎤<br />

and a conic quadratic variable (x 0 , x 1 , x 2 ) ∈ Q 3 . <strong>The</strong> objective is to minimize<br />

(5.6)<br />

subject to the two linear constraints<br />

2(x 00 + x 10 + x 11 + x 21 + x 22 ) + x 0 ,

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

Saved successfully!

Ooh no, something went wrong!