Problem Set 2
Problem Set 2
Problem Set 2
Due Date: February 15, 2018
A reminder about the course collaboration policy: Your work on problem sets
and exams should be your own. You may discuss approaches to problems with other
students, but as a general guideline, such discussions may not involve taking notes.
You must write up solutions on your own independently, and acknowledge anyone
with whom you discussed the problem by writing their names on your problem set.
You may not use papers or books or other sources (e.g. material from the web) to
help obtain your solution.
X0 ← ∅
for i ← 1 to n do
ai ← f (Xi−1 ∪ {i}) − f (Xi−1 )
ri ← f (X̂i−1 − {i}) − f (X̂i−1 )
if ai ≥ ri then
Xi ← Xi−1 ∪ {i}
else
Xi ← Xi−1
return Xn
2-1
4. In the uniform sparsest cut problem, we are given as input an undirected graph
G = (V, E) and edge costs ce ≥ 0 for all e ∈ E. The goal of the problem is to
find a subset S ⊆ V of vertices that minimizes
P
e∈δ(S) ce
,
|S||V − S|
where δ(S) is the set of all edges with exactly one edge in S. The uniform
sparsest cut problem tries to find a small cut in the graph such that there is a
roughly equal number of vertices on each side of the cut.
Show that we can find a sparsest cut in polynomial time for bounded treewidth
graphs (i.e. graphs in which the treewidth k is a constant). It might be useful
to know that in polynomial time one can compute a nice tree decomposition.
In a nice tree decomposition, there are four different kinds of nodes in the tree
T:
2-2