The Ellipsoid Method
Total Page:16
File Type:pdf, Size:1020Kb
The Ellipsoid method R.M. Freund/ C. Roos (MIT/TUD) e-mail: [email protected] URL: http://www.isa.ewi.tudelft.nl/ roos ∼ WI 4218 March 21, A.D. 2007 Optimization Group 1/26 Outline ⊲ Sherman-Morrison formula ⊲ Ellipsoids ⊲ Ellipsoid method ⊲ Basic construction ⊲ Prototypical iteration ⊲ Iteration bound ⊲ Two theorems ⊲ Two more theorems ⊲ Optimization with the ellipsoid method ⊲ Convexity of the homogeneous problem ⊲ The Key Proposition Optimization Group 2/26 In memory of George Danzig and Leonid Khachyan (1) Leonid Khachiyan (1952-2005) passed away Friday April 29 at the age of 52. He died in his sleep, apparently of a heart attack, colleagues said. Khachiyan was best known for his 1979 use of the ellipsoid algorithm, originally developed for convex programming, to give the first polynomial-time algorithm to solve linear programming problems. While the simplex algorithm solved linear programs well in practice, Khachiyan gave the first formal proof of an efficient algorithm in the worst case. ”He was among the world’s most famous computer scientists,” said Haym Hirsh, chairman of the computer science department at Rutgers. George B. Dantzig, the father of Linear Programming and the creator of the Simplex Method, died at the age of 90 on May 13. In a statement INFORMS President Richard C. Larson mourned his death (see http://www.informs.org/Press/dantzigobit.htm). The tributes in- cluded obituaries in the Washington Post, the Francisco Chronicle, Mercury News and New York Times. National Public Radio commentator Keith Devlin remembered George Dantzig in a broadcast on Saturday, May 21. Optimization Group 3/26 In memory of George Danzig and Leonid Khachyan (2) Optimization Group 4/26 Leonid Khachyan in Shanghai (with Bai, Peng and Terlaky, 2002) Optimization Group 5/26 Sherman-Morrison formula Let Q, R, S, T be matrices such that Q and Q + RST are nonsingular. • R and S are n k matrices of rank k n. • × ≤ T 1 1 1 T 1 1 T 1 Then (Q + RS )− = Q− Q− R(I + S Q− R)− S Q− − Lemma 1 Let U be such that QU = R. Then I + ST U is invertible. Proof: Suppose w Rk satisfies (I + ST U)w = 0. Then, ∈ (Q + RST )Uw =(QU)w + R(ST Uw)= Rw Rw = 0. − Q + RST being nonsingular, this gives Uw = 0. Since rank (U) = k this implies w = 0. • T T T Theorem 1 If Qx0 = q and (I + S U)y = S x0 then x = x0 Uy satisfies (Q + RS )x = q. − T T T Proof: (Q + RS )(x0 Uy)= Qx0 + RS x0 QUy RS Uy − − − = q + R(I + ST U)y Ry RST Uy = q. 2 − − The solution x of (Q + RST )x = q is given by 1 1 T 1 T x = x0 Uy = Q q Q R(I + S U) S x0 − − − − − = (Q 1 Q 1R(I + ST Q 1R) 1ST Q 1)q. − − − − − − Since Theorem 1 holds for all q Rn the Sherman-Morrison formula follows. ∈ Reference: W. W. Hager. Updating the inverse of a matrix. SIAM Rev., 31(2):221–239, June 1989. Optimization Group 6/26 Ellipsoids Let M be a (symmetric) positive definite n n matrix and z Rn. Then × ∈ E := x : (x z)T M (x z) 1 M,z − − ≤ denotes an ellipsoid centered at z. Note thatn o 1 x E M 2 (x z) 1. ∈ M,z ⇔ − ≤ 1 1 Hence, putting u = M 2 (x z), we have x = z + M − 2 u and u 1. Therefore, − k k≤ 1 T E = x = z + M − 2 u : u u 1 . M,z ≤ In other words, n o 1 EM,z = z + M − 2 B(0, 1), where B(0, 1) denotes the unit sphere, centered at the origin. The volume of B(0, 1) is given by n π 2 ν(n)= n , Γ 2 + 1 and the volume of EM,z by ν(n) vol EM,z = . det(M) Hence p 1 ln vol E = ln ν(n) ln det(M). M,z − 2 Optimization Group 7/26 Ellipsoid method Given is a set convex S. We want to find s S. We assume ∈ that an ellipsoid E is given such that S E . M,z ⊆ M,z Step 1 : k = 0; M k = M; zk = z; Step 2 : if zk S: STOP; ∈ Step 3 : Find nonzero vector a such that b aT x aT zk, x S; z ≤ ∀ ∈ b Step 4 : Construct smallest volume ellipsoid that contains Rn T k EM,z x : a (x z ) 0 ; a ∩ ∈ − ≤ n o Let this ellipsoid have matrix M k+1 and center zk+1. Step 5 : k = k + 1; Step 6 : Goto Step 2. Optimization Group 8/26 Basic construction (1) Find m =(z, 0,..., 0), M = diag (a1,a2,...,an), such that the ellipsoid E = x Rn : (x m)T M(x m) 1 M,m ∈ − − ≤ contains B(0, 1) x : x1 0 and has minimal volume. Note that ∩ { ≥ } n T 2 2 (x m) M(x m)= a1(x1 z) + aix . − − − i i=2 X The unit vectors e1, e2,..., en are on the boundary of B(0, 1) x : x1 0 . We require them to lie on the boundary of the± ellipsoid.± This gives: ∩ { ≥ } 2 a1(1 z) = 1 − 2 a1z + ai = 1, 2 i n. ≤ ≤ From this we obtain 2 1 2 z 1 2z a1 = , ai = 1 a1z = 1 = − , i 2. (1 z)2 − − (1 z)2 (1 z)2 ≥ − − − Recall that vol EM,m is minimal if det M is maximal. Since n 1 (1 2z) − det M = − , (1 z)2n − = 1 one may easily verify that this occurs if z n+1. Substituting this value we obtain 1 2 1 a1 = 1+ , ai = 1 , i 2. n − n2 ≥ Optimization Group 9/26 Illustration for n = 2 1 x 0 b -1 -1 0 1 Optimization Group 10/26 Basic construction (2) (n + 1)2 n2 1 a1 = , ai = − , i 2. n2 n2 ≥ T B = y : y y 1 , H = y : y1 0 ≤ { ≥ } ¯ = n2 1 + 2 T ¯ = 1 M n−2 I n 1e 1e1 , z n+1e1 − E = EM,¯ z¯ Theorem 2 (B H) E. ∩ ⊆ Proof: One has y E if and only if ∈ T 2 T e1 n 1 2e1e e1 y − I + 1 y 1. − n + 1 n2 n 1 − n + 1 ≤ − This is equivalent to 2 n n 1 2 1 2n + 2 − y + + y1 (y1 1) 1. n2 i n2 − n2 ≤ i=1 X n 2 Now let y B H. Then 0 y1 1 implies y1 (y1 1) 0. Also y 1. Since ∈ ∩ ≤ ≤ − ≤ i=1 i ≤ n2 1 1 P − + = 1, n2 n2 we obtain y E. ∈ • Optimization Group 11/26 Basic construction (3) B = y : yT y 1 2 ≤ M¯ = nn 1 I + 2 oe eT n−2 n 1 1 1 − E = EM,¯ z¯ 1 Theorem 3 vol (E) < vol (B) e2(n−+1). Proof: One has vol(E) = √det I = 1 . Moreover, vol(B) √det M¯ √det M¯ 2 n 2 n 1 2 det M¯ = n 1 1+ 2 = n 1 − n+1 . n−2 n 1 n−2 n − Hence, using 1+ x ex we get ≤ 2 n 1 2 n 1 2 1 = n − n = 1+ 1 − 1 1 det M¯ n2 1 n+1 n2 1 − n+1 n −1 2 1 − − en2 1en−+1 = en−+1. ≤ − This implies the theorem. • Optimization Group 12/26 Prototypical iteration T 1 E := x : (x z) M (x z) 1 = z + M −2B(0, 1) M,z − − ≤ We know M, z, and an nonzero vector a. Define o 2 T 1 M¯ = n 1 M + 2 aa , z¯ = z + 1 M − a n−2 n 1 aT M 1a n+1 √ T 1 − − a M − a By the Sherman-Morrison formula, one has 2 1 T 1 1 n 1 2 M − aa M − M¯ − = M − n2 1 − n + 1 aT M 1a ! − − Theorem 4 E x : aT x aT z E . M,z ∩ ≤ ⊆ M,¯ z¯ n o Theorem 5 1 2(n−+1) vol EM,¯ z¯ < vol EM,z e . Optimization Group 13/26 Proof of Theorem 5 T 1 2(u + b)(u + b) u := M − 2 a, b := u e1, R := I k k u + b 2 − k k One has RT = R, Ru = b, R2 = I. Hence ¯ n2 1 2 aaT M = −2 M + T 1 n n 1 a M − a − 1 1 2 1 T 1 n 1 2 M − 2 aa M − 2 2 2 = −2 M I + T 1 M n n 1 a M − a − 1 1 2 1 T 1 n 1 2 RM − 2 aa M − 2 R 2 2 = −2 M R I + T 1 RM n n 1 a M − a − 1 1 2 1 T 1 n 1 2 RM − 2 aa M − 2 R 2 2 = −2 M R I + 1 1 RM n n 1 T − a M − 2 RRM − 2 a n2 1 1 2 T 1 = 2 + 2 n−2 M R I n 1e1e1 RM . − Therefore, 2 n 2 n det ¯ = n 1 det det 2 det + 2 T = n 1 1+ 2 det M n−2 M ( R) I n 1e1e1 n−2 n 1 M, − − and 2 n det M¯ n 1 2 1 = − 1+ >e n+1 . det M n2 n 1 − Hence √ 1 vol EM,¯ z¯ det M − = <e 2(n+1) vol EM,z √det M¯ This proves Theorem 5. • Optimization Group 14/26 Proof of Theorem 4 E x : aT x aT z E . M,z ∩ ≤ ⊆ M,¯ z¯ n o Proof: Suppose (x z)T M(x z) 1 and aT x aT z.