Steiner Tree-Approximations Algorithms-Lecture 02 Notes-Computer Science, Study notes of Approximation Algorithms

Steiner Tree; Greedy Approximation Algorithms, Steiner Tree, Greedy Approximation Algorithms, Min Multiway Cut Problem, Approximations Algorithms, Shuchi Chawla, Lecture Notes, University of Wisconsin, United States of America

Typology: Study notes

2011/2012

Uploaded on 02/14/2012

alexey
alexey 🇺🇸

4.7

(20)

325 documents

1 / 5

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS880: Approximations Algorithms
Scribe: Siddharth Barman Lecturer: Shuchi Chawla
Topic: Steiner Tree; Greedy Approximation Algorithms Date: 01/25/07
In this lecture we give an algorithm for Steiner tree and then discuss greedy algorithms.
2.1 Steiner Tree
Problem Statement: Given a weighted graph G= (V, E) and a set RV, our goal is to determine
the least cost connected subgraph spanning R. Vertices in Rare called terminal nodes and those
in V\Rare called Steiner vertices.
Note that the least cost connected subgraph spanning Ris a tree. Also we are free to use non
terminal vertices of the graph (the Steiner nodes) in order to determine the Steiner tree.
We first show that we can assume without loss of generality that Gis a complete graph. In
particular, let Gcdenote the metric completion of G: the cost of an edge (u, v) in Gcfor all
u, v Vis given by the length of the shortest path between uand vin G. As an exercise verify
that costs in Gcform a metric.
Lemma 2.1.1 Let Tbe a tree spanning Rin Gc, then we can find a subtree in G,T0that spans
Rand has cost at most the cost of Tin Gc.
Proof: We can get T0by taking a union of the paths represented by edges in T. Cost of edges in
Gcis the same as the cost of the paths (shortest) of Gthey represent. Hence the sum of costs of
all the paths making up T0is at most the cost of T.
As seen in the previous lecture a lower bound is a good place to start looking for an approximate
solution. We will use ideas from the previous lecture relating trees to traveling salesman tours to
obtain a lower bound on the optimal Steiner tree.
Lemma 2.1.2 Let Gc
Rbe the subgraph of Gcinduced by R. Then the cost of the MST in Gc
Ris
at most the cost of the optimal T SP tour spanning Gc
R.
Proof: See previous lecture.
Lemma 2.1.3 The cost of the optimal TS P tour spanning GR
cis at most twice OP T (the optimal
Steiner tree in Gcspanning R)
Proof: As shown in Figure 2.1.1 traversing each edge of the Steiner tree twice gives us a path
which covers all the terminal nodes i.e. a tour covering all of R. Hence T S P spanning R2OP T .
Corollary 2.1.4 The cost of the MST of Gc
Ris at most twice OP T .
Proof: Follows from the above mentioned lemmas.
The lower bound in itself suggests a 2-approximation to the Steiner tree. The algorithm is to simply
determine the M ST on Rin Gc
Ri.e.
1
pf3
pf4
pf5

Partial preview of the text

Download Steiner Tree-Approximations Algorithms-Lecture 02 Notes-Computer Science and more Study notes Approximation Algorithms in PDF only on Docsity!

CS880: Approximations Algorithms Scribe: Siddharth Barman Lecturer: Shuchi Chawla Topic: Steiner Tree; Greedy Approximation Algorithms Date: 01/25/

In this lecture we give an algorithm for Steiner tree and then discuss greedy algorithms.

2.1 Steiner Tree

Problem Statement: Given a weighted graph G = (V, E) and a set R ⊆ V , our goal is to determine the least cost connected subgraph spanning R. Vertices in R are called terminal nodes and those in V \R are called Steiner vertices.

Note that the least cost connected subgraph spanning R is a tree. Also we are free to use non terminal vertices of the graph (the Steiner nodes) in order to determine the Steiner tree.

We first show that we can assume without loss of generality that G is a complete graph. In particular, let Gc^ denote the metric completion of G: the cost of an edge (u, v) in Gc^ for all u, v ∈ V is given by the length of the shortest path between u and v in G. As an exercise verify that costs in Gc^ form a metric.

Lemma 2.1.1 Let T be a tree spanning R in Gc, then we can find a subtree in G, T ′^ that spans R and has cost at most the cost of T in Gc.

Proof: We can get T ′^ by taking a union of the paths represented by edges in T. Cost of edges in Gc^ is the same as the cost of the paths (shortest) of G they represent. Hence the sum of costs of all the paths making up T ′^ is at most the cost of T.

As seen in the previous lecture a lower bound is a good place to start looking for an approximate solution. We will use ideas from the previous lecture relating trees to traveling salesman tours to obtain a lower bound on the optimal Steiner tree.

