ESA 2003M. Pál. Universal Facility Location1 Universal Facility Location Mohammad Mahdian MIT Martin Pál Cornell University.

Slides:



Advertisements
Similar presentations
Algorithm Design Methods (I) Fall 2003 CSE, POSTECH.
Advertisements

Algorithm Design Methods Spring 2007 CSE, POSTECH.
Instructor Neelima Gupta Table of Contents Approximation Algorithms.
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
Introduction to Algorithms
Centrality of Trees for Capacitated k-Center Hyung-Chan An École Polytechnique Fédérale de Lausanne July 29, 2013 Joint work with Aditya Bhaskara & Ola.
Primal-Dual Algorithms for Connected Facility Location Chaitanya SwamyAmit Kumar Cornell University.
Approximation Algorithms for Capacitated Set Cover Ravishankar Krishnaswamy (joint work with Nikhil Bansal and Barna Saha)
Basic Feasible Solutions: Recap MS&E 211. WILL FOLLOW A CELEBRATED INTELLECTUAL TEACHING TRADITION.
The Out of Kilter Algorithm in Introduction The out of kilter algorithm is an example of a primal-dual algorithm. It works on both the primal.
Approximation Algorithms for Non-Uniform Buy-at-Bulk Network Design Problems Mohammad R. Salavatipour Department of Computing Science University of Alberta.
Chapter 3 The Greedy Method 3.
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.
A Constant Factor Approximation Algorithm for the Multicommodity Rent-or-Buy Problem Amit Kumar Anupam Gupta Tim Roughgarden Bell Labs CMU Cornell joint.
Primal Dual Method Lecture 20: March 28 primaldual restricted primal restricted dual y z found x, succeed! Construct a better dual.
Network Design Adam Meyerson Carnegie-Mellon University.
14 Oct 03Cost sharing & Approximation1 Group strategy proof mechanisms via primal-dual algorithms (Cost Sharing) Martin PálÉva Tardos.
Approximation Algorithms
Robust Network Design with Exponential Scenarios By: Rohit Khandekar Guy Kortsarz Vahab Mirrokni Mohammad Salavatipour.
Network Optimization Models: Maximum Flow Problems In this handout: The problem statement Solving by linear programming Augmenting path algorithm.
The Load Distance Balancing Problem Eddie Bortnikov (Yahoo!) Samir Khuller (Maryland) Yishay Mansour (Google) Seffi Naor (Technion)
Building Edge-Failure Resilient Networks Chandra Chekuri Bell Labs Anupam Gupta Bell Labs ! CMU Amit Kumar Cornell ! Bell Labs Seffi Naor, Danny Raz Technion.
Network Design with Concave Cost Functions Kamesh Munagala, Stanford University.
Facility Location with Nonuniform Hard Capacities Tom Wexler Martin Pál Éva Tardos Cornell University ( A 9-Approximation)
Primal-Dual Algorithms for Connected Facility Location Chaitanya SwamyAmit Kumar Cornell University.
1 Combinatorial Dominance Analysis Keywords: Combinatorial Optimization (CO) Approximation Algorithms (AA) Approximation Ratio (a.r) Combinatorial Dominance.
Facility Location with Nonuniform Hard Capacities Martin Pál Éva Tardos Tom Wexler Cornell University.
1 Introduction to Approximation Algorithms Lecture 15: Mar 5.
Network Simplex Method Fatme Elmoukaddem Jignesh Patel Martin Porcelli.
LP-based Algorithms for Capacitated Facility Location Chaitanya Swamy Joint work with Retsef Levi and David Shmoys Cornell University.
LP-Based Algorithms for Capacitated Facility Location Hyung-Chan An EPFL July 29, 2013 Joint work with Mohit Singh and Ola Svensson.
Network Design for Information Networks Chaitanya Swamy Caltech and U. Waterloo Ara HayrapetyanÉva Tardos Cornell University.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Minimum Cost Flows. 2 The Minimum Cost Flow Problem u ij = capacity of arc (i,j). c ij = unit cost of shipping flow from node i to node j on (i,j). x.
Great Theoretical Ideas in Computer Science.
Primal-Dual Algorithms for Connected Facility Location Chaitanya SwamyAmit Kumar Cornell University.
Approximating Soft- Capacitated Facility Location Problem Mohammad Mahdian, MIT Yinyu Ye, Stanford Jiawei Zhang, Stanford.
LP-Based Algorithms for Capacitated Facility Location Hyung-Chan An EPFL July 29, 2013 Joint work with Mohit Singh and Ola Svensson.
1 Combinatorial Algorithms Local Search. A local search algorithm starts with an arbitrary feasible solution to the problem, and then check if some small,
1 Network Models Transportation Problem (TP) Distributing any commodity from any group of supply centers, called sources, to any group of receiving.
Lecture.6. Table of Contents Lp –rounding Dual Fitting LP-Duality.
The full Steiner tree problem Theoretical Computer Science 306 (2003) C. L. Lu, C. Y. Tang, R. C. T. Lee Reporter: Cheng-Chung Li 2004/06/28.
Algorithm Design Methods 황승원 Fall 2011 CSE, POSTECH.
Vasilis Syrgkanis Cornell University
1 Algorithmic aspects of radio access network design in 4G cellular networks David Amzallag Computer Science Department, Technion Joint work with Seffi.
12 Sep 03Martin Pál: Cost sharing & Approx1 Cost Sharing and Approximation Martin Pál joint work with Éva Tardos A-exam.
Approximating Buy-at-Bulk and Shallow-Light k-Steiner Trees Mohammad T. Hajiaghayi (CMU) Guy Kortsarz (Rutgers) Mohammad R. Salavatipour (U. Alberta) Presented.
The minimum cost flow problem. Solving the minimum cost flow problem.
Facility Location with Service Installation Costs Chaitanya Swamy Joint work with David Shmoys and Retsef Levi Cornell University.
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.
Approximation Algorithms based on linear programming.
Tuesday, March 19 The Network Simplex Method for Solving the Minimum Cost Flow Problem Handouts: Lecture Notes Warning: there is a lot to the network.
::Network Optimization:: Minimum Spanning Trees and Clustering Taufik Djatna, Dr.Eng. 1.
Algorithm Design Methods
The minimum cost flow problem
Haim Kaplan and Uri Zwick
James B. Orlin Presented by Tal Kaminker
Chapter 6. Large Scale Optimization
Exam 2 LZW not on syllabus. 73% / 75%.
3.4 Push-Relabel(Preflow-Push) Maximum Flow Alg.
Chapter 1. Formulations (BW)
Algorithm Design Methods
Flow Feasibility Problems
Algorithm Design Methods
Clustering.
The Greedy Approach Young CS 530 Adv. Algo. Greedy.
Chapter 1. Formulations.
Algorithm Design Methods
Chapter 6. Large Scale Optimization
Presentation transcript:

