• Tidak ada hasil yang ditemukan

Conic Linear Programming Duality

Dalam dokumen David G. Luenberger Yinyu Ye Fourth Edition (Halaman 169-177)

Conic Linear Programming

6.4 Conic Linear Programming Duality

158 6 Conic Linear Programming

where recall

C= 2 .5

.5 1

and A1= 1 .5

.5 1

.

• The dual to the second-order cone instance:

maximize y

subject to y(1,& 1, 1)+(s1, s2, s3)=(2, 1, 1),

s22+s23s1,ors=(s1, s2, s3) in second-order cone.

Let us consider a couple of more dual examples of the problems we posted earlier.

Example 2 (The Dual of Binary Quadratic Maximization). Consider the semidefi- nite relaxation (6.3) for the binary quadratic maximization problem. It’s dual is

minimize n+1 j=1yj

subject to n+1

j=1yjIjS= Q c

cT 0

, S0.

Note that

n+1

j=1

yjIjQ c

cT 0

is exactly the Hessian matrix of the Lagrange function of the quadratic maximization problem; see Chap.11. Therefore, there is a close connection between the Lagrange and conic dualities. The problems is to find a diagonal matrix Diag[(y1;. . .;yn+1)]

such that the Lagrange Hessian is positive semidefinite and its sum of diagonal elements is minimized.

Example 3 (The Dual of Sensor Localization).Consider the semidefinite program- ming relaxation for the sensor localization problem (with no noises). It’s dual is

maximize

(i,j)Neyi j

subject to

(i,j)Neyi j(eiej)(eiej)T+S=0, S0.

Here,yi j represents an internal force or tension on edge (i, j). Obviously,yi j = 0 for all (i, j) ∈ Ne is a feasible solution for the dual. However, finding non-trivial internal forces is a fundamental problem in network and structure design, and the maximization of the dual would help to achieve the goal.

Many optimization problems can be directly cast in the CLD form.

Example 4 (Euclidean Facility Location).This problem is to determine the location of a facility servingnclients placed in a Euclidean space, whose known locations are denoted byajEd, j=1, . . . , n. The location of the facility would minimize

160 6 Conic Linear Programming the sum of the Euclidean distances from the facility to each of the clients. Let the location decision be vectorfEd. Then the problem is

minimizen

j=1|faj|. The problem can be reformulated as

minimize n j=1δj

subject to sj+f=aj,∀j=1, . . . ,n,

|sj| ≤δj, ∀j=1, . . . ,n.

This is a conic formulation in the (CLD) form. To see it clearly, letd=2 andn=3 in the example, and let

AT =

⎡⎢⎢⎢⎢⎢

⎢⎢⎢⎢⎢

⎢⎢⎢⎢⎢

⎢⎢⎢⎢⎢

⎢⎢⎢⎢⎢

⎢⎢⎢⎢⎢

⎢⎢⎢⎢⎢

⎢⎢⎢⎣

1 0 0 0 0 0 0 0−1 0 0 0 0 0 −1 0 1 0 0 0 0 0 0−1 0 0 0 0 0 −1 0 0 1 0 0 0 0 0−1 0 0 0 0 0 −1

⎤⎥⎥⎥⎥⎥

⎥⎥⎥⎥⎥

⎥⎥⎥⎥⎥

⎥⎥⎥⎥⎥

⎥⎥⎥⎥⎥

⎥⎥⎥⎥⎥

⎥⎥⎥⎥⎥

⎥⎥⎥⎦

E9×5, b=

⎡⎢⎢⎢⎢⎢

⎢⎢⎢⎢⎢

⎢⎢⎢⎢⎢

⎢⎢⎣

1 1 1 0 0

⎤⎥⎥⎥⎥⎥

⎥⎥⎥⎥⎥

⎥⎥⎥⎥⎥

⎥⎥⎦∈E5, c=

⎡⎢⎢⎢⎢⎢

⎢⎢⎢⎢⎢

⎢⎢⎢⎢⎢

⎢⎢⎢⎢⎢

⎢⎢⎢⎣

0 0 0 a1

a2

a3

⎤⎥⎥⎥⎥⎥

⎥⎥⎥⎥⎥

⎥⎥⎥⎥⎥

⎥⎥⎥⎥⎥

⎥⎥⎥⎦

E9,

and variable vector

y=[δ1; δ2; δ3; f]∈E5. Then, the facility location problem becomes

minimize yTb

subject to yTA+sT =cT, sK;

whereKis the product of three second-order cones each of which has dimension 3.

More precisely, the first three elements ofsE9are in the 3-dimensional second- order cone; and so are the second three elements and the third three elements ofs.

