© B.Raghavachari & J.Veerasamy, UTD 1 Euler tours, postman tours and mixed graphs Jeyakesavan Veerasamy* * Joint work with Balaji Raghavachari Samsung.

Slides:



Advertisements
Similar presentations
Analysis of Algorithms
Advertisements

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.
Instructor Neelima Gupta Table of Contents Approximation Algorithms.
22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
Great Theoretical Ideas in Computer Science for Some.
Approximation Algorithms for TSP
The Subtour LP for the Traveling Salesman Problem (or, What I did on my sabbatical) David P. Williamson Cornell University 11 Oct 2011 Joint work with.
Combinatorial Algorithms
Approximating Graphic TSP with Matchings
Maurizio Patrignani seminar on the paper on the single-source unsplittable flow problem authored by Yefim Dinitz Naveen Garg Michel X. Goemans FOCS ‘98.
1 Discrete Structures & Algorithms Graphs and Trees: II EECE 320.
Approximation Algorithms: Concepts Approximation algorithm: An algorithm that returns near-optimal solutions (i.e. is "provably good“) is called an approximation.
1 Optimization problems such as MAXSAT, MIN NODE COVER, MAX INDEPENDENT SET, MAX CLIQUE, MIN SET COVER, TSP, KNAPSACK, BINPACKING do not have a polynomial.
Approximation Algorithm: Iterative Rounding Lecture 15: March 9.
A general approximation technique for constrained forest problems Michael X. Goemans & David P. Williamson Presented by: Yonatan Elhanani & Yuval Cohen.
Analysis of Algorithms CS 477/677
Approximation Algorithms for the Traveling Salesperson Problem.
Job Scheduling Lecture 19: March 19. Job Scheduling: Unrelated Multiple Machines There are n jobs, each job has: a processing time p(i,j) (the time to.
NP-Complete Problems (Fun part)
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Complexity ©D.Moshkovitz 1 Paths On the Reasonability of Finding Paths in Graphs.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
Management Science 461 Lecture 9 – Arc Routing November 18, 2008.
Theory of Computing Lecture 10 MAS 714 Hartmut Klauck.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
1.3 Modeling with exponentially many constr.  Some strong formulations (or even formulation itself) may involve exponentially many constraints (cutting.
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.
Approximating Minimum Bounded Degree Spanning Tree (MBDST) Mohit Singh and Lap Chi Lau “Approximating Minimum Bounded DegreeApproximating Minimum Bounded.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Advanced Algorithm Design and Analysis (Lecture 13) SW5 fall 2004 Simonas Šaltenis E1-215b
Approximating the Minimum Degree Spanning Tree to within One from the Optimal Degree R 陳建霖 R 宋彥朋 B 楊鈞羽 R 郭慶徵 R
© B.Raghavachari & J.Veerasamy, UTD 1 Approximation Algorithms for Postman Problems Jeyakesavan Veerasamy* * Joint work withBalaji Raghavachari Samsung.
There is a Postman who delivers mail to a certain neighborhood of streets. The postman is unwilling to walk far so he wants to find the shortest route.
CSE 326: Data Structures NP Completeness Ben Lerner Summer 2007.
Princeton University COS 423 Theory of Algorithms Spring 2001 Kevin Wayne Approximation Algorithms These lecture slides are adapted from CLRS.
Data Structures & Algorithms Graphs
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
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.
Integer Programming (정수계획법)
M Clements Formal Network Theory. Introduction Practical problem – The Seven Bridges of Königsberg Network graphs Nodes & edges Degrees Rules/ axioms.
OAR Lib: An Open Source Arc Routing Library By Oliver Lum Advised By Professor Bruce Golden 1.
Approximation Algorithms Guo QI, Chen Zhenghai, Wang Guanhua, Shen Shiqi, Himeshi De Silva.
Approximation Algorithms
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
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.
1 “Graph theory” Course for the master degree program “Geographic Information Systems” Yulia Burkatovskaya Department of Computer Engineering Associate.
Traveling Salesman Problem DongChul Kim HwangRyol Ryu.
CSCI2950-C Genomes, Networks, and Cancer
Optimization problems such as
Routing Through Networks - 1
School of Computing Clemson University Fall, 2012
Joint work with Frans Schalekamp and Anke van Zuylen
Hamiltonian Cycle and TSP
Chapter 5. Optimal Matchings
CS120 Graphs.
1.3 Modeling with exponentially many constr.
Approximation Algorithms for TSP
Integer Programming (정수계획법)
Lecture 19-Problem Solving 4 Incremental Method
1.3 Modeling with exponentially many constr.
Integer Programming (정수계획법)
Approximation Algorithms
Presentation transcript:

© B.Raghavachari & J.Veerasamy, UTD 1 Euler tours, postman tours and mixed graphs Jeyakesavan Veerasamy* * Joint work with Balaji Raghavachari Samsung Telecommunications America, Inc. and The University of Texas at Dallas

© B.Raghavachari & J.Veerasamy, UTD 2 Approximation Algorithms An algorithm for solving a minimization problem that –runs in polynomial time and outputs a feasible solution S –performance ratio = Cost(S) / Cost(Opt) In practice, if problem is NP-hard (intractable), –we can apply exact algorithms (if time permits), or –apply heuristic algorithms and approximation algorithms, and select best solution obtained. Critical part of approximation algorithm analysis is lower- bound analysis of optimal solution Such lower bounds can be used in practice to speed up exact algorithms such as branch and bound, and evaluate performance of heuristic algorithms.

© B.Raghavachari & J.Veerasamy, UTD 3 Euler Tour Problem Find a tour that traverses all edges exactly once. Even degree node A InputOutput A graph is Eulerian if and only if it is connected and the degree of each vertex is even (Euler, 1736!)

© B.Raghavachari & J.Veerasamy, UTD 4 Non-Eulerian graph A B Even degree node Odd degree node Walk starting at A got stuck at B

© B.Raghavachari & J.Veerasamy, UTD 5 Directed Euler Tour Problem A Balanced node Find a tour in a directed graph that traverses all edges exactly once. A directed graph is Eulerian if and only if it is strongly connected and indegree = outdegree at each vertex

© B.Raghavachari & J.Veerasamy, UTD 6 Non-Eulerian Directed Graph A B Balanced node Deficit node Surplus node Walk starting at A got stuck at B

© B.Raghavachari & J.Veerasamy, UTD 7 Chinese Postman Problem (CPP) Find shortest tour visiting all edges at least once. Even-degree node Odd-degree node A InputAugmentedOutput Add a minimum-weight T-join which has odd degree at odd-degree nodes and even-degree at even-degree nodes

© B.Raghavachari & J.Veerasamy, UTD 8 Directed CPP Balanced node Deficit node Surplus node InputOutput Add a minimum-weight subgraph which has outdegree = indegree + surplus at surplus nodes indegree = outdegree + deficit at deficit nodes

© B.Raghavachari & J.Veerasamy, UTD 9 Directed CPP: Another example Balanced node Deficit node Surplus node Output Input

© B.Raghavachari & J.Veerasamy, UTD 10 Mixed Postman Problem (MPP) Balanced node Unbalanced node Solution 1Solution 2 Includes both undirected and directed edges Input NP-hard!

© B.Raghavachari & J.Veerasamy, UTD 11 Applications: City Management Elm Commerce Main Jackson Houston Street cleaning, Mail delivery, Snow removal, Courier delivery route

© B.Raghavachari & J.Veerasamy, UTD 12 Previous work Edmonds, Johnson, 1973 Frederickson, 1979: –Designed two approximation algorithms –Select the best of the two solutions computed –Worst-case performance ratio = 5/3 Christofides, 1984 Ralphs, 1993: Linear Programming formulation Nobert, Picard, 1996: Applied LP-based solution to schedule snow removal in Montreal Raghavachari, Veerasamy, 1998: –Improved Frederickson’s algorithm for MPP –Performance ratio = 3/2

© B.Raghavachari & J.Veerasamy, UTD 13 Properties of Eulerian Graphs Even-degree condition: degree of each node is even Balanced set condition: For any cut (S, V \ S), the difference between number of directed edges crossing cut in each direction is at most the number of undirected edges crossing cut Eulerian mixed graphs can be detected in polynomial time SV \ S Given a graph satisfying even-degree condition, Frederickson showed how to find minimum-cost augmentation to make it Eulerian.

© B.Raghavachari & J.Veerasamy, UTD 14 Even-degree mixed graphs Solve flow problem and obtain IN = OUT at every node Consider undirected edges and duplicated edges only Traverse cycles formed by these edges and correct parity Balanced node Unbalanced node

© B.Raghavachari & J.Veerasamy, UTD 15 Input G Frederickson’s Algorithm (Part 1) Match Flow H Even parity Solution S 1 C(H)  C(Opt) C(S 1 )  C(Opt) + 2C(D) Balanced node Unbalanced node

© B.Raghavachari & J.Veerasamy, UTD 16 Frederickson’s Algorithm (Part 2) Input G FlowDouble C(Opt)  C(D) + C(U) C(S 2 )  C(D) + 2C(U)  2C(Opt) - C(D) Solution S 2 Solution S = min(S 1, S 2 ) C(S)  5/3 C(Opt) D U

© B.Raghavachari & J.Veerasamy, UTD 17 Remarks Input G Flow IN=OUT Directed edges D Undirected edges U Cost(Opt)  C(D) + C(U) D may contain any number of copies of edges in G. H is obtained from G by adding a T-join of odd-degree nodes, ignoring the directions. If H-G contains only edges of D: C(S 1 )  2C(D) + C(U) C(S)  (3/2) C(Opt) Flow augmentation cost C IO (G) = C(D) + C(U) - C(G)

© B.Raghavachari & J.Veerasamy, UTD 18 Idea for Improvement Modify computation of S 1 as follows: –When H is computed, make cost of edges in D to be 0. –T-join prefers edges of D to U. Problem: We may be forced to duplicate some edges of U. Components of D may have odd-number of odd-degree nodes

© B.Raghavachari & J.Veerasamy, UTD 19 Improved lower bound Shrink each directed component to a single node, and compute T-join between odd degree components. X, subset of U, forms the T-join. Optimal solution also has to pay C(X) to satisfy even degree condition. If we can prove that adding X to G does not decrease Flow augmentation cost, then C(Opt)  C(D) + C(U) + C(X)

© B.Raghavachari & J.Veerasamy, UTD 20 Lower bound proof Input GNew input H INOUT solution Can C IO (H) < C IO (G)? No. In fact, adding any edge in U does not decrease INOUT augmentation cost. Alternating cycle x

© B.Raghavachari & J.Veerasamy, UTD 21 Our Mixed algorithm (part 2) Input G FlowDouble C(Opt)  C(D) + C(U) C(S 2 )  C(D) + 2C(U)  2C(Opt) - C(D) Solution S 2 D U

© B.Raghavachari & J.Veerasamy, UTD 22 Input G Our Mixed Algorithm (part 1) Match Flow H Even parity Solution S 1 C(S 1 )  C(U) + C(X) + 2C(D)  C(Opt) + C(D) Balanced node Unbalanced node Solution S = min(S 1, S 2 ) C(S)  3/2 C(Opt) X

© B.Raghavachari & J.Veerasamy, UTD 23 Performance of Algorithms C(D) Cost of solution C(Opt) 2C(Opt) C(new S 1 ) C(S 2 ) C(S 1 ) C(Opt)

© B.Raghavachari & J.Veerasamy, UTD 24 Concluding Remarks Worst case performance ratio for our algorithm is 1.5 (Analysis is tight). Windy Postman Problem: Asymmetric version of MPP LP relaxation of WPP is half-integral - gives 2 approximation algorithm. Recently we have improved ratio of WPP to 1.5 Open: Improvements? Planar Graphs? U V C(U,V)  C(V,U)

© B.Raghavachari & J.Veerasamy, UTD 25 Further Research Explore MPP with additional constraints: –duplicate only undirected edges –duplicate only directed edges Explore shortest path problem in mixed graphs when negative costs are allowed. Implement a few heuristic algorithms and analyze the performance.