ESA 2003M. Pál. Universal Facility Location1 Universal Facility Location Mohammad Mahdian MIT Martin Pál Cornell University

ESA 2003M. Pál. Universal Facility Location2 Metric Facility Location F is a set of facilities. D is a set of clients. c ij is the distance between any i and j in D  F. (assume c ij satisfies triangle inequality)

ESA 2003M. Pál. Universal Facility Location3 Problem Statement 1) Allocate capacity u i at each facility i ) Assign every client to a facility (each facility i is assigned at most u i clients). Goal: Minimize the sum of allocation and assignment costs.

ESA 2003M. Pál. Universal Facility Location4 The cost Cost of facility i is a function f i (.) of demand allocated. capacity cost f i (u i ) Assptn: f i (.) is nondecreasing. Allocation cost c f (S): sum of f i (u i ) over all i in F. Assignment cost c s (S): sum of distances from clients to assigned facilities. Goal: Minimize c f (S) + c s (S).

ESA 2003M. Pál. Universal Facility Location5 Special cases demand cost Uncapacitated FL cost demand FL with soft capacities demand cost Concave cost FL cost demand  FL with hard capacities

ESA 2003M. Pál. Universal Facility Location6 Related work Uncapacitated: primal-dual 1.52 [MYZ02] local search 3+  [CG99] Soft capacities: primal-dual 2 [MYZ03] local search 4+  [AGK+01] Concave cost: reduction to uncapacitated [HMM] Hard capacities: local search 9+  [PTW01]

ESA 2003M. Pál. Universal Facility Location7 Our result First approximation algorithm for Universal FL Generalizes local search algorithms for above special cases, with the same approx. guarantees Our analysis: 8+  approximation (7.88 w. scaling) [CYZ] just claimed improved analysis: 7+ 

ESA 2003M. Pál. Universal Facility Location8 Local Search 1) Start with any feasible solution. 2) Improve solution with “local operations”. 3) Stop when there are no remaining operations that lower the cost. Well, almost… …we want to finish in poly-time: Each operation is required to lower cost by a factor of   /n.

ESA 2003M. Pál. Universal Facility Location9 The add operation add(s,  ) – Increase allocation at facility s by . Reassign clients optimally. Given u=(u 1,u 2,..., u n ), where do we send clients? Solve a min cost flow. 111 usus +1=2 

ESA 2003M. Pál. Universal Facility Location10 The pivot operation pivot(s,Δ): Pick a pivot point s and vector Δ. For each facility i: Send -Δ i units of demand from i to s (if Δ i <0) Send +Δ i units of demand from s to i (if Δ i >0) s

ESA 2003M. Pál. Universal Facility Location The pivot operation pivot(s,Δ): Pick a pivot point s and vector Δ. For each facility i: Send -Δ i units of demand from i to s (if Δ i <0) Send +Δ i units of demand from s to i (if Δ i >0)

ESA 2003M. Pál. Universal Facility Location12 Finding good operations Want operations that decrease cost the most. Plan: Try every s, find the best  and Δ for add(s,  ) and pivot(s,Δ). Easy to do for add: try all values for . Too many possibilities for Δ to try them all. How to find the best pivot operation?

ESA 2003M. Pál. Universal Facility Location13 How to find a good pivot? Problem: find Δ to minimize cost(pivot(s,Δ)). Consider facilities in any order. Let p[d,i] be the min cost way of having d excess demand at the pivot from the first i facilities. p[d,i+1] = min  { p[d- ,i]+g i+1 (  ) } p[0,n] is the optimum Solution: dynamic programming, just like knapsack.

ESA 2003M. Pál. Universal Facility Location14 Analysis

ESA 2003M. Pál. Universal Facility Location15 Assignment cost Thm: [Korupolu et al] If no add(s,  ) op. improves a solution S, c s (S) ≤ c s (S OPT ) + c f (S OPT ) Current sol S Optimum S OPT Max(u i,u i OPT )

ESA 2003M. Pál. Universal Facility Location16 Bounding the allocation cost Bounding c f (S): Local opt.  cost(pivot(s,Δ)) ≥ 0 for any s, Δ. Every operation gives a bound: Σ i f i (u i ) ≤ Σ i f i (u i + Δ i ) + flow cost upper bound on c f (S) lower bound on c f (S OPT )

ESA 2003M. Pál. Universal Facility Location17 First attempt Take current S with some S OPT : let d i = u i OPT - u i. sources d i < 0. sinks d i >  Reassignment costs may be high. try pivot(s,d)

ESA 2003M. Pál. Universal Facility Location18 Second attempt Take current S with some S OPT : let d i = u i OPT - u i. d i < 0. d i > try swap(d): routing along min cost flow  Don’t have a swap operation. sources sinks Flow is cheap: cost(y) ≤ c s (S) + c s (S OPT )

ESA 2003M. Pál. Universal Facility Location19 What works Take the swap(d) operation, let y be the flow. Tile it with pivot operations so that: each source covered (at least) once each sink used at most k times (k=4) each pivot ships only along flow edges

ESA 2003M. Pál. Universal Facility Location20 What works Take the swap(d) operation, let y be the flow. d i < 0. d i > Example: flow decomposed into two pivot op’s. sources sinks

ESA 2003M. Pál. Universal Facility Location21 The flow y Fact 1: cost(y) ≤ c s (S)+c s (S OPT ) Pf: use triangle inequality Fact 2: y is min cost  acyclic Pf: augment along cycle to remove it I.e. the flow is a tree (forest).

ESA 2003M. Pál. Universal Facility Location22 Covering the tree sources sinks

ESA 2003M. Pál. Universal Facility Location23 Subtrees of depth 2 sources sinks

ESA 2003M. Pál. Universal Facility Location24 Almost done.. Every source closed once Every sink used ≤ 1+1=2 times (once as root, once as child) Problem: flow cost is nondominating if it sends ≥ ½ of its flow down.

ESA 2003M. Pál. Universal Facility Location25 Nondominating sources... r s1s1 s2s2 s3s3 sksk y(s 1,r ) ≤ y(s 2,r ) ≤ y(s 3,r ) ≤... ≤ y(s k,r )

ESA 2003M. Pál. Universal Facility Location26 Summing up Every facility opened 4 times Flow at most tripled c f (S) ≤ 7c(S OPT ) c s (S) ≤ 1c(S OPT )Assignment cost Hence the algorithm is a (8+є)-approximation. (7.88+є with scaling) Totalc(S) ≤ 8c(S OPT )