In general, the product of (possibly mixed) cones, sayK1,K2andK3, is denoted by K1K2K3, andXK1K2K3means thatXis divided into three components such that

X=(X1; X2; X3), whereX1K1, X2K2, andX3K3. The dual of the facility location problem would be in the (CLP) form:

minimize cTx

subject to Ax=b, xK;

where

K=(K1K2K3)=K1K2K3.

That is, in this particular problem, the first three elements of xE9 are in the 3-dimensional second-order cone; and so are the second three elements and the third three elements ofx.

Consider further the equality constraints, the dual can be simplified as maximize 3

j=1aTjxj

subject to 3

j=1xj =0E2,

|xj| ≤1, ∀ j=1,2,3.

Example 5 (Quadratic Constraints).Quadratic constraints can be transformed to linear semidefinite form by using the concept ofSchur complements. LetAbe a (symmetric)m-dimension positive definite matrix,Cbe a symmetricn-dimension matrix, andBbe anm×nmatrix. Then, matrix

S=CBTA1B

is called the Schur complement ofAin the matrix Z=

A B

BT C

.

Moreover,Zis positive semidefinite if and only ifSis positive semidefinite.

Now consider a general quadratic constraint of the form

yTBTBycTyd≤0. (6.7)

This is equivalent to

I By

yTBT cTy+d

0 (6.8)

because the Schur complement of this matrix with respect toIis the negative of the left side of the original constraint (6.7). Note that in this larger matrix, the variable yappears only affinely, not quadratically.

Indeed, (6.8) can be written as

P(y)=P0+y1P1+y2P2+· · ·ynPn0, (6.9) where

P0= I 0

0 d

,Pi= 0 bi

bTi ci

fori=1,2, . . .n

withbibeing theithcolumn ofBandcibeing theith component ofc. The constraint (6.9) is of the form that appears in the dual form of a semidefinite program.

162 6 Conic Linear Programming There is a more efficient mixed semidefinite and second-order cone formulation of the inequality (6.7) to reduce the dimension of semidefinite cone. We first intro- duce slack variablesands0by linear constraints:

Bys=0

Then, we let|s| ≤s0(or (s0;s) in the second-order cone) and 1 s0

s0 cTy+d

0.

Again, the matrix constraint is of the dual form of a semidefinite cone, but its dimension is fixed at 2.

Suppose the original optimization problem has a quadratic objective: mini- mizeq(x). The objective can be written instead as: minimizetsubject toq(x)≤t, and then this constraint as well as any number of other quadratic constraints can be transformed to semidefinite constraints, and hence the entire problem converted to a mixed second-order cone and semidefinite program. This approach is useful in many applications, especially in various problems of financial engineering and control theory.

The duality is manifested by the relation between the optimal values of the primal and dual programs. The weak form of this relation is spelled out in the following lemma, the proof of which, like the weak form of other duality relations we have studied, is essentially an accounting issue.

Weak Duality in CLP.LetXbe feasible for (CLP) and(y,S)feasible for (CLD). Then, CXyTb.

Proof. By direct calculation CXyTb=(

m i=1

yiAi+S)•XyTb

= m

i=1

yi(AiX)+SXyTb

= m

i=1

yibi+SXyTb

=SX≥0,

where the last inequality comes fromXKandSK.

As in other instances of duality, the strong duality of conic linear programming is weak unless other conditions hold. For example, the duality gap may not be zero at optimality in the following SDP instance.

Example 6.The following semidefinite program has a duality gap:

C=

⎡⎢⎢⎢⎢⎢

⎢⎢⎢⎣0 1 0

1 0 0

0 0 0

⎤⎥⎥⎥⎥⎥

⎥⎥⎥⎦, A1=

⎡⎢⎢⎢⎢⎢

⎢⎢⎢⎣0 0 0

0 1 0

0 0 0

⎤⎥⎥⎥⎥⎥

⎥⎥⎥⎦, A2=

⎡⎢⎢⎢⎢⎢

⎢⎢⎢⎣ 0 −1 0

−1 0 0

0 0 2

⎤⎥⎥⎥⎥⎥

⎥⎥⎥⎦

and

b= 0

2

. The primal minimal objective value is 0 achieved by

X=

⎡⎢⎢⎢⎢⎢

⎢⎢⎢⎣0 0 0

0 0 0

0 0 1

⎤⎥⎥⎥⎥⎥

⎥⎥⎥⎦

and the dual maximal objective value is−2 achieved byy=[0, −1]; so the duality gap is 2.

However, under certain technical conditions, there would be no duality gap. One condition is related to weather or not the primal feasible regionFpor dual feasible region has an interior feasible solution. We sayFphas an interior (feasible solution) if and only if

