Covering Graphs using Trees and Stars p.1
|
|
- Calvin Bryan
- 6 years ago
- Views:
Transcription
1 Covering Graphs using Trees and Stars Amitabh Sinha GSIA, Carnegie Mellon University (Work done while visiting MPII Saarbrucken, Germany) Covering Graphs using Trees and Stars p.1
2 Covering Graphs using Trees and Stars Joint work with G. Even Amitabh Sinha GSIA, Carnegie Mellon University (Work done while visiting MPII Saarbrucken, Germany) Covering Graphs using Trees and Stars p.1
3 Covering Graphs using Trees and Stars Amitabh Sinha Joint work with G. Even N. Garg GSIA, Carnegie Mellon University (Work done while visiting MPII Saarbrucken, Germany) Covering Graphs using Trees and Stars p.1
4 Covering Graphs using Trees and Stars Amitabh Sinha Joint work with G. Even N. Garg J. Könemann GSIA, Carnegie Mellon University (Work done while visiting MPII Saarbrucken, Germany) Covering Graphs using Trees and Stars p.1
5 Covering Graphs using Trees and Stars Amitabh Sinha Joint work with G. Even N. Garg J. Könemann R. Ravi GSIA, Carnegie Mellon University (Work done while visiting MPII Saarbrucken, Germany) Covering Graphs using Trees and Stars p.1
6 Motivation: Nurse station location Hospital; k nurses (each with her own station); n patients in various beds. Covering Graphs using Trees and Stars p.2
7 Motivation: Nurse station location Hospital; k nurses (each with her own station); n patients in various beds. At 8 am, each nurse begins her morning round of patients under her care. Covering Graphs using Trees and Stars p.2
8 Motivation: Nurse station location Hospital; k nurses (each with her own station); n patients in various beds. At 8 am, each nurse begins her morning round of patients under her care. Morning round ends when all nurses have returned to their bases. Covering Graphs using Trees and Stars p.2
9 Motivation: Nurse station location Hospital; k nurses (each with her own station); n patients in various beds. At 8 am, each nurse begins her morning round of patients under her care. Morning round ends when all nurses have returned to their bases. Objective: Assign patients to nurses so that morning rounds end ASAP. Covering Graphs using Trees and Stars p.2
10 Problem definition Input: Graph G = (V, E), edge weights w, integer k. INPUT Covering Graphs using Trees and Stars p.3
11 Problem definition Input: Graph G = (V, E), edge weights w, integer k. k-tree cover: Set of trees {T 1, T 2,..., T k } such that k i=1 V (T i) = V. INPUT Covering Graphs using Trees and Stars p.3
12 Problem definition Input: Graph G = (V, E), edge weights w, integer k. k-tree cover: Set of trees {T 1, T 2,..., T k } such that k i=1 V (T i) = V. FEASIBLE SOLUTION Covering Graphs using Trees and Stars p.3
13 Problem definition Input: Graph G = (V, E), edge weights w, integer k. k-tree cover: Set of trees {T 1, T 2,..., T k } such that k i=1 V (T i) = V. Objective: Minimize max i w(t i ). FEASIBLE SOLUTION Covering Graphs using Trees and Stars p.3
14 Problem definition Input: Graph G = (V, E), edge weights w, integer k. k-tree cover: Set of trees {T 1, T 2,..., T k } such that k i=1 V (T i) = V. Objective: Minimize max i w(t i ). Rooted version: Given roots R V, find a k-tree cover with each tree using a distinct root in R. Roots INPUT Covering Graphs using Trees and Stars p.3
15 Problem definition Input: Graph G = (V, E), edge weights w, integer k. k-tree cover: Set of trees {T 1, T 2,..., T k } such that k i=1 V (T i) = V. Objective: Minimize max i w(t i ). Rooted version: Given roots R V, find a k-tree cover with each tree using a distinct root in R. Roots INPUT Covering Graphs using Trees and Stars p.3
16 Problem definition Input: Graph G = (V, E), edge weights w, integer k. k-tree cover: Set of trees {T 1, T 2,..., T k } such that k i=1 V (T i) = V. Objective: Minimize max i w(t i ). Rooted version: Given roots R V, find a k-tree cover with each tree using a distinct root in R. Star cover: Cover with stars, same objective; may be rooted or unrooted. Roots INPUT Covering Graphs using Trees and Stars p.3
17 Hardness (of rooted k-star cover) Reduction from BIN-PACK: Given elements U with sizes s u, k bins of size B. Can we pack elements in k bins? BINS OBJECTS SIZES BIN PACK 8 Covering Graphs using Trees and Stars p.4
18 Hardness (of rooted k-star cover) Reduction from BIN-PACK: Given elements U with sizes s u, k bins of size B. Can we pack elements in k bins? Convert to Rooted k-star cover: Complete bipartite graph between elements and bins, edge weights = element sizes, bins = roots ROOTS VERTICES (Complete bipartite) Rooted k Star cover Covering Graphs using Trees and Stars p.4
19 Hardness (of rooted k-star cover) Reduction from BIN-PACK: Given elements U with sizes s u, k bins of size B. Can we pack elements in k bins? Convert to Rooted k-star cover: Complete bipartite graph between elements and bins, edge weights = element sizes, bins = roots. Claim: BIN-PACK is identical to this special case of Rooted k-star cover. ROOTS Solution VERTICES Covering Graphs using Trees and Stars p.4
20 Hardness of others Also by reduction from BIN-PACK Key: Poly time algorithm to convert any solution to Rooted k- star cover solution without increasing cost. (In BIN-PACK graph.) ROOTS Solution VERTICES Covering Graphs using Trees and Stars p.5
21 Hardness of others Also by reduction from BIN-PACK Key: Poly time algorithm to convert any solution to Rooted k- star cover solution without increasing cost. (In BIN-PACK graph.) ROOTS Solution VERTICES Covering Graphs using Trees and Stars p.5
22 Hardness of others Also by reduction from BIN-PACK Key: Poly time algorithm to convert any solution to Rooted k- star cover solution without increasing cost. (In BIN-PACK graph.) ROOTS Solution VERTICES Covering Graphs using Trees and Stars p.5
23 Hardness of others Also by reduction from BIN-PACK Key: Poly time algorithm to convert any solution to Rooted k- star cover solution without increasing cost. (In BIN-PACK graph.) ROOTS Solution VERTICES Covering Graphs using Trees and Stars p.5
24 Hardness of others Also by reduction from BIN-PACK Key: Poly time algorithm to convert any solution to Rooted k- star cover solution without increasing cost. (In BIN-PACK graph.) ROOTS Solution VERTICES Covering Graphs using Trees and Stars p.5
25 Algorithm for Rooted k-tree cover Guess-and-check type algorithm. Covering Graphs using Trees and Stars p.6
26 Algorithm for Rooted k-tree cover Guess-and-check type algorithm. Guess optimal solution cost B. Let true optimum be B. If fail, then proof that B < B. If success, then find solution of cost no more than 4B. Covering Graphs using Trees and Stars p.6
27 Algorithm for Rooted k-tree cover Guess-and-check type algorithm. Guess optimal solution cost B. Let true optimum be B. If fail, then proof that B < B. If success, then find solution of cost no more than 4B. Binary search yields (weakly) polynomial time 4-approximation algorithm. Covering Graphs using Trees and Stars p.6
28 Algorithm for Rooted k-tree cover Guess-and-check type algorithm. Guess optimal solution cost B. Let true optimum be B. If fail, then proof that B < B. If success, then find solution of cost no more than 4B. Binary search yields (weakly) polynomial time 4-approximation algorithm. Can be made strongly polynomial; approximation ratio worsens to 4 + ɛ. Covering Graphs using Trees and Stars p.6
29 Algorithm: Overview Given B, set of roots R, and G. 1. Remove all edges with w e > B. Covering Graphs using Trees and Stars p.7
30 Algorithm: Overview Given B, set of roots R, and G. 1. Remove all edges with w e > B. 2. Contract R; compute MST M. {T i } i := forest obtained by expanding R. Covering Graphs using Trees and Stars p.7
31 Algorithm: Overview Given B, set of roots R, and G. 1. Remove all edges with w e > B. 2. Contract R; compute MST M. {T i } i := forest obtained by expanding R. 3. Decompose each T i into trees {S j i }j + L i s.t. w(s j i ) [B, 2B) and w(l i) < B. Covering Graphs using Trees and Stars p.7
32 Algorithm: Overview Given B, set of roots R, and G. 1. Remove all edges with w e > B. 2. Contract R; compute MST M. {T i } i := forest obtained by expanding R. 3. Decompose each T i into trees {S j i }j + L i s.t. w(s j i ) [B, 2B) and w(l i) < B. 4. Match trees {S j i }j i to roots in R within distance B from it. If possible, return success. If impossible, return fail. Covering Graphs using Trees and Stars p.7
33 Algorithm: Demonstration 1. Prune. Roots INPUT Covering Graphs using Trees and Stars p.8
34 Algorithm: Demonstration 1. Prune. 2. Contract R, compute MST. CONTRACTED ROOTS Roots Covering Graphs using Trees and Stars p.8
35 Algorithm: Demonstration 1. Prune. 2. Contract R, compute MST. Roots MST Covering Graphs using Trees and Stars p.8
36 Algorithm: Demonstration 1. Prune. 2. Contract R, compute MST. Expanded MST Roots Covering Graphs using Trees and Stars p.8
37 Algorithm: Demonstration 1. Prune. 2. Contract R, compute MST. 3. Decompose. Decompose into light trees Roots Covering Graphs using Trees and Stars p.8
38 Algorithm: Demonstration 1. Prune. 2. Contract R, compute MST. 3. Decompose. 4. Match. Match success? Roots Covering Graphs using Trees and Stars p.8
39 Algorithm: Success Claim: On success, each tree has cost no more than 4B. Covering Graphs using Trees and Stars p.9
40 Algorithm: Success Claim: On success, each tree has cost no more than 4B. Proof: Each tree in our solution has 3 components: Decomposed tree S j i, cost 2B. Covering Graphs using Trees and Stars p.9
41 Algorithm: Success Claim: On success, each tree has cost no more than 4B. Proof: Each tree in our solution has 3 components: Decomposed tree S j i, cost 2B. Edge to root, cost B. Covering Graphs using Trees and Stars p.9
42 Algorithm: Success Claim: On success, each tree has cost no more than 4B. Proof: Each tree in our solution has 3 components: Decomposed tree S j i, cost 2B. Edge to root, cost B. Leftover tree L i, cost B. Covering Graphs using Trees and Stars p.9
43 Algorithm: Failure Lemma: On failure (matching does not exist), B < B. Covering Graphs using Trees and Stars p.10
44 Algorithm: Failure Lemma: On failure (matching does not exist), B < B. Alternatively: If B B, matching exists. Covering Graphs using Trees and Stars p.10
45 Algorithm: Failure Lemma: On failure (matching does not exist), B < B. Alternatively: If B B, matching exists. Proof: Hall s Theorem: We show N(S) S for all S {S j i }j i. Covering Graphs using Trees and Stars p.10
46 Algorithm: Failure Lemma: On failure (matching does not exist), B < B. Alternatively: If B B, matching exists. Proof: Hall s Theorem: We show N(S) S for all S {S j i }j i. Consider optimal solution T = {T1,..., T k }. Let T (S) = T S. Hence N(S) T (S). Covering Graphs using Trees and Stars p.10
47 Algorithm: Failure Lemma: On failure (matching does not exist), B < B. Alternatively: If B B, matching exists. Proof: Hall s Theorem: We show N(S) S for all S {S j i }j i. Consider optimal solution T = {T1,..., T k }. Let T (S) = T S. Hence N(S) T (S). Deleting all edges in S and adding all edges in T (S) also yields a spanning tree of G, and since our tree was MST, w(t (S)) w(s). Covering Graphs using Trees and Stars p.10
48 Algorithm: Failure Lemma: On failure (matching does not exist), B < B. Alternatively: If B B, matching exists. Proof: Hall s Theorem: We show N(S) S for all S {S j i }j i. Consider optimal solution T = {T1,..., T k }. Let T (S) = T S. Hence N(S) T (S). Deleting all edges in S and adding all edges in T (S) also yields a spanning tree of G, and since our tree was MST, w(t (S)) w(s). B N(S) B T (S) w(t (S)) w(s) B S. Covering Graphs using Trees and Stars p.10
49 Strongly polynomial algorithm Fix ɛ > 0. Sort edges w 1 w 2... w m. Covering Graphs using Trees and Stars p.11
50 Strongly polynomial algorithm Fix ɛ > 0. Sort edges w 1 w 2... w m. If algorithm says w m = B < B, then contract all edges of weight at most ɛw m n 2. Now binary search in range, nw m ], which is polynomial. [ ɛw m n 2 Covering Graphs using Trees and Stars p.11
51 Strongly polynomial algorithm Fix ɛ > 0. Sort edges w 1 w 2... w m. If algorithm says w m = B < B, then contract all edges of weight at most ɛw m n 2. Now binary search in range, nw m ], which is polynomial. [ ɛw m n 2 Otherwise, find i such that B (w i, 4w i+1 ]. Covering Graphs using Trees and Stars p.11
52 Strongly polynomial algorithm Fix ɛ > 0. Sort edges w 1 w 2... w m. If algorithm says w m = B < B, then contract all edges of weight at most ɛw m n 2. Now binary search in range, nw m ], which is polynomial. [ ɛw m n 2 Otherwise, find i such that B (w i, 4w i+1 ]. If w i+1 w i n2 ɛ, binary search in above range is polynomial. Covering Graphs using Trees and Stars p.11
53 Strongly polynomial algorithm Fix ɛ > 0. Sort edges w 1 w 2... w m. If algorithm says w m = B < B, then contract all edges of weight at most ɛw m n 2. Now binary search in range, nw m ], which is polynomial. [ ɛw m n 2 Otherwise, find i such that B (w i, 4w i+1 ]. If w i+1 w i n2 ɛ, binary search in above range is polynomial. If not, set w = n 2 w i /ɛ. If B [w i, w ], then polynomial. Covering Graphs using Trees and Stars p.11
54 Strongly polynomial algorithm Fix ɛ > 0. Sort edges w 1 w 2... w m. If algorithm says w m = B < B, then contract all edges of weight at most ɛw m n 2. Now binary search in range, nw m ], which is polynomial. [ ɛw m n 2 Otherwise, find i such that B (w i, 4w i+1 ]. If w i+1 w i n2 ɛ, binary search in above range is polynomial. If not, set w = n 2 w i /ɛ. If B [w i, w ], then polynomial. If not, then contract all edges of weight at most w i. Now binary search in [w i+1, 4w i+1 ] is polynomial. Covering Graphs using Trees and Stars p.11
55 Algorithm for Unrooted k-tree cover 1. Prune edges w e > B. Let {G i } i be components. Long edges pruned Covering Graphs using Trees and Stars p.12
56 Algorithm for Unrooted k-tree cover 1. Prune edges w e > B. Let {G i } i be components. 2. MST i = MST of G i. k i = w(mst i) 2B. MST Covering Graphs using Trees and Stars p.12
57 Algorithm for Unrooted k-tree cover 1. Prune edges w e > B. Let {G i } i be components. 2. MST i = MST of G i. k i = w(mst i) 2B. 3. If i (k i + 1) > k, return fail. MST Covering Graphs using Trees and Stars p.12
58 Algorithm for Unrooted k-tree cover 1. Prune edges w e > B. Let {G i } i be components. 2. MST i = MST of G i. k i = w(mst i) 2B. 3. If i (k i + 1) > k, return fail. 4. Decompose each MST i into at most k i +1 trees Si Sk i i +L i such that w(s j i ) [2B, 4B) and w(l i ) < 2B. Return success. Final solution Covering Graphs using Trees and Stars p.12
59 Analysis Claim: On success, each tree has weight no more than 4B. Covering Graphs using Trees and Stars p.13
60 Analysis Claim: On success, each tree has weight no more than 4B. Claim: On failure, B < B. Covering Graphs using Trees and Stars p.13
61 Analysis Claim: On success, each tree has weight no more than 4B. Claim: On failure, B < B. Alternatively, if B B, then k i + 1 k i for all i. Covering Graphs using Trees and Stars p.13
62 Analysis Claim: On success, each tree has weight no more than 4B. Claim: On failure, B < B. Alternatively, if B B, then k i + 1 k i for all i. Proof: Let optimal solution cover G i with {T1,..., T k }. We i can make it span G i by adding at most ki + 1 edges, so:. k i j=1 w(t i ) + (k i 1)B w(mst i) Covering Graphs using Trees and Stars p.13
63 Analysis Claim: On success, each tree has weight no more than 4B. Claim: On failure, B < B. Alternatively, if B B, then k i + 1 k i for all i. Proof: Let optimal solution cover G i with {T1,..., T k }. We i can make it span G i by adding at most ki + 1 edges, so:. k i j=1 w(t i ) + (k i 1)B w(mst i) Therefore k i w(mst i) 2B > k i. Covering Graphs using Trees and Stars p.13
64 Extensions and conclusion Rooted k-star cover: Reduces to Generalized Assignment problem, yields a 2-approximation. Covering Graphs using Trees and Stars p.14
65 Extensions and conclusion Rooted k-star cover: Reduces to Generalized Assignment problem, yields a 2-approximation. Unrooted k-star cover: LP rounding gives bicriteria approximation: Covers with 2k stars, each costing no more than twice the optimum. Covering Graphs using Trees and Stars p.14
66 Extensions and conclusion Rooted k-star cover: Reduces to Generalized Assignment problem, yields a 2-approximation. Unrooted k-star cover: LP rounding gives bicriteria approximation: Covers with 2k stars, each costing no more than twice the optimum. Tree cover algorithms also yield constant factor approximations for tour cover, the original nursing station location problem. Covering Graphs using Trees and Stars p.14
67 Extensions and conclusion Rooted k-star cover: Reduces to Generalized Assignment problem, yields a 2-approximation. Unrooted k-star cover: LP rounding gives bicriteria approximation: Covers with 2k stars, each costing no more than twice the optimum. Tree cover algorithms also yield constant factor approximations for tour cover, the original nursing station location problem. Questions? Covering Graphs using Trees and Stars p.14
68
Computer Science is no more about computers than astronomy is about telescopes. E. W. Dijkstra.
Computer Science is no more about computers than astronomy is about telescopes E. W. Dijkstra. University of Alberta Improved approximation algorithms for Min-Max Tree Cover, Bounded Tree Cover, Shallow-Light
More informationGraph Algorithms Matching
Chapter 5 Graph Algorithms Matching Algorithm Theory WS 2012/13 Fabian Kuhn Circulation: Demands and Lower Bounds Given: Directed network, with Edge capacities 0and lower bounds l for Node demands for
More informationTheorem 2.9: nearest addition algorithm
There are severe limits on our ability to compute near-optimal tours It is NP-complete to decide whether a given undirected =(,)has a Hamiltonian cycle An approximation algorithm for the TSP can be used
More informationIterative Methods in Combinatorial Optimization. R. Ravi Carnegie Bosch Professor Tepper School of Business Carnegie Mellon University
Iterative Methods in Combinatorial Optimization R. Ravi Carnegie Bosch Professor Tepper School of Business Carnegie Mellon University ravi@cmu.edu Combinatorial Optimization Easy Problems : polynomial
More informationModule 6 NP-Complete Problems and Heuristics
Module 6 NP-Complete Problems and Heuristics Dr. Natarajan Meghanathan Professor of Computer Science Jackson State University Jackson, MS 39217 E-mail: natarajan.meghanathan@jsums.edu P, NP-Problems Class
More informationA 4-Approximation Algorithm for k-prize Collecting Steiner Tree Problems
arxiv:1802.06564v1 [cs.cc] 19 Feb 2018 A 4-Approximation Algorithm for k-prize Collecting Steiner Tree Problems Yusa Matsuda and Satoshi Takahashi The University of Electro-Communications, Japan February
More informationApproximation Algorithms for Degree-Constrained Minimum-Cost Network-Design Problems
Approximation Algorithms for Degree-Constrained Minimum-Cost Network-Design Problems R. RAVI DANIEL J. ROSENKRANTZ MADHAV V. MARATHE S. S. RAVI HARRY B. HUNT III Abstract We study network-design problems
More informationModule 6 NP-Complete Problems and Heuristics
Module 6 NP-Complete Problems and Heuristics Dr. Natarajan Meghanathan Professor of Computer Science Jackson State University Jackson, MS 397 E-mail: natarajan.meghanathan@jsums.edu Optimization vs. Decision
More informationModule 6 P, NP, NP-Complete Problems and Approximation Algorithms
Module 6 P, NP, NP-Complete Problems and Approximation Algorithms Dr. Natarajan Meghanathan Associate Professor of Computer Science Jackson State University Jackson, MS 39217 E-mail: natarajan.meghanathan@jsums.edu
More informationThe k-center problem Approximation Algorithms 2009 Petros Potikas
Approximation Algorithms 2009 Petros Potikas 1 Definition: Let G=(V,E) be a complete undirected graph with edge costs satisfying the triangle inequality and k be an integer, 0 < k V. For any S V and vertex
More informationApproximation Algorithms
Approximation Algorithms Given an NP-hard problem, what should be done? Theory says you're unlikely to find a poly-time algorithm. Must sacrifice one of three desired features. Solve problem to optimality.
More informationDual-fitting analysis of Greedy for Set Cover
Dual-fitting analysis of Greedy for Set Cover We showed earlier that the greedy algorithm for set cover gives a H n approximation We will show that greedy produces a solution of cost at most H n OPT LP
More information1 The Traveling Salesperson Problem (TSP)
CS 598CSC: Approximation Algorithms Lecture date: January 23, 2009 Instructor: Chandra Chekuri Scribe: Sungjin Im In the previous lecture, we had a quick overview of several basic aspects of approximation
More informationSteiner Trees and Forests
Massachusetts Institute of Technology Lecturer: Adriana Lopez 18.434: Seminar in Theoretical Computer Science March 7, 2006 Steiner Trees and Forests 1 Steiner Tree Problem Given an undirected graph G
More informationChapter 5 Graph Algorithms Algorithm Theory WS 2012/13 Fabian Kuhn
Chapter 5 Graph Algorithms Algorithm Theory WS 2012/13 Fabian Kuhn Graphs Extremely important concept in computer science Graph, : node (or vertex) set : edge set Simple graph: no self loops, no multiple
More informationGreedy algorithms Or Do the right thing
Greedy algorithms Or Do the right thing March 1, 2005 1 Greedy Algorithm Basic idea: When solving a problem do locally the right thing. Problem: Usually does not work. VertexCover (Optimization Version)
More informationImproving Minimum Cost Spanning Trees by Upgrading Nodes
0 2 7 5 8 6 Improving Minimum Cost Spanning Trees by Upgrading Nodes S. O. Krumke M. V. Marathe H. Noltemeier R. Ravi S. S. Ravi R. Sundaram H.-C. Wirth Abstract We study budget constrained network upgrading
More information14 More Graphs: Euler Tours and Hamilton Cycles
14 More Graphs: Euler Tours and Hamilton Cycles 14.1 Degrees The degree of a vertex is the number of edges coming out of it. The following is sometimes called the First Theorem of Graph Theory : Lemma
More informationModule 6 NP-Complete Problems and Heuristics
Module 6 NP-Complete Problems and Heuristics Dr. Natarajan Meghanathan Professor of Computer Science Jackson State University Jackson, MS 97 E-mail: natarajan.meghanathan@jsums.edu Optimization vs. Decision
More information15-451/651: Design & Analysis of Algorithms November 4, 2015 Lecture #18 last changed: November 22, 2015
15-451/651: Design & Analysis of Algorithms November 4, 2015 Lecture #18 last changed: November 22, 2015 While we have good algorithms for many optimization problems, the previous lecture showed that many
More informationOptimization Under Uncertainty
Optimization Under Uncertainty Vineet Goyal Submitted in partial fulfillment of the requirements of the degree of Doctor of Philosophy in Algorithms, Combinatorics and Optimization August 2008 Tepper School
More informationStochastic Steiner Tree with Non-Uniform Inflation
Stochastic Steiner Tree with Non-Uniform Inflation Anupam Gupta 1, MohammadTaghi Hajiaghayi 2, and Amit Kumar 3 1 Computer Science Department, Carnegie Mellon University, Pittsburgh PA 15213. Supported
More informationApproximation Algorithms
Chapter 8 Approximation Algorithms Algorithm Theory WS 2016/17 Fabian Kuhn Approximation Algorithms Optimization appears everywhere in computer science We have seen many examples, e.g.: scheduling jobs
More informationCS 4407 Algorithms. Lecture 8: Circumventing Intractability, using Approximation and other Techniques
CS 4407 Algorithms Lecture 8: Circumventing Intractability, using Approximation and other Techniques Prof. Gregory Provan Department of Computer Science University College Cork CS 4010 1 Lecture Outline
More informationNotes for Lecture 24
U.C. Berkeley CS170: Intro to CS Theory Handout N24 Professor Luca Trevisan December 4, 2001 Notes for Lecture 24 1 Some NP-complete Numerical Problems 1.1 Subset Sum The Subset Sum problem is defined
More information2. Optimization problems 6
6 2.1 Examples... 7... 8 2.3 Convex sets and functions... 9 2.4 Convex optimization problems... 10 2.1 Examples 7-1 An (NP-) optimization problem P 0 is defined as follows Each instance I P 0 has a feasibility
More informationApproximation Algorithms
Approximation Algorithms Subhash Suri November 27, 2017 1 Bin Packing Algorithms A classical problem, with long and interesting history. One of the early problems shown to be intractable. Lends to simple
More informationAn Efficient Approximation for the Generalized Assignment Problem
An Efficient Approximation for the Generalized Assignment Problem Reuven Cohen Liran Katzir Danny Raz Department of Computer Science Technion Haifa 32000, Israel Abstract We present a simple family of
More informationBicriteria Network Design via Iterative Rounding
Bicriteria Network Design via Iterative Rounding Piotr Krysta Department of Computer Science, Dortmund University Baroper Str. 301, 44221 Dortmund, Germany piotr.krysta@cs.uni-dortmund.de Abstract. We
More informationLecture Notes on Congestion Games
Lecture Notes on Department of Computer Science RWTH Aachen SS 2005 Definition and Classification Description of n agents share a set of resources E strategy space of player i is S i 2 E latency for resource
More informationApproximation Algorithms for Finding Low-Degree Subgraphs
Approximation Algorithms for Finding Low-Degree Subgraphs Philip N. Klein Department of Computer Science, Box 1910, Brown University, Providence, Rhode Island 02912-1910 Radha Krishnan and Balaji Raghavachari
More informationAPPROXIMATION ALGORITHMS FOR GEOMETRIC PROBLEMS
APPROXIMATION ALGORITHMS FOR GEOMETRIC PROBLEMS Subhas C. Nandy (nandysc@isical.ac.in) Advanced Computing and Microelectronics Unit Indian Statistical Institute Kolkata 70010, India. Organization Introduction
More informationImproved Approximations for Graph-TSP in Regular Graphs
Improved Approximations for Graph-TSP in Regular Graphs R Ravi Carnegie Mellon University Joint work with Uriel Feige (Weizmann), Jeremy Karp (CMU) and Mohit Singh (MSR) 1 Graph TSP Given a connected unweighted
More informationMatching Based Augmentations for Approximating Connectivity Problems
Matching Based Augmentations for Approximating Connectivity Problems R. Ravi Tepper School of Business, Carnegie Mellon University, Pittsburgh, PA 15213 ravi@cmu.edu Abstract. We describe a very simple
More informationCoping with NP-Completeness
Coping with NP-Completeness Siddhartha Sen Questions: sssix@cs.princeton.edu Some figures obtained from Introduction to Algorithms, nd ed., by CLRS Coping with intractability Many NPC problems are important
More informationCS 580: Algorithm Design and Analysis. Jeremiah Blocki Purdue University Spring 2018
CS 580: Algorithm Design and Analysis Jeremiah Blocki Purdue University Spring 2018 Chapter 11 Approximation Algorithms Slides by Kevin Wayne. Copyright @ 2005 Pearson-Addison Wesley. All rights reserved.
More information11. APPROXIMATION ALGORITHMS
11. APPROXIMATION ALGORITHMS load balancing center selection pricing method: vertex cover LP rounding: vertex cover generalized load balancing knapsack problem Lecture slides by Kevin Wayne Copyright 2005
More informationCOMP Analysis of Algorithms & Data Structures
COMP 3170 - Analysis of Algorithms & Data Structures Shahin Kamali Approximation Algorithms CLRS 35.1-35.5 University of Manitoba COMP 3170 - Analysis of Algorithms & Data Structures 1 / 30 Approaching
More informationSURVIVABLE NETWORK DESIGN WITH DEGREE OR ORDER CONSTRAINTS
SURVIVABLE NETWORK DESIGN WITH DEGREE OR ORDER CONSTRAINTS LAP CHI LAU, JOSEPH (SEFFI) NAOR, MOHAMMAD R. SALAVATIPOUR, AND MOHIT SINGH Abstract. We present algorithmic and hardness results for network
More informationAn O(log n/ log log n)-approximation Algorithm for the Asymmetric Traveling Salesman Problem
An O(log n/ log log n)-approximation Algorithm for the Asymmetric Traveling Salesman Problem and more recent developments CATS @ UMD April 22, 2016 The Asymmetric Traveling Salesman Problem (ATSP) Problem
More informationIn this lecture, we ll look at applications of duality to three problems:
Lecture 7 Duality Applications (Part II) In this lecture, we ll look at applications of duality to three problems: 1. Finding maximum spanning trees (MST). We know that Kruskal s algorithm finds this,
More informationUnit 8: Coping with NP-Completeness. Complexity classes Reducibility and NP-completeness proofs Coping with NP-complete problems. Y.-W.
: Coping with NP-Completeness Course contents: Complexity classes Reducibility and NP-completeness proofs Coping with NP-complete problems Reading: Chapter 34 Chapter 35.1, 35.2 Y.-W. Chang 1 Complexity
More informationGraphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs
Graphs and Network Flows IE411 Lecture 21 Dr. Ted Ralphs IE411 Lecture 21 1 Combinatorial Optimization and Network Flows In general, most combinatorial optimization and integer programming problems are
More informationBasic Approximation algorithms
Approximation slides Basic Approximation algorithms Guy Kortsarz Approximation slides 2 A ρ approximation algorithm for problems that we can not solve exactly Given an NP-hard question finding the optimum
More informationChapter 9 Graph Algorithms
Chapter 9 Graph Algorithms 2 Introduction graph theory useful in practice represent many real-life problems can be slow if not careful with data structures 3 Definitions an undirected graph G = (V, E)
More informationNP Completeness. Andreas Klappenecker [partially based on slides by Jennifer Welch]
NP Completeness Andreas Klappenecker [partially based on slides by Jennifer Welch] Dealing with NP-Complete Problems Dealing with NP-Completeness Suppose the problem you need to solve is NP-complete. What
More informationTraveling Salesman Problem (TSP) Input: undirected graph G=(V,E), c: E R + Goal: find a tour (Hamiltonian cycle) of minimum cost
Traveling Salesman Problem (TSP) Input: undirected graph G=(V,E), c: E R + Goal: find a tour (Hamiltonian cycle) of minimum cost Traveling Salesman Problem (TSP) Input: undirected graph G=(V,E), c: E R
More informationCS 598CSC: Approximation Algorithms Lecture date: March 2, 2011 Instructor: Chandra Chekuri
CS 598CSC: Approximation Algorithms Lecture date: March, 011 Instructor: Chandra Chekuri Scribe: CC Local search is a powerful and widely used heuristic method (with various extensions). In this lecture
More informationCharacterizations of graph classes by forbidden configurations
Characterizations of graph classes by forbidden configurations Zdeněk Dvořák September 14, 2015 We consider graph classes that can be described by excluding some fixed configurations. Let us give some
More informationCS261: A Second Course in Algorithms Lecture #16: The Traveling Salesman Problem
CS61: A Second Course in Algorithms Lecture #16: The Traveling Salesman Problem Tim Roughgarden February 5, 016 1 The Traveling Salesman Problem (TSP) In this lecture we study a famous computational problem,
More informationPTAS for Matroid Matching
PTAS for Matroid Matching Jon Lee 1 Maxim Sviridenko 1 Jan Vondrák 2 1 IBM Watson Research Center Yorktown Heights, NY 2 IBM Almaden Research Center San Jose, CA May 6, 2010 Jan Vondrák (IBM Almaden) PTAS
More information11/22/2016. Chapter 9 Graph Algorithms. Introduction. Definitions. Definitions. Definitions. Definitions
Introduction Chapter 9 Graph Algorithms graph theory useful in practice represent many real-life problems can be slow if not careful with data structures 2 Definitions an undirected graph G = (V, E) is
More informationSurvivable Network Design with Degree or Order Constraints
Survivable Network Design with Degree or Order Constraints [Extended Abstract] Lap Chi Lau CSE Dept. The Chinese Univ. of Hong Kong Shatin, Hong Kong chi@cse.cuhk.edu.hk Joseph (Seffi) Naor Microsoft Research
More informationCOMP 355 Advanced Algorithms Approximation Algorithms: VC and TSP Chapter 11 (KT) Section (CLRS)
COMP 355 Advanced Algorithms Approximation Algorithms: VC and TSP Chapter 11 (KT) Section 35.1-35.2(CLRS) 1 Coping with NP-Completeness Brute-force search: This is usually only a viable option for small
More informationOn Modularity Clustering. Group III (Ying Xuan, Swati Gambhir & Ravi Tiwari)
On Modularity Clustering Presented by: Presented by: Group III (Ying Xuan, Swati Gambhir & Ravi Tiwari) Modularity A quality index for clustering a graph G=(V,E) G=(VE) q( C): EC ( ) EC ( ) + ECC (, ')
More informationSlides on Approximation algorithms, part 2: Basic approximation algorithms
Approximation slides Slides on Approximation algorithms, part : Basic approximation algorithms Guy Kortsarz Approximation slides Finding a lower bound; the TSP example The optimum TSP cycle P is an edge
More informationCopyright 2000, Kevin Wayne 1
Guessing Game: NP-Complete? 1. LONGEST-PATH: Given a graph G = (V, E), does there exists a simple path of length at least k edges? YES. SHORTEST-PATH: Given a graph G = (V, E), does there exists a simple
More informationProblem Set 1. Solution. CS4234: Optimization Algorithms. Solution Sketches
CS4234: Optimization Algorithms Sketches Problem Set 1 S-1. You are given a graph G = (V, E) with n nodes and m edges. (Perhaps the graph represents a telephone network.) Each edge is colored either blue
More informationBipartite Vertex Cover
Bipartite Vertex Cover Mika Göös Jukka Suomela University of Toronto & HIIT University of Helsinki & HIIT Göös and Suomela Bipartite Vertex Cover 18th October 2012 1 / 12 LOCAL model Göös and Suomela Bipartite
More information15-854: Approximations Algorithms Lecturer: Anupam Gupta Topic: Direct Rounding of LP Relaxations Date: 10/31/2005 Scribe: Varun Gupta
15-854: Approximations Algorithms Lecturer: Anupam Gupta Topic: Direct Rounding of LP Relaxations Date: 10/31/2005 Scribe: Varun Gupta 15.1 Introduction In the last lecture we saw how to formulate optimization
More informationGraphs and Algorithms 2015
Graphs and Algorithms 2015 Teachers: Nikhil Bansal and Jorn van der Pol Webpage: www.win.tue.nl/~nikhil/courses/2wo08 (for up to date information, links to reading material) Goal: Have fun with discrete
More information10. EXTENDING TRACTABILITY
0. EXTENDING TRACTABILITY finding small vertex covers solving NP-hard problems on trees circular arc coverings vertex cover in bipartite graphs Lecture slides by Kevin Wayne Copyright 005 Pearson-Addison
More informationCS521 \ Notes for the Final Exam
CS521 \ Notes for final exam 1 Ariel Stolerman Asymptotic Notations: CS521 \ Notes for the Final Exam Notation Definition Limit Big-O ( ) Small-o ( ) Big- ( ) Small- ( ) Big- ( ) Notes: ( ) ( ) ( ) ( )
More informationAlgorithm Design and Analysis
Algorithm Design and Analysis LECTURE 29 Approximation Algorithms Load Balancing Weighted Vertex Cover Reminder: Fill out SRTEs online Don t forget to click submit Sofya Raskhodnikova 12/7/2016 Approximation
More informationChapter 9 Graph Algorithms
Introduction graph theory useful in practice represent many real-life problems can be if not careful with data structures Chapter 9 Graph s 2 Definitions Definitions an undirected graph is a finite set
More informationChapter 9 Graph Algorithms
Chapter 9 Graph Algorithms 2 Introduction graph theory useful in practice represent many real-life problems can be if not careful with data structures 3 Definitions an undirected graph G = (V, E) is a
More informationReference Sheet for CO142.2 Discrete Mathematics II
Reference Sheet for CO14. Discrete Mathematics II Spring 017 1 Graphs Defintions 1. Graph: set of N nodes and A arcs such that each a A is associated with an unordered pair of nodes.. Simple graph: no
More informationPACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS
PACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS PAUL BALISTER Abstract It has been shown [Balister, 2001] that if n is odd and m 1,, m t are integers with m i 3 and t i=1 m i = E(K n) then K n can be decomposed
More informationThe School Bus and the Orienteering problem by Bock, Grant, Könemann, Sanità, Chen, Har-Peled
CO 754: Approximation Algorithms (Univ. Waterloo, Winter 01) The School Bus and the Orienteering problem by Bock, Grant, Könemann, Sanità, Chen, Har-Peled Author: Sahil Singla 1 Introduction Vehicle routing
More informationAPPROXIMATING THE TREE AND TOUR COVERS OF A GRAPH
APPROXIMATING THE TREE AND TOUR COVERS OF A GRAPH Esther M. Arkin Department of Applied Mathematics and Statistics SUNY Stony Brook Stony Brook, NY 11794-3600 estie@ams.sunysb.edu Magnús M. Halldórsson
More informationSOLVING LARGE CARPOOLING PROBLEMS USING GRAPH THEORETIC TOOLS
July, 2014 1 SOLVING LARGE CARPOOLING PROBLEMS USING GRAPH THEORETIC TOOLS Irith Ben-Arroyo Hartman Datasim project - (joint work with Abed Abu dbai, Elad Cohen, Daniel Keren) University of Haifa, Israel
More informationApproximation Algorithms
Approximation Algorithms Prof. Tapio Elomaa tapio.elomaa@tut.fi Course Basics A new 4 credit unit course Part of Theoretical Computer Science courses at the Department of Mathematics There will be 4 hours
More informationImproved Approximations for Graph-TSP in Regular Graphs
Improved Approximations for Graph-TSP in Regular Graphs R Ravi Carnegie Mellon University Joint work with Uriel Feige (Weizmann), Satoru Iwata (U Tokyo), Jeremy Karp (CMU), Alantha Newman (G-SCOP) and
More informationOn Covering a Graph Optimally with Induced Subgraphs
On Covering a Graph Optimally with Induced Subgraphs Shripad Thite April 1, 006 Abstract We consider the problem of covering a graph with a given number of induced subgraphs so that the maximum number
More informationProblem Set 2 Solutions
Design and Analysis of Algorithms February, 01 Massachusetts Institute of Technology 6.046J/18.410J Profs. Dana Moshkovitz and Bruce Tidor Handout 8 Problem Set Solutions This problem set is due at 9:00pm
More informationval(y, I) α (9.0.2) α (9.0.3)
CS787: Advanced Algorithms Lecture 9: Approximation Algorithms In this lecture we will discuss some NP-complete optimization problems and give algorithms for solving them that produce a nearly optimal,
More information1. Lecture notes on bipartite matching February 4th,
1. Lecture notes on bipartite matching February 4th, 2015 6 1.1.1 Hall s Theorem Hall s theorem gives a necessary and sufficient condition for a bipartite graph to have a matching which saturates (or matches)
More informationIPCO Location: Bonn, Germany Date: June 23 25,
IPCO 2014 Location: Bonn, Germany Date: June 23 25, 2014 www.or.uni-bonn.de/ipco 17th Conference on Integer Programming and Combinatorial Optimization Submission deadline: November 15, 2013 Program committee
More informationIntroduction to Approximation Algorithms
Introduction to Approximation Algorithms Dr. Gautam K. Das Departmet of Mathematics Indian Institute of Technology Guwahati, India gkd@iitg.ernet.in February 19, 2016 Outline of the lecture Background
More informationΛέων-Χαράλαμπος Σταματάρης
Λέων-Χαράλαμπος Σταματάρης INTRODUCTION Two classical problems of information dissemination in computer networks: The broadcasting problem: Distributing a particular message from a distinguished source
More informationDial a Ride from k-forest
Dial a Ride from k-forest Anupam Gupta MohammadTaghi Hajiaghayi Viswanath Nagarajan R. Ravi July 8, 2007 Abstract The k-forest problem is a common generalization of both the k-mst and the dense-k-subgraph
More informationarxiv: v2 [cs.ds] 8 May 2018
Approximating Node-Weighted k-mst on Planar Graphs Jaros law Byrka 1, Mateusz Lewandowski 2, and Joachim Spoerhase 3 arxiv:1801.00313v2 [cs.ds] 8 May 2018 1 Institute of Computer Science, University of
More informationTheory of Computing. Lecture 10 MAS 714 Hartmut Klauck
Theory of Computing Lecture 10 MAS 714 Hartmut Klauck Seven Bridges of Königsberg Can one take a walk that crosses each bridge exactly once? Seven Bridges of Königsberg Model as a graph Is there a path
More informationON WEIGHTED RECTANGLE PACKING WITH LARGE RESOURCES*
ON WEIGHTED RECTANGLE PACKING WITH LARGE RESOURCES* Aleksei V. Fishkin, 1 Olga Gerber, 1 Klaus Jansen 1 1 University of Kiel Olshausenstr. 40, 24118 Kiel, Germany {avf,oge,kj}@informatik.uni-kiel.de Abstract
More informationLecture Notes: Euclidean Traveling Salesman Problem
IOE 691: Approximation Algorithms Date: 2/6/2017, 2/8/2017 ecture Notes: Euclidean Traveling Salesman Problem Instructor: Viswanath Nagarajan Scribe: Miao Yu 1 Introduction In the Euclidean Traveling Salesman
More informationCSC 373: Algorithm Design and Analysis Lecture 4
CSC 373: Algorithm Design and Analysis Lecture 4 Allan Borodin January 14, 2013 1 / 16 Lecture 4: Outline (for this lecture and next lecture) Some concluding comments on optimality of EST Greedy Interval
More informationNotes 4 : Approximating Maximum Parsimony
Notes 4 : Approximating Maximum Parsimony MATH 833 - Fall 2012 Lecturer: Sebastien Roch References: [SS03, Chapters 2, 5], [DPV06, Chapters 5, 9] 1 Coping with NP-completeness Local search heuristics.
More informationA Simpler Generalized Shortest Paths Algorithm
A Simpler Generalized Shortest Paths Algorithm Jeffrey D. Oldham Department of Computer Science Stanford University oldham@cs.stanford.edu http://theory.stanford.edu/ oldham/ 1998 October 01 generalized
More informationApproximation Algorithms for Min-max Capacitated Path Covers
Approximation Algorithms for Min-max Capacitated Path Covers Zhou Xu Liang Xu Department of Logistics and Maritime Studies, Faculty of Business, The Hong Kong Polytechnic University Email: {lgtzx,08900198r}@polyu.edu.hk
More information11.4 Bipartite Multigraphs
11.4 Bipartite Multigraphs Introduction Definition A graph G is bipartite if we can partition the vertices into two disjoint subsets U and V such that every edge of G has one incident vertex in U and the
More informationApproximation Algorithms
Approximation Algorithms Prof. Tapio Elomaa tapio.elomaa@tut.fi Course Basics A 4 credit unit course Part of Theoretical Computer Science courses at the Laboratory of Mathematics There will be 4 hours
More informationCS 473: Algorithms. Ruta Mehta. Spring University of Illinois, Urbana-Champaign. Ruta (UIUC) CS473 1 Spring / 36
CS 473: Algorithms Ruta Mehta University of Illinois, Urbana-Champaign Spring 2018 Ruta (UIUC) CS473 1 Spring 2018 1 / 36 CS 473: Algorithms, Spring 2018 LP Duality Lecture 20 April 3, 2018 Some of the
More informationModels of distributed computing: port numbering and local algorithms
Models of distributed computing: port numbering and local algorithms Jukka Suomela Adaptive Computing Group Helsinki Institute for Information Technology HIIT University of Helsinki FMT seminar, 26 February
More informationCSE331 Introduction to Algorithms Lecture 15 Minimum Spanning Trees
CSE1 Introduction to Algorithms Lecture 1 Minimum Spanning Trees Antoine Vigneron antoine@unist.ac.kr Ulsan National Institute of Science and Technology July 11, 201 Antoine Vigneron (UNIST) CSE1 Lecture
More informationGraphs and Network Flows ISE 411. Lecture 7. Dr. Ted Ralphs
Graphs and Network Flows ISE 411 Lecture 7 Dr. Ted Ralphs ISE 411 Lecture 7 1 References for Today s Lecture Required reading Chapter 20 References AMO Chapter 13 CLRS Chapter 23 ISE 411 Lecture 7 2 Minimum
More information11. APPROXIMATION ALGORITHMS
Coping with NP-completeness 11. APPROXIMATION ALGORITHMS load balancing center selection pricing method: weighted vertex cover LP rounding: weighted vertex cover generalized load balancing knapsack problem
More informationImproved approximation ratios for traveling salesperson tours and paths in directed graphs
Improved approximation ratios for traveling salesperson tours and paths in directed graphs Uriel Feige Mohit Singh August, 2006 Abstract In metric asymmetric traveling salesperson problems the input is
More informationAlgorithms for Euclidean TSP
This week, paper [2] by Arora. See the slides for figures. See also http://www.cs.princeton.edu/~arora/pubs/arorageo.ps Algorithms for Introduction This lecture is about the polynomial time approximation
More informationGraph Algorithms. Chromatic Polynomials. Graph Algorithms
Graph Algorithms Chromatic Polynomials Graph Algorithms Chromatic Polynomials Definition G a simple labelled graph with n vertices and m edges. k a positive integer. P G (k) number of different ways of
More informationCode Compaction Using Post-Increment/Decrement Addressing Modes
Code Compaction Using Post-Increment/Decrement Addressing Modes Daniel Golovin and Michael De Rosa {dgolovin, mderosa}@cs.cmu.edu Abstract During computation, locality of reference is often observed, and
More information