
COT 6938: Approximation Algorithms
Assignment 2
Out: 09/29/2008 Due: 10/13/2008 (before class)
1. Show that the minimum k-cut problem (Problem 4.2) is polynomial time solvable for
fixed k.
2. Show that Algorithm 4.3 can be used as a subroutine for finding a k-cut within a factor
of 2 −2/k of the minimum k-cut. How many subroutine calls are needed?
3. The hardness of the Steiner tree problem lies in determining the optimal subset of Steiner
vertices that need to be included in the tree. Show this by proving that if this set is
provided, then the optimal Steiner tree can be computed in polynomial time.
Hint: Find a minimum spanning tree on the union of this set and the set of required
vertices.
4. Let G= (V , E) be a graph with nonnegative edge costs. S, the senders and R, the
receivers, are disjoint subsets of V. The problem is to find a minimum cost subgraph of
Gthat has a path connecting each receiver to a sender (any sender suffices). Partition
the instances into two cases: S∪R=Vand S∪R6=V. Show that these two cases are
in Pand NP-hard, respectively.
Hint: Add a new vertex that is connected to each sender by a zero cost edge. Consider
the new vertex and all receivers as required and the remaining vertices as Steiner, and
find a minimum Steiner tree.
5. Given an undirected graph G= (V, E ), the cardinality maximum cut asks for a partition
of Vinto sets Sand ¯
Sso that the number of edges running between these sets is
maximized. Consider the following greedy algorithm for this problem. Here v1and v2
are arbitrary vertices in G, and for A⊂V,d(v, A) denotes the number of edges running
between vertex vand set A.
1. initialize
A← {v1}
B← {v2}
2. for v∈V\ {v1, v2}do
if d(v, A)≥d(v, B )then B←B∪ {v}
else A←A∪ {v}
3. output Aand B
Show that this is a factor 1/2 approximation algorithm and give a tight example. What
is the upper bound on OPT that you are using? Give examples of graphs for which
this upper bound is as bad as twice OPT. Generalize this problem and the algorithm to
weighted graphs.
Page 1 of 2