12.07.2015 Views

Mosek - Computer Sciences Department

Mosek - Computer Sciences Department

Mosek - Computer Sciences Department

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.

MOSEK 5Now partition the set of decision variables x into sets S t , t = 1, ..., k, such that each decision variables x is amember of at most one set S t . For example, we could have⎡ ⎤⎡ ⎤xx 61S 1 = ⎣ x 4⎦ and S 2 = ⎢ x 5⎥⎣ xx 3⎦ . (1.1)7x 2Let x S tdenote the variables x belonging to set S t . Then definewhere C t must have one of the following forms:• Quadratic cone: (also referred to as Lorentz or ice cream cone)⎧⎨C t =⎩ x ∈ ∑Rnt : x 1 ≥ √ ntC := {x ∈ R n : x S t ∈ C t , t = 1, ..., k} (1.2)j=2x 2 j⎫⎬⎭ . (1.3)• Rotated quadratic cone: (also referred to as hyberbolic constraints)⎧⎫⎨C t =⎩ x ∈ ∑n t⎬Rnt : 2x 1 x 2 ≥ x 2 j, x 1 , x 2 ≥ 0⎭ . (1.4)These two types of cones allow the formulation of quadratic, quadratically constrained, and many other classesof nonlinear convex optimization problems.j=32.2 Implemention of Conic Constraints in GAMSGAMS handles conic equations using the =C= equation type. The conic cases are written as:• Quadratic cone:• Rotated quadratic cone:x(‘1‘) = C = sum(i$[not sameas(i, ‘1‘)], x(i)); (1.5)x(‘1‘) + x(‘2‘) = C = sum(i$[not sameas(i, ‘1‘) and not sameas(i, ‘2‘)], x(i)); (1.6)Note that the resulting nonlinear conic constraints result in “linear” constraints in GAMS. Thus the originalnonlinear formulation is in fact a linear model in GAMS. We remark that we could formulate conic problems asregular NLP using constraints:• Quadratic cone:x(‘1‘) = G = sqrt[sum(i$[not sameas(i, ‘1‘)], sqr[x(i)])]; (1.7)• Rotated quadratic cone: x( ′ 1 ′ ) and x( ′ 2 ′ ) are positive variables2 ∗ x(‘1‘) ∗ x(‘2‘) = G = sum(i$[not sameas(i, ‘1‘) and not sameas(i, ‘2‘)], sqr[x(i)]); (1.8)The example below illustrates the different formulations for conic programming problems. Note that the conicoptimizer in MOSEK usually outperforms a general NLP method for the reformulated (NLP) cone problems.2.3 ExampleConsider the following example (cone2.gms) which illustrates the use of rotated conic constraints. We will givereformulations of the original problem in regular NLP form using conic constraints and in conic form.

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

Saved successfully!

Ooh no, something went wrong!