Docsity

Approx. Algorithm for MAX-CUT: Goemans & Williamson's SDP Approach, Study notes of Computer Science

Partial preview of the text

Download Approx. Algorithm for MAX-CUT: Goemans & Williamson's SDP Approach and more Study notes Computer Science in PDF only on Docsity!

Approximation Algorithm for MAX-CUT

paper by Michel X. Goemans and David P. Williamson STOC 1994, JACM 1995

presented by Chayant Tantipathananandh MCS 541, Fall 2007

Outline

(^1) What is MAX-CUT?

(^2) Integer Quadratic Program

(^3) Semidefinite Program

(^4) Analysis of Algorithm

(^5) Conclusions

More about MAX-CUT

MAX-CUT is NP-Complete

[Karp ’72] SAT ≤ P 3SAT ≤ P CHROMATIC-NUMBER ≤ P EXACT-COVER ≤ P KNAPSACK ≤ P PARTITION ≤ P MAX-CUT

[Papadimitriou&Yannakakis ’88] SAT ≤ P 3SAT ≤ P 6 =-3SAT ≤ P MAX-CUT

Dealing with hard problems

We want to find optimal solution on all inputs quickly (in polynomial time)

Dealing with hard problems

We want to find optimal solution on all inputs relax ⇒ heuristics quickly (in polynomial time) relax ⇒ superpolynomial time

Dealing with hard problems

We want to find optimal solution relax ⇒ approximation on all inputs relax ⇒ heuristics quickly (in polynomial time) relax ⇒ superpolynomial time

One Formulation

Variables xi ∈ {− 1 , 1 } for every vertex i ∈ V. Cut is S = { i : xi = 1 } and S = { i : xi = − 1 } Integer Quadratic Program (QP)

maximize

i < j

wij ( 1 − xi xj )

subject to x i^2 = 1 xi ∈ R for every i ∈ V

Solving quadratic program is NP-Hard (see Wikipedia for 0-1 integer program ≥ P QP). All monomials have degree 0 or 2 (about this later).

Relaxation

xi ∈ {− 1 , 1 } is a vector lying on unit sphere S 1. Allow xi to be a vector in higher-dimensional space. xi ∈ S 1 −→ vi ∈ Sn , n = | V | xi xj −→ vi · vj

Vector Program (VP)

maximize

i < j

wij ( 1 − vi · vj )

subject to vi · vi = 1 vi ∈ R n^ for every i ∈ V

Feasible solutions to QP are feasible solutions to VP with the same value. Objective function and constraints are linear in dot products. Solvable in polynomial time! (next slides). Problem: What is a cut? (later slides)

Frobenius Inner Product

Let C = { cij } and Y = { yij }.

C • Y = c 11 y 11 + c 12 y 12 + · · · + cij yij + · · · + ckl ykl

=

∑^ k

i = 1

∑^ l

j = 1

cij yij

C • Y is: an inner product of C and Y , or a linear function of variables yij with coefficients cij.

Semidefinite Programming

Definition maximize Z = C • Y subject to Ai • Y = bi for i = 1... m Y  0 Y ∈ R n × n

Solvable to any additive error ǫ in polynomial time in input size and log (^1) ǫ by, e.g., interior point method ellipsoid algorithm i.e., can compute solution ≥ OPTSDP − ǫ in polynomial time.

Approximation Algorithm for MAX-CUT

Create semidefinite program Solve SDP for matrix Y in polynomial time. Perform incomplete Cholesky decomposition on Y to obtain

B =

v 1 v 2... vn | | |

in polynomial time.

Approximation Algorithm for MAX-CUT

Create semidefinite program Solve SDP for matrix Y in polynomial time. Perform incomplete Cholesky decomposition on Y to obtain

B =

v 1 v 2... vn | | |

in polynomial time. What is the maximum cut?

Randomized Rounding

How about halving unit sphere Sn embedding vi ’s?

Randomized Rounding

How about halving unit sphere Sn embedding vi ’s? Choose a hyperplane r uniformly at random: S = { i : vi · r ≥ 0 } and S^ =^ { i^ :^ vi ·^ r^ <^0 }. Expected weight of cut

E [ W ] =

i < j

wij · Pr[ r separates vi , vj ] =

i < j

wij ·

θ ij vi^ π vj

θij

θij