PRIMAL-DUAL APPROXIMATION ALGORITHMS FOR METRIC FACILITY LOCATION AND K-MEDIAN PROBLEMS K. Jain V. Vazirani Journal of the ACM, 2001.

Slides:



Advertisements
Similar presentations
Iterative Rounding and Iterative Relaxation
Advertisements

IEOR 4004 Midterm review (Part II) March 12, 2014.
Solving LP Models Improving Search Special Form of Improving Search
Linear Programming Problem
Solving IPs – Cutting Plane Algorithm General Idea: Begin by solving the LP relaxation of the IP problem. If the LP relaxation results in an integer solution,
ECE Longest Path dual 1 ECE 665 Spring 2005 ECE 665 Spring 2005 Computer Algorithms with Applications to VLSI CAD Linear Programming Duality – Longest.
C&O 355 Mathematical Programming Fall 2010 Lecture 22 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A.
Totally Unimodular Matrices
Introduction to Algorithms
Primal-Dual Algorithms for Connected Facility Location Chaitanya SwamyAmit Kumar Cornell University.
MS&E 211, Lecture 11 The dual of Min-Cost Flow Ashish Goel.
Combinatorial Algorithms for Market Equilibria Vijay V. Vazirani.
EMIS 8373: Integer Programming Valid Inequalities updated 4April 2011.
System of Equations A set of two or more equations with the same variables. To solve a system of equations means to find values for the variables in the.
Basic Feasible Solutions: Recap MS&E 211. WILL FOLLOW A CELEBRATED INTELLECTUAL TEACHING TRADITION.
Rajat K. Pal. Chapter 3 Emran Chowdhury # P Presented by.
Instructor Neelima Gupta Table of Contents Lp –rounding Dual Fitting LP-Duality.
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.
14 Oct 03Cost sharing & Approximation1 Group strategy proof mechanisms via primal-dual algorithms (Cost Sharing) Martin PálÉva Tardos.
What is Linear Programming? A Linear Program is a minimization or maximization problem, subject to several restraints. Linear programs can be set up for.
Facility Location Set of facilities F Set of clients D Facility Opening cost f i Connection cost of facility i to client j c ij Goal: Open a collection.
Tirgul 13. Unweighted Graphs Wishful Thinking – you decide to go to work on your sun-tan in ‘ Hatzuk ’ beach in Tel-Aviv. Therefore, you take your swimming.
Primal-Dual Algorithms for Connected Facility Location Chaitanya SwamyAmit Kumar Cornell University.
Facility Location using Linear Programming Duality Yinyu Ye Department if Management Science and Engineering Stanford University.
Problem Set # 4 Maximize f(x) = 3x1 + 2 x2 subject to x1 ≤ 4 x1 + 3 x2 ≤ 15 2x1 + x2 ≤ 10 Problem 1 Solve these problems using the simplex tableau. Maximize.
Linear Programming – Max Flow – Min Cut Orgad Keller.
LP-based Algorithms for Capacitated Facility Location Chaitanya Swamy Joint work with Retsef Levi and David Shmoys Cornell University.
V. V. Vazirani. Approximation Algorithms Chapters 3 & 22
LP-Based Algorithms for Capacitated Facility Location Hyung-Chan An EPFL July 29, 2013 Joint work with Mohit Singh and Ola Svensson.
Design Techniques for Approximation Algorithms and Approximation Classes.
Approximating Minimum Bounded Degree Spanning Tree (MBDST) Mohit Singh and Lap Chi Lau “Approximating Minimum Bounded DegreeApproximating Minimum Bounded.
Topics in Algorithms 2005 Constructing Well-Connected Networks via Linear Programming and Primal Dual Algorithms Ramesh Hariharan.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Duality Theory  Every LP problem (called the ‘Primal’) has associated with another problem called the ‘Dual’.  The ‘Dual’ problem is an LP defined directly.
Primal-Dual Algorithms for Connected Facility Location Chaitanya SwamyAmit Kumar Cornell University.
LP-Based Algorithms for Capacitated Facility Location Hyung-Chan An EPFL July 29, 2013 Joint work with Mohit Singh and Ola Svensson.
Approximation Algorithms: Éva Tardos Cornell University problems, techniques, and their use in game theory.
Hon Wai Leong, NUS (CS6234, Spring 2009) Page 1 Copyright © 2009 by Leong Hon Wai CS6234: Lecture 4  Linear Programming  LP and Simplex Algorithm [PS82]-Ch2.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
University of Pittsburgh CS 3150 Page 1 out of 20 Market Equilibrium via a Primal-Dual-Type Algorithm Written By Nikhil R. Devanur, Christos H. Papadimitriou,
Improving Voltage Assignment by Outlier Detection and Incremental Placement Huaizhi Wu* and Martin D.F. Wong** * Atoptech, Inc. ** University of Illinois.
2) Combinatorial Algorithms for Traditional Market Models Vijay V. Vazirani.
Linear Program Set Cover. Given a universe U of n elements, a collection of subsets of U, S = {S 1,…, S k }, and a cost function c: S → Q +. Find a minimum.
Steiner tree LP x e = 1 if edge e is included in the Steiner tree. Min.  e c e x e (primal) s.t.  e   (S) x e ≥ 1  S  V: S  T≠ , T\S≠  x e 
Lecture.6. Table of Contents Lp –rounding Dual Fitting LP-Duality.
EMIS 8373: Integer Programming Column Generation updated 12 April 2005.
12 Sep 03Martin Pál: Cost sharing & Approx1 Cost Sharing and Approximation Martin Pál joint work with Éva Tardos A-exam.
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 Duality My T. UF.
Approximation Algorithms based on linear programming.
An Introduction to Linear Programming
Chap 10. Sensitivity Analysis
The minimum cost flow problem
6.5 Stochastic Prog. and Benders’ decomposition
EMIS 8373: Integer Programming
Chap 9. General LP problems: Duality and Infeasibility
EMIS 8373: Integer Programming
Analysis of Algorithms
Graphing systems of linear equations and inequalities
Linear Programming and Approximation
Linear Programming Duality, Reductions, and Bipartite Matching
3.1 Solving Linear Systems by Graphing
Flow Feasibility Problems
Linear Programming Problem
6.5 Stochastic Prog. and Benders’ decomposition
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
Chapter 6. Large Scale Optimization
Presentation transcript:

PRIMAL-DUAL APPROXIMATION ALGORITHMS FOR METRIC FACILITY LOCATION AND K-MEDIAN PROBLEMS K. Jain V. Vazirani Journal of the ACM, 2001

PRIMAL-DUAL APPROACH We start by constructing a primal problem. On the basis of the primal problem, a dual problem is constructed. We solve the dual problem while maintaining its feasibility in order to find a feasible primal solution.

INTEGER PROGRAMMING PROBLEM min Σ j ε C Σ i ε F c ij x j + Σ i ε F f i y i s.t Σ i ε F x ij ≥ 1 for all j ε C y i - x ij ≥ 0 for all i ε F, j ε C x ij ε {0,1} for all i ε F, j ε C y i ε {0,1} for all i ε F y i denotes whether facility i is open or not x ij denotes whether client j is connected to a facility i or not The first constraint ensures that each city is connected to at least one facility. The second constraint ensures that if a client is assigned to a facility then that facility must be open.

RELAXED LP PRIMAL PROBLEM min Σ j ε C Σ i ε F c ij x j + Σ i ε F f i y i s.t Σ i ε F x ij ≥ 1 for all j ε C y i - x ij ≥ 0 for all i ε F, j ε C 0 ≤ x ij ≤ 1 for all i ε F, j ε C 0 ≤ y i ≤ 1 for all i ε F

DUAL PROBLEM max Σ j ε C α j s.t α j - β ij ≤ c ij for all i ε F, j ε C Σ j ε C β ij ≤ f i for all i ε F α j ≥ 0 for all j ε C β ij ≥ 0 for all i ε F, j ε C α j is the total price paid by a client j. α j = c ij + β ij A part of α j goes towards paying the service cost of facility i, i.e., c ij and β ij is the contribution of j towards the facility opening cost of i.

COMPLIMENTARY SLACKNESS CONDITIONS For Primal for all i ε F, j ε C: x ij > 0 ═> α j - β ij = c ij for all i ε F: y i > 0 ═> Σ j ε C β ij = f i For dual for all j ε C: α j > 0 ═> Σ i ε F x ij = 1 for all i ε F, j ε C: β ij > 0 ═> y i = x ij

TERMS USED IN THE PAPER 1.Tight edge:- An edge (i,j) between a client j and a facility i becomes tight when α j = c ij. 2.Special edge:- An edge (i,j) between a client j and a facility i is special if β ij > 0. 3.Unconnected Client:- A client j is said to be unconnected with a facility i if edge between them is not tight. 4.Connected Client:- A client j is said to be connected with a facility i if edge between them is tight. 5.Connecting Witness:- A facility i is known as connecting witness for all those clients with whom it shares a tight edge.

ALGORITHM Phase I :- Initially all the clients are unconnected and α j = 0 for all the clients. Raise the dual variables α j for each unconnected client j uniformly at a unit rate until an edge between some facility i and client j becomes tight. As soon as an edge (i,j) between client j and a facility i becomes tight, start raising β ij at the same rate as α j A facility is declared temporarily open when its opening cost has been completely paid, i.e., Σ j β ij = f i.

As soon as a facility is declared temporarily open, all the clients that share tight edges with this facility are declared connected and the facility becomes its connecting witness. All such edges for which β ij > 0 are declared special. If a client j gets a tight edge to an already open facility i, j is declared as connected to i, i becomes its connecting witness and its β ij is not raised. Phase I continues until all the clients become connected.

At t = 0 α 1 =0 α 3 = f 1 =1 f 2 =1 f 3 = α 2 =0

At t = 1 α 1 =1 α 3 = f 1 =1 f 2 =1 f 3 = α 2 =1

At t = 2 α 1 =2 α 3 = β 11 =0 β 23 =0 f 1 =1 f 2 =1 f 3 = α 2 =2 Tight edge:

At t = 3 α 1 =3 α 3 = β 11 =1 β 23 =1 f 1 =1 f 2 =1 f 3 = α 2 =3 Tight edge: Special edge:

At t = 4 α 1 =3 α 3 = β 11 =1 β 23 =1 f 1 =1 f 2 =1 f 3 = α 2 =4 Tight edge: Special edge:

At the end of Phase f 1 =1 f 2 =1 4 4 Tight edge: Special edge:

Phase II :- It consist of two parts. Part 1:- To choose facilities that will opened permanently. Part 2:- To connect every client to exactly one facility.

PART 1:- Let F t denote the set of all temporarily open facilities. Consider a graph G with all the special edges of path length at most 2, induced on F t. Construct a maximal independent set I of G. Declare all the facilities in I as permanently open.

Phase 2 - part 1:- Forming independent sets 2 f 1 =1f 2 =1 4 4 Permanent Facility

PART 2:- Case 1:- Assign client j to the facility i є I with which it shares a special edge. Declare client j as directly connected to it. Case 2:- If client j does not have a special edge to any facility i є I then assign j to a facility with which it shares a tight edge such that i was its connecting witness. Declare client j as directly connected to i. Case 3:- If client j has neither a special edge nor a tight edge with any facility in I, then assign j to a facility i* which is a neighbor of i in the graph G such that i* є I. Declare client j as indirectly connected to i*.

Phase 2 - part 2- Assigning clients to facilities Case 1: Directly Connected Case 2: Directly Connected Case 3: Indirectly Connected = Directly connected = Indirectly connected

ANALYSIS Let α j = α j f + α j c, where α j f = β ij and α j c = c ij Σ i ε I f i = Σ j ε C α j f …eqn I Consider an indirectly connected client j to i c ij ≤ 3*α j c …eqn II Adding the results of eqn I (multiplied by 3) and eqn II, we get, Σ i ε I Σ j ε C c ij x ij + 3*Σ i ε I f i y i ≤ 3*Σ j ε C α j