Presentation is loading. Please wait.

Presentation is loading. Please wait.

Outline Introduction The hardness result The approximation algorithm.

Similar presentations


Presentation on theme: "Outline Introduction The hardness result The approximation algorithm."— Presentation transcript:

1

2 Outline Introduction The hardness result The approximation algorithm

3 Introduction-(1) Given a graph G=(V,E) with a length function w:E  R + and a subset R  V of terminals the Steiner tree problem is to find a minimum length tree in G that contains all vertices of R. Such a tree is called a Steiner minimum tree If all vertices of R are leaves in Steiner tree, this special version is called terminal steiner tree problem Metric-Steiner tree problem is known to be APX-hard, unless P=NPAPX The best polynomial time approximation algorithm for the Steiner tree problem that is currently know is due to Robins and Zelikovsky, they proved that their algorithm has an approximation ratio of at most 1.55Zelikovsky

4 Introduction-(2) For the Steiner tree problem on may assume that the given graph is metric, i.e., it is a complete graph and the edge lengths satisfy the triangle inequality Non-metric case: x+3 Metric case: <5(x<2) 1 111 x Fig. 1. A non-metric instance for the terminal Steiner tree Problem Terminals are indicted by squares, non-terminals by circles

5 Introduction-(3) We will show that unless NP=DTIME(n O(loglogn) ) the non-metric version of the terminal Steiner tree problem cannot be approximated to any constant (reduced by set cover problem) The metric version of the terminal Steiner tree problem is APX-hard and we will give a factor 2  approximation algorithm, where  denotes the best approximation ratio for the Steiner tree problem, i.e., 1.01<  <1.55 currently, if P  NPAPX

6 The hardness result-(1) Theorem 1: For any constant  a polynomial time  - approximation algorithm for the terminal Steiner tree problem yields a polynomial time  - approximation algorithm for the set cover problem –We use a reduction from the set cover to non-metric terminal Steiner tree problem –Note that the set cover problem is known to be not approximable better than lnn, unless NP=DTIME(n O(loglogn) )

7 The hardness result-(2) 1 2 3 4 5 6 7 8 9 10 A B C D E X 2 1 2 7 35 4 5 6 8 3 9 4 56 T0T0 T1T1 T2T2 T7T7 T8T8 T4T4 T5T5 T6T6 T3T3 T9T9 T 10

8 The hardness result-(3) Now a solution to the terminal Steiner tree problem contains the vertex x (as terminal T 0 must be connected with other terminals) and some of the rays emanating from x The weight of the solution of the terminal Steiner tree problem is exactly the number of these rays All the sets S i that are connected to x by these rays form a set cover because for each j terminal T j is connected to other terminals in the solution of the terminal Steiner tree problem only via sets which contain element j Therefore the weight of the solution to the terminal Steiner tree problem = the solution to the set cover problem that is induced by this problem

9 The approximation algorithm-(1) The algorithm of metric version terminal Steiner tree has a 2  -factor, here  denotes the best possible performance ratio for Steiner tree problem We assume in the following that the given instance of the terminal Steiner tree contains at least three terminals This algorithm based on two crucial operations: –first: remove those edges connect two vertices from R –Star-replacement: the operation reduces the degree of a vertex in R to one

10 The approximation algorithm-(2) Algorithm TerminalSteiner(G=(V,E),w: E  R +, R  V) Remove all edges from G that connect two terminals in R Compute a  -approximate Steiner tree T in G for R For r  R do –If r is not a leaf in T –then make a star-replacement for r a5a5 a2a2 r a1a1 a3a3 a4a4 a5a5 a4a4 r a1a1 a2a2

11 The approximation algorithm-(3) Theorem 2: The TerminalSteiner algorithm has performance ratio 2  –the first step does not change the value of optimal solution –For the star-replacement algorithm: Consider the terminal r with the neighbors a 1,a 2,…,a k in T(w.l.o.g., let w(r,a 1 )  w(r,a 2 )  …  w(r,a k )), the star replacement replace the edges (r,a 2 ), …,(r,a k ) with the edges (a 1,a 2 ),…,(a 1,a k ) –By triangulation inequality:


Download ppt "Outline Introduction The hardness result The approximation algorithm."

Similar presentations


Ads by Google