Projects Network Theory VLSI PSM 1. Network 1. Steiner trees

Slides:



Advertisements
Similar presentations
The Primal-Dual Method: Steiner Forest TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A AA A A A AA A A.
Advertisements

Great Theoretical Ideas in Computer Science
Instructor Neelima Gupta Table of Contents Approximation Algorithms.
Introduction to Graph Theory Instructor: Dr. Chaudhary Department of Computer Science Millersville University Reading Assignment Chapter 1.
22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
Great Theoretical Ideas in Computer Science for Some.
Lecture 24 Coping with NPC and Unsolvable problems. When a problem is unsolvable, that's generally very bad news: it means there is no general algorithm.
Approximation Algorithms for TSP
NP-Complete Problems Polynomial time vs exponential time
Convex Hull(35.3) Convex Hull, CH(X), is the smallest convex polygon containing all points from X, |X|=n Different methods: –incremental: moving from left.
Combinatorial Algorithms
Great Theoretical Ideas in Computer Science.
1 Discrete Structures & Algorithms Graphs and Trees: II EECE 320.
Approximation Algorithms: Combinatorial Approaches Lecture 13: March 2.
Approximation Algorithms Lecture for CS 302. What is a NP problem? Given an instance of the problem, V, and a ‘certificate’, C, we can verify V is in.
1 Assignment 4. This one is cancelled since there is a solution on website. I new assignment will be given on Nov. 28. (Due on Friday of Week 14. Drop.
Approximation Algorithms for the Traveling Salesperson Problem.
1 NP-Complete Problems Polynomial time vs exponential time –Polynomial O(n k ), where n is the input size (e.g., number of nodes in a graph, the length.
NP-Complete Problems (Fun part)
Vertex cover problem S  V such that for every {u,v}  E u  S or v  S (or both)
9-1 Chapter 9 Approximation Algorithms. 9-2 Approximation algorithm Up to now, the best algorithm for solving an NP-complete problem requires exponential.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
1 NP-Complete Problems (Fun part) Polynomial time vs exponential time –Polynomial O(n k ), where n is the input size (e.g., number of nodes in a graph,
Approximation Algorithms
Homework solution Problem 2. The number of odd degree vertices in a graph is even. (recom. book: G. Harary: Graph Theory) Solution: Let G=(V,E,w) S= 
Theory of Computing Lecture 10 MAS 714 Hartmut Klauck.
Algorithms for Network Optimization Problems This handout: Minimum Spanning Tree Problem Approximation Algorithms Traveling Salesman Problem.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
The Traveling Salesperson Problem Algorithms and Networks.
The Traveling Salesman Problem Approximation
University of Texas at Arlington Srikanth Vadada Kishan Kumar B P Fall CSE 5311 Solving Travelling Salesman Problem for Metric Graphs using MST.
1 The TSP : NP-Completeness Approximation and Hardness of Approximation All exact science is dominated by the idea of approximation. -- Bertrand Russell.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Can you connect the dots as shown without taking your pen off the page or drawing the same line twice.
Approximation Algorithms
Princeton University COS 423 Theory of Algorithms Spring 2001 Kevin Wayne Approximation Algorithms These lecture slides are adapted from CLRS.
The Traveling Salesman Problem Over Seventy Years of Research, and a Million in Cash Presented by Vladimir Coxall.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
1 Approximation Algorithm Updated on 2012/12/25. 2 Approximation Algorithm Up to now, the best algorithm for solving an NP-complete problem requires exponential.
Approximation Algorithms for TSP Tsvi Kopelowitz 1.
© Yamacraw, 2002 Symmetric Minimum Power Connectivity in Radio Networks A. Zelikovsky (GSU) Joint work with Joint work with.
Introduction to Graph Theory
Approximation Algorithms Guo QI, Chen Zhenghai, Wang Guanhua, Shen Shiqi, Himeshi De Silva.
Steiner Tree Problem Given: A set S of points in the plane = terminals
Approximation Algorithms by bounding the OPT Instructor Neelima Gupta
Instructor Neelima Gupta Table of Contents Introduction to Approximation Algorithms Factor 2 approximation algorithm for TSP Factor.
Matching in bipartite graphs Given: non-weighted bipartite graph not covered node extending alternating path initial matching Algorithm: so-called “extending.
1 Minimum Spanning Tree: Solving TSP for Metric Graphs using MST Heuristic Soheil Shafiee Shabnam Aboughadareh.
TU/e Algorithms (2IL15) – Lecture 11 1 Approximation Algorithms.
Approximation Algorithms
Steiner trees: Approximation Algorithms
Voronoi Graph Voronoi region Vor(p) (p in set S) Voronoi Graph VOR(S)
School of Computing Clemson University Fall, 2012
Approximation Algorithms
Hamiltonian Cycle and TSP
Hamiltonian Cycle and TSP
EECS 203 Lecture 20 More Graphs.
Great Theoretical Ideas in Computer Science
CS4234 Optimiz(s)ation Algorithms
Approximation Algorithms
Graph Algorithm.
Approximation Algorithms for TSP
Discrete Mathematics for Computer Science
Homework solution Problem 2. The number of odd degree vertices in a graph is even. (recom. book: G. Harary: Graph Theory) Solution: Let G=(V,E,w) S=vVdeg(v)
Genome Assembly.
Approximation Algorithms
Lecture 24 Vertex Cover and Hamiltonian Cycle
Presentation transcript:

Projects Network Theory VLSI PSM 1. Network 1. Steiner trees survivability - run time (Purav doing it) improvement (B) 2. Arbitrary - quality improvement (A) (theoretical) 2. Zero-skew trees problems - run time (B) (problems from - theory (quality impr.) (A) conferences, 3. Floor planning metric problems - computational with graphs ..) geometry 3. Implement fast MST O(E+V logV) (Karger algorithm)

Approximation Algorithm Steiner trees in graphs G = (V,E,cost), cost:E  R+ S  V set of terminals if S = V  MST algorithm exactly if S  V  problem is NP-hard MST - heuristic for the Steiner tree problem 1. Construct graph G’= (S,E’,cost’) (for any pair of points define distance=cost of the shortest path between them) there is an algorithm (Mehlhorn) for this problem with O(E+VlogV) 2. Find T=MST(G’) O(n3) Run Dijkstra from one point

MST - heuristic for the Steiner tree problem 3. Construct H = T* T*={G-paths corresponding to edges at T} (T* may have some cycles, remove arbitrary edges from cycles) 4. Toutput = MST(H) a a G  G’ c b b c cycles cannot appear, but duplicates are possible

Approximation ratio of MSTH Theorem: Approximation ratio of MST heuristic  2 Proof: 2 OPT = Tour  Shortcut Tour  MST  Toutput (+ cost of the longest edge in the green tour) terminals Steiner points

Approximation ratio of MSTH Proof that approximation ratio = 2:   > 0  I  STP such that: MST (I)  (2- ) OPT(I) OPT(Ik) = k MST( Ik ) = 2(k-1) supIk (2k-2)/k = 2 1 2 k terminals 2 distance between any 2 terminals=2

Traveling Salesperson Problem (TSP) -first problem proved to be NP-hard Given: complete graph G=(V,E,cost) Find: minimum cost tour which visits all nodes traveling salesperson problem - if we have -inequality in G  MST-heuristic = 2 approximation

Traveling Salesperson Problem (TSP) 1. Find T = MST(G) 2. H = T+T (traverse this tree visiting each node twice) 3. Tour  Shortcut (H) output tour (heuristic) make a shortcut OPT  MST Approx  2 MST  2 OPT

Eulerian Graphs Eulerian graph - you can traverse all edges visiting each only once (Euler, 18th cent., problem: Köningsberg’s bridges) graph Eulerian  all degrees are even Theorem: Graph G is Eulerian  D(G) is bipartite Proof: homework Theorem: In every graph the number of odd degree nodes is even. Proof: Homework red = G black = D(G) - dual of G

1.5 Approximation for TSP Christophides (in 1976) - better heuristic, approx. ratio 1.5 Matching problem Given G = (V,E,cost) |V|=even matching - no 2 edges have common point (there is exact algorithm with run time O(v3) that will find minim. cost) 3 matchings bipartite graph

1.5 Approximation for TSP Algorithm: 1. Find MST 2. Find minimum weight matching M of odd- degree nodes 3. Make Tour M  MST Proof that approx. is 1.5: we know : MST  OPT need to prove: M  0.5 OPT then  Tour  1.5 OPT ?

1.5 Approximation for TSP Proof that M  0.5 OPT optimal  shortcut = M1 +M2  2*M shortcut for odd nodes (shorter because of triang.ineq.) optimal other mathing M2 one matching M1

Minimum Vertex Cover - delete both endpoints of e NP - hard problem Given: G = (V,E,cost) cost: V  R+ Find: C  V cost(C)  min such that each edge in E has at least one end point in C C 2 approximation : - pick an edge e - delete both endpoints of e - repeat until no edges are left

Minimum Vertex Cover Let Ce be output of edge-deletion heuristic. Then |Ce|  2 OPT. Proof: Let M be the set of chosen edges in the heuristic Ce = 2 |M| OPT  |M| |M| = OPT (M)  OPT(G) we proved  |Ce|  2 OPT ? here all edges of G need to be covered number of edges in M only some edges of G to cover