Fp:={X: AX=b, XK}

is non-empty, andFdhas an interior feasible solution if and only if Fd:={(y,S) : yTA+S=C, SK} is non-empty. We state here a version of the strong duality theorem.

Strong Duality in (CLP).

i) Let (CLP) or (CLD) be infeasible, and furthermore the other be feasible and has an interior. Then the other is unbounded.

ii) Let (CLP) and (CLD) be both feasible, and furthermore one of them has an interior.

Then there is no duality gap between (CLP) and (CLD).

iii) Let (CLP) and (CLD) be both feasible and have interior. Then, both have optimal solutions with no duality gap.

Proof. We let coneH=KE1+in the following proof.

i) SupposeFd is empty andFp is feasible and has an interior feasible solution.

Then, we have an ¯XK and ¯τ=1 that is an interior feasible solution to (homo- geneous) conic system:

AX¯ −b¯τ=0, ( ¯X,τ)¯ ∈H .

164 6 Conic Linear Programming Now, for anyz, we form an alternative system pair based on Farkas’ Lemma (Theorem2):

{(X, τ) : AXbτ=0, CXzτ <0, (X, τ)∈H}, and

{(y;S, κ) : ATy+S=C, −bTy+κ=−z, (S, κ)∈H}.

But the latter is infeasible, so that the former has a feasible solution (X, τ).

At such a feasible solution, if τ > 0, we haveC•(X/τ) < z for any z. Otherwise, τ = 0 implies that a new solution ¯XXis feasible for (CLP) for any positiveα; and, asα→ ∞, the objective value of the new solution goes to−∞. Hence, either way we have a feasible solution for (CLP) whose objective value is unbounded from below.

ii) LetFpbe feasible and have an interior feasible solution, and letzbe its objec- tive infimum. Again, we have an alternative system pair as listed in the proof of i). But now the former is infeasible, so that we have a solution for the latter.

From the Weak Duality theorembTyz, thus we must haveκ=0, that is, we have a solution (y,S) such that

ATy+S=C, bTy=z, SK.

iii) We only need to prove that there exist a solutionX∈ Fpsuch thatCX=z, that is, the infimum of (CLP) is attainable. But this is just the other side of the proof given thatFd is feasible and has an interior feasible solution, andz is also the supremum of (CLD).

Again, if one of (CLP) and (CLD) has no interior feasible solution, the common objective value may not be attainable. For example,

C= 1 0

0 0

, A1 = 0 1

1 0

, and b1=2.

The dual is feasible but has no interior, while the primal has an interior. The common objective value equals 0, but no primal solution attaining the infimum value.

Most of these examples that make the strong duality failed are superficial, and a small perturbation would overcome the failure. Thus, in real applications and in the rest of the chapter, we may assume that both (CLP) and (CLD) have interior when they are feasible. Consequently, any primal and dual optimal solution pair must satisfy the optimality conditions:

CXyTb=0 AX=b yTA+S=CT

XK, SK

; (6.10)

or

XS=0 AX=b yTA+S=CT

XK, SK

. (6.11)

We now present an application of the strong duality theorem.

Example 7 (Robust Portfolio Design).The Markowitz portfolio design model (also see5) is

minimize xTΣx

subject to 1Tx=1, πTx≥π,

whereΣ is the covariance matrix andπis the expect return rate vector of a set of stocks, andπis the desired return rate of the portfolio. The problem can be equiva- lently written as a mixed conic problem

minimizeΣ•X

subject to1Tx=1, πTx≥π, XxxT 0.

Now supposeΣis incomplete and/or uncertain, and it is expressed by Σ0+

m i=1

yiΣi(0),

for some variablesyi’s. Then, we like to solve a robust model minimize

maxy

Σ0+m i=1yiΣi

X s.t.Σ0+m

i=1yiΣi0

subject to1Tx=1, πTx≥π, XxxT 0.

The inner problem is an SDP problem. Assuming strong duality holds, we replace it by its dual, and have

minimize⎧⎪⎪⎪⎨

⎪⎪⎪⎩

minYΣ0•(Y+X)

s.t.Σi•(Y+X)=0, ∀i=1, . . . ,m, Y0

⎫⎪⎪⎪⎬

⎪⎪⎪⎭

subject to1Tx=1, πTx≥π, XxxT 0.

166 6 Conic Linear Programming Then, we can integrate the two minimization problems together and form

minimizeΣ0•(Y+X) subject to1Tx=1, πTx≥π,

Σi•(Y+X)=0, ∀i=1, . . . ,m, Y0, XxxT 0.

Dalam dokumen David G. Luenberger Yinyu Ye Fourth Edition (Halaman 169-177)