Lemma 2.1.2 Let GcR be the subgraph of Gc^ induced by R. Then the cost of the M ST in GcR is at most the cost of the optimal T SP tour spanning GcR.

Proof: See previous lecture.

Lemma 2.1.3 The cost of the optimal T SP tour spanning GRc is at most twice OP T (the optimal Steiner tree in Gc^ spanning R)

Proof: As shown in Figure 2.1.1 traversing each edge of the Steiner tree twice gives us a path which covers all the terminal nodes i.e. a tour covering all of R. Hence T SP spanning R ≤ 2 OP T.

Corollary 2.1.4 The cost of the M ST of GcR is at most twice OP T.

Proof: Follows from the above mentioned lemmas.

The lower bound in itself suggests a 2-approximation to the Steiner tree. The algorithm is to simply determine the M ST on R in GcR i.e.

Terminal nodes Steiner nodes

Figure 2.1.1: Constructing tour spanning R from the optimal Steiner tree

  • Consider Gc, the metric completion of graph G.
  • Get GcR, the subgraph induced by set R on Gc.
  • Determine M ST on GcR, translate it back to a tree in G as described in the proof of lemma
    1. 1 .1.
  • Output this tree

Theorem 2.1.5 The algorithm above gives a 2 -approximation to Steiner tree.

Proof: Follows from the three lemmas stated above.

By a more careful analysis the algorithm can be shown to give a 2

1 − |R^1 |

approximation. This

is left as an exercise.

The best known approximation factor for the Steiner tree problem is 1.55 [5]. Also from the hardness of approximation side it is known that Steiner tree is “AP X − Hard”, i.e. there exists some constant c > 1 s.t. Steiner tree is N P- Hard to approximate better than c [1].

2.2 Greedy Approximation Algorithms—the min. multiway cut

problem

Next we look at greedy approximation algorithms. The design strategy carries over from greedy algorithms for exact algorithm design i.e. our aim here is to pick the myopic best action at each step and not be concerned about the global picture.

First we consider the Min Multiway Cut Problem.

Problem Statement: Given a weighted graph G with a set of terminal node T and costs (weights) on edges our goal is to find the smallest cut separating all the terminals.

Let k = |T | denote the cardinality of the terminal set. When k = 2, the problem reduces to simple min cut and hence is polytime solvable. For k ≥ 3 it is known that the problem is N P-Hard and

As |Cj | is greater than the average value of the cuts we have,

i∈[k],i 6 =j

|Ci| ≤

k

i∈[k]

|Ci|

Combining this with the previous lemma we get the desired result.

Theorem 2.2.3 The above algorithm gives a 2

1 − (^1) k

approximation to min multiway cut.

(^2) 1+ε 2

2

1+ε 1+ε

Figure 2.2.3: Bad example for Min multiway cut greedy algorithm

We now give a tight example for the algorithm. First let us examine the case of k = 3 as in the figure above. In this case the algo. returns a cut of cost 4, whereas the min. multiway cut has cost 3(1 + ). Generalizing the triangle of Figure 2.2.3 to a k cycle we find that the analysis of the algorithm provided above is in fact tight. In particular for the k cycle case, |Ci| = 2 for each i and hence the greedy multiway cut is of size 2(k − 1). The min multiway cut is in fact the k cycle hence OP T = (1 + )k. The example shows that our analysis of the provided greedy algorithm is in fact tight.

Though the analysis provided here is tight, better algorithms exist for the min multiway cut prob- lem. Calinescu et al. [2] gave a

2 −^

1 k

approx. which was subsequently improved to a 1. 3438 approx by Karger et al. [4].

References

[1] M. Bern, P. Plassmann. The steiner problem with edge lengths 1 and 2. In Information Processing Letters Volume 32-1 (1989), pp: 171-176.

[2] G. Calinescu, H.J. Karloff, Y. Rabani. An Improved Approximation Algorithm for Multiway Cut. In STOC (1998), pp: 48-52.

[3] E. Dahlhaus, D.S. Johnson, C.H. Papadimitriou, P.D. Seymour, M. Yannakakis. The Com- plexity of Multiterminal Cuts. In SIAM J. Comput. Volume 23 (1994), pp: 864-894.

[4] D.R. Karger, P.N. Klein, C. Stein, M. Thorup, N.E. Young. Rounding Algorithms for a Geometric Embedding of Minimum Multiway Cut. In STOC (1999), pp: 668-678.

[5] G. Robins, A. Zelikovsky. Tighter Bounds for Graph Steiner Tree Approximation. In SIAM Journal on Discrete Mathematics Volume 19-1 (2005), pp: 122-134.