Chapter 9: 9E (page 283)
In the MAXIMUM CUT problem we are given an undirected graph with a weight on each edge, and we wish to separate the vertices into two sets S and V − S so that the total weight of the edges between the two sets is as large as possible. For each define to be the sum of all over all edges such that Obviously, MAX CUT is about maximizing w(S) over all subsets of .
Consider the following local search algorithm for MAX CUT:
start with any
while there is a subset such that
||S 0 | − |S|| = 1 and do:
set
- Show that this is an approximation algorithm for MAX CUT with ratio
(b) But is it a polynomial-time algorithm?
Short Answer
An approximation algorithm for MAX CUT with ratio two is proved.
b). Yes, it a polynomial-time algorithm.