Exercices series 6 Approximation : constant ratio

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

Weighted Matching-Algorithms, Hamiltonian Cycles and TSP
Instructor Neelima Gupta Table of Contents Approximation Algorithms.
Approximation Algorithms
Design and Analysis of Algorithms Approximation algorithms for NP-complete problems Haidong Xue Summer 2012, at GSU.
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
1 The TSP : Approximation and Hardness of Approximation All exact science is dominated by the idea of approximation. -- Bertrand Russell ( )
Combinatorial Algorithms
Lecture 21 Approximation Algorithms Introduction.
Great Theoretical Ideas in Computer Science.
1 Discrete Structures & Algorithms Graphs and Trees: II EECE 320.
Introduction to Approximation Algorithms Lecture 12: Mar 1.
Approximation Algorithms: Combinatorial Approaches Lecture 13: March 2.
Approximation Algorithms: Concepts Approximation algorithm: An algorithm that returns near-optimal solutions (i.e. is "provably good“) is called an approximation.
A general approximation technique for constrained forest problems Michael X. Goemans & David P. Williamson Presented by: Yonatan Elhanani & Yuval Cohen.
Approximation Algorithms for the Traveling Salesperson Problem.
NP-Complete Problems (Fun part)
9-1 Chapter 9 Approximation Algorithms. 9-2 Approximation algorithm Up to now, the best algorithm for solving an NP-complete problem requires exponential.
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.
Packing Element-Disjoint Steiner Trees Mohammad R. Salavatipour Department of Computing Science University of Alberta Joint with Joseph Cheriyan Department.
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
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.
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 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Martin Grötschel  Institute of Mathematics, Technische Universität Berlin (TUB)  DFG-Research Center “Mathematics for key technologies” (M ATHEON ) 
Approximation Algorithms
Princeton University COS 423 Theory of Algorithms Spring 2001 Kevin Wayne Approximation Algorithms These lecture slides are adapted from CLRS.
Chapter 2 Greedy Strategy I. Independent System Ding-Zhu Du.
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.
Projects Network Theory VLSI PSM 1. Network 1. Steiner trees
Approximation Algorithms for TSP Tsvi Kopelowitz 1.
NP-completeness NP-complete problems. Homework Vertex Cover Instance. A graph G and an integer k. Question. Is there a vertex cover of cardinality k?
Approximation Algorithms Guo QI, Chen Zhenghai, Wang Guanhua, Shen Shiqi, Himeshi De Silva.
Approximation Algorithms by bounding the OPT Instructor Neelima Gupta
Approximation Algorithms Greedy Strategies. I hear, I forget. I learn, I remember. I do, I understand! 2 Max and Min  min f is equivalent to max –f.
Instructor Neelima Gupta Table of Contents Introduction to Approximation Algorithms Factor 2 approximation algorithm for TSP Factor.
Approximation algorithms
TU/e Algorithms (2IL15) – Lecture 11 1 Approximation Algorithms.
Steiner trees: Approximation Algorithms
Introduction to Approximation Algorithms
Optimization problems such as
Lecture 2-2 NP Class.
An introduction to Approximation Algorithms Presented By Iman Sadeghi
School of Computing Clemson University Fall, 2012
Joint work with Frans Schalekamp and Anke van Zuylen
Hamiltonian Cycle and TSP
Hamiltonian Cycle and TSP
Great Theoretical Ideas in Computer Science
Chapter 5. Optimal Matchings
Approximation Algorithms for TSP
Discrete Mathematics for Computer Science
A Constant-Factor Approximation Algorithm for the Asymmetric Traveling Salesman Problem Ola Svensson, Jakub Tarnawski and László A. Végh.
ICS 353: Design and Analysis of 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=vVdeg(v)
Minimum Spanning Trees
Graph Partitioning Problems
Richard Anderson Lecture 28 Coping with NP-Completeness
Linear Programming and Approximation
Approximation Algorithms
András Sebő and Anke van Zuylen
Tree packing, mincut, and Metric-TSP
Lecture 24 Vertex Cover and Hamiltonian Cycle
Presentation transcript:

Exercices series 6 Approximation : constant ratio Part B : TSP Classical TSP s=t, General metric 2. Graph metric ear theorems `graph TSP’ , s=t (S., Vygen) 2014 Submodular functions, matroids matroid intersection and approx. of submod max 3. General s,t path TSP Zenklusen’s 3/2 approx algorithm (April 2018) Exercices series 6 Approximation : constant ratio

Optimal orders s t s-t-Path Travelling Salesman Problem Metric: triangle inequality, satisfied by reasonnable applications, without it: even approx is hard TSP : s=t s-t-Path Travelling Salesman Problem INPUT : V «cities», s , t  V, c: VV  IR+ metric OUTPUT: shortest s-t -Hamiltonian path OPT(c) P(V,s,t) = { xIR+E: x((W)) ≥ 2,  ≠ W V, s, t  W or 1, if s,t separated by W = on vertices (1 for s, t ; else 2 )} min cTx s t OPTLP(c)

Approximation and Integrality ratio For a minimization problem - the approximation ratio is at most  if for any input a solution of value at most OPT can be found in polynomial time. - the integrality gap is at most  if for any input OPT / OPTLP   . Lower bound for integrality gap : graph metrics  ... 1/2 1 2 ... k-1  4 3 s  3 2 s=t 1 t Lower bound for approximation ratio: 123/122 NP-hard (Karpinsky Lampis, Schmied)   Famous Conjectures: integrality gap and approximation ratio  4 3 resp 3 2

1. Classical TSP

Without it no constant ratio (easy from HAM) TSP INPUT : V cities, c: VV  IR+ metric OUTPUT: shortest Hamiltonian circuit Without it no constant ratio (easy from HAM) NP-hard (Karp, 1972) Christofides (1976) Determine: a minimum weight spanning tree Add : Add a minimum TF - join JF to make it Eulerian Shortcut the Eulerian tour

A proof of ratio 2 and two proofs of 3 2 Approximation ratio 2 : Double a min cost spanning tree F and shortcut. Approximation ratio 3 2 : F + JF , where c(F)  OPT , c(JF)  1 2 OPT, since connected, Eulerian  has two disjoint T-joins for all T OPTLP := {min c(x) : xIR+E, x((W)) ≥ 2, for all  ≠ W  V, = for vertices} Theorem (Wolsey ’80, Cunningham 1984) G=(V,E) graph. We find at Not only tighter, but more useful …. BEIRNI HOGY EZ A P most 3 2 OPTLP since c(F)  OPTLP , c(JF)  1 2 OPTLP Proof. xP: E[F ]  x , E[JF]  x/2,; E[F + JF] = E[F ] + E[JF ]

2. Classical TSP with graph metric, and min size Two-edge-connected spanning subgraph

‘Network reliability’ 2-Edge Connected Spanning Subgraph, 2ECSS graph-TSP, graph-TSP paths Minimum cardinality 2-edge-connected spanning subgraph . Def: A graph G=(V,E) is 2-edge-connected, if (V, E \ e ) is connected for all e  E .

Ears G = P0 +P1 + P2 + … + Pk 2-approx for 2ECSS: delete 1-ears! The longer the ears, the smaller the quotient n. of edges / vertices P0 Exploited by Cheriyan, S., Szigeti (1998) for a 17/12 -approx

Matroids C = (S, F) , F P(S) is a matroid if  F F F , F’ F  F’ F F1 , F2  F , |F1| < | F2|   e  F2\ F1 : F1  {e}  F that is, F  F  F is called an independent set. The rank function of M is r : 2S  IN defined as r(X):= max {|F| : F X, F  F } Examples: Forests in graphs, Linearly independent sets , partition matr.

Matroid Intersection Theorem M = (S, F) matroid conv (F : FF) = {xIRS : x (A)  r (A) for all A  S } (Edmonds) maximize { |F| : FF1F2 } =? max { 1T x : x (A)  ri (A) (i=1, 2) for all A  S } Nemalgoritmikusan, intger dual es onnan primal triv, rangfvnyel is, egyszer egy konyvbe … de most alg. Theorem (Edmonds 1979): Polynomial algorithm for both and also if weights are given. max |F| = min r1 (X) + r2 (S \ X) FF1F2 X  S

Matroid Intersection Algorithm Generalization of bipartite matching (of the alternating paths in the « Hungarian method ») |F| = r1 (X) + r2 (S \ X) . Proof of ≥ : that is, there is F and X with We prove that the following algorithm terminates with such an F and X. What is the INPUT ?  ORACLE - rank, independence, etc 0.) Let : FF1F2 maximal by inclusion (greedily) C2C2 1.) Define arcs from unique cycles : x y F C1C1

Approx for submod max mon, size k, f(0)=0, Algorithm (for sets of size k): (Nemhauser, Wolsey) Having X already, WHILE |X|< k choose x that maximizes f(X  {x}) - f(X) Lemma : f(X  {x}) - f(X) ≥ ( f(OPT) – f (X) ) /k Proof: Since mon: f(OPT) ≤ f(OPT U X) ≤ ≤ f(X) + k (f(X  {x}) - f(X) ) Let Xi be what we found until step i. Then f(Xk) - f(Xk-1) ≥ f(OPT) / k - f(Xk-1) / k, so f(Xk) ≥ f(OPT) / k + (1 – 1/k) f(Xk-1) f(Xk) ≥ f(OPT) (1 - (1 – 1/k) k ) ≥ (1-1/e) f(OPT) Tablara : \ge f(OPT) / k szor (1 + (1 – 1/k ) + (1 – 1/k)^2 + (1 – 1/k)^{k-1} = f(OPT)/k szor (1 – 1/k)^k / (1 – (1 – 1/k) )