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.

132 CHAPTER 10. PROBLEM FORMULATION AND SOLUTIONS<br />

such that the objective value is strictly negative.<br />

10.4 Quadratic and quadratically constrained optimization<br />

A convex quadratic and quadratically constrained optimization problem is an optimization problem of<br />

the form<br />

1<br />

minimize<br />

2 xT Q o x + c T x + c f<br />

subject to lk c ≤ 1 n−1<br />

∑<br />

2 xT Q k x + a kj x j ≤ u c k, k = 0, . . . , m − 1,<br />

j=0<br />

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

(10.14)<br />

where Q o and all Q k are symmetric matrices. Moreover for convexity, Q o must be a positive semidefinite<br />

matrix and Q k must satisfy<br />

− ∞ < lk c ⇒ Q k is negative semidefinite,<br />

u c k < ∞ ⇒ Q k is positive semidefinite,<br />

− ∞ < lk c ≤ u c k < ∞ ⇒ Q k = 0.<br />

<strong>The</strong> convexity requirement is very important and it is strongly recommended that <strong>MOSEK</strong> is applied<br />

to convex problems only.<br />

Note that any convex quadratic and quadratically constrained optimization problem can be reformulated<br />

as a conic optimization problem. It is our experience that for the majority of practical applications<br />

it is better to cast them as conic problems because<br />

• the resulting problem is convex by construction, and<br />

• the conic <strong>optimizer</strong> is more efficient than the <strong>optimizer</strong> for general quadratic problems.<br />

See [7] for further details.<br />

10.4.1 Duality for quadratic and quadratically constrained optimization<br />

<strong>The</strong> dual problem corresponding to the quadratic and quadratically constrained optimization problem<br />

(10.14) is given by<br />

maximize<br />

(<br />

(l c ) T s c l − (u c ) T s c u + (l x ) T s x l − (u x ) T s x u + 1 m−1 ∑<br />

2 xT k=0<br />

y k Q k − Q o )<br />

x + c f<br />

subject to A T y + s x l − s x u +<br />

( m−1<br />

) ∑<br />

y k Q k − Q o x<br />

k=0<br />

= c,<br />

− y + s c l − s c u = 0,<br />

s c l , s c u, s x l , s x u ≥ 0.<br />

(10.15)

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

Saved successfully!

Ooh no, something went wrong!