Primal-Dual Methods for Approximation Algorithms

Similar documents
THE PRIMAL-DUAL METHOD FOR APPROXIMATION ALGORITHMS AND ITS APPLICATION TO NETWORK DESIGN PROBLEMS

Repetition: Primal Dual for Set Cover

Approximation Algorithms: The Primal-Dual Method. My T. Thai

12 Introduction to LP-Duality

Approximation Algorithms Based on the Primal-Dual Method

Discrete Optimization 2010 Lecture 5 Min-Cost Flows & Total Unimodularity

CS 473: Algorithms. Ruta Mehta. Spring University of Illinois, Urbana-Champaign. Ruta (UIUC) CS473 1 Spring / 36

ON THE EQUIVALENCE BETWEEN THE PRIMAL-DUAL SCHEMA AND THE LOCAL RATIO TECHNIQUE

College of Computer & Information Science Fall 2007 Northeastern University 14 September 2007

Approximation Algorithms

Lecture 7. s.t. e = (u,v) E x u + x v 1 (2) v V x v 0 (3)

Approximation Algorithms

Mathematical and Algorithmic Foundations Linear Programming and Matchings

Graphs and Network Flows IE411. Lecture 13. Dr. Ted Ralphs

Primal-Dual Algorithms for Connected Facility Location Problems

6 Randomized rounding of semidefinite programs

5. Lecture notes on matroid intersection

c 2005 Society for Industrial and Applied Mathematics

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 14: Combinatorial Problems as Linear Programs I. Instructor: Shaddin Dughmi

6. Lecture notes on matroid intersection

Dual-fitting analysis of Greedy for Set Cover

Steiner Trees and Forests

Randomized rounding of semidefinite programs and primal-dual method for integer linear programming. Reza Moosavi Dr. Saeedeh Parsaeefard Dec.

1. Lecture notes on bipartite matching February 4th,

of Two 2-Approximation Algorithms for the Feedback Vertex Set Problem in Undirected Graphs Michel X. Goemans y M.I.T. David P. Williamson x IBM Watson

Problem set 2. Problem 1. Problem 2. Problem 3. CS261, Winter Instructor: Ashish Goel.

Outline. CS38 Introduction to Algorithms. Linear programming 5/21/2014. Linear programming. Lecture 15 May 20, 2014

Outline. Column Generation: Cutting Stock A very applied method. Introduction to Column Generation. Given an LP problem

Column Generation: Cutting Stock

A primal dual interpretation of two 2-approximation algorithms for the feedback vertex set problem in undirected graphs

Introduction to Mathematical Programming IE496. Final Review. Dr. Ted Ralphs

ACO Comprehensive Exam October 12 and 13, Computability, Complexity and Algorithms

Approximation Algorithms Based on the Primal-Dual Method

Approximation algorithms via the primal-dual schema: applications of the simple dual-ascent method to problems from logistics

Combinatorial Optimization

Approximation Algorithms

CSC Linear Programming and Combinatorial Optimization Lecture 12: Semidefinite Programming(SDP) Relaxation

8 Matroid Intersection

1. Lecture notes on bipartite matching

Approximation algorithms for finding a -connected subgraph of a graph with minimum weight

Lecture 3: Totally Unimodularity and Network Flows

CS 598CSC: Approximation Algorithms Lecture date: March 2, 2011 Instructor: Chandra Chekuri

DM515 Spring 2011 Weekly Note 7

Linear Programming. Course review MS-E2140. v. 1.1

Lecture Overview. 2 Shortest s t path. 2.1 The LP. 2.2 The Algorithm. COMPSCI 530: Design and Analysis of Algorithms 11/14/2013

Iterative Methods in Combinatorial Optimization. R. Ravi Carnegie Bosch Professor Tepper School of Business Carnegie Mellon University

The simplex method and the diameter of a 0-1 polytope

Greedy Approximations

Bicriteria Network Design via Iterative Rounding

Algorithm Design and Analysis

Lecture Overview. 2 The Steiner Tree Problem. 2.1 Steiner tree: a 2-approximation algorithm. COMPSCI 590.1: Graph Algorithms March 22, 2015

Methods and Models for Combinatorial Optimization Exact methods for the Traveling Salesman Problem

EXERCISES SHORTEST PATHS: APPLICATIONS, OPTIMIZATION, VARIATIONS, AND SOLVING THE CONSTRAINED SHORTEST PATH PROBLEM. 1 Applications and Modelling

Lecture 9. Semidefinite programming is linear programming where variables are entries in a positive semidefinite matrix.

Lecture 16 October 23, 2014

Theorem 2.9: nearest addition algorithm

LECTURES 3 and 4: Flows and Matchings

/ Approximation Algorithms Lecturer: Michael Dinitz Topic: Linear Programming Date: 2/24/15 Scribe: Runze Tang

Slides on Approximation algorithms, part 2: Basic approximation algorithms

Algorithms for multiflows

Linear Programming Duality and Algorithms

How well can Primal-Dual and Local-Ratio algorithms perform?

Algorithms for Integer Programming

Civil Engineering Systems Analysis Lecture XIV. Instructor: Prof. Naveen Eluru Department of Civil Engineering and Applied Mechanics

1 Linear programming relaxation

val(y, I) α (9.0.2) α (9.0.3)

Approximation Algorithms

6.854 Advanced Algorithms. Scribes: Jay Kumar Sundararajan. Duality

Design and Analysis of Algorithms (V)

Approximation Algorithms

Lecture 14: Linear Programming II

Notes for Lecture 20

Topic: Local Search: Max-Cut, Facility Location Date: 2/13/2007

Introduction to Mathematical Programming IE406. Lecture 20. Dr. Ted Ralphs

1 Unweighted Set Cover

Outline. Combinatorial Optimization 2. Finite Systems of Linear Inequalities. Finite Systems of Linear Inequalities. Theorem (Weyl s theorem :)

Week 5. Convex Optimization

5.3 Cutting plane methods and Gomory fractional cuts

CPSC 536N: Randomized Algorithms Term 2. Lecture 10

CSE 417 Network Flows (pt 3) Modeling with Min Cuts

15-854: Approximations Algorithms Lecturer: Anupam Gupta Topic: Direct Rounding of LP Relaxations Date: 10/31/2005 Scribe: Varun Gupta

Linear Programming in Small Dimensions

12.1 Formulation of General Perfect Matching

A 4-Approximation Algorithm for k-prize Collecting Steiner Tree Problems

The Design of Approximation Algorithms

A 3 2-Approximation Algorithm for Some Minimum-Cost Graph Problems

The Simplex Algorithm

6.854J / J Advanced Algorithms Fall 2008

Size of a problem instance: Bigger instances take

Lecture 7: Asymmetric K-Center

CS675: Convex and Combinatorial Optimization Spring 2018 The Simplex Algorithm. Instructor: Shaddin Dughmi

CS 580: Algorithm Design and Analysis. Jeremiah Blocki Purdue University Spring 2018

PLANAR GRAPH BIPARTIZATION IN LINEAR TIME

A Generic Separation Algorithm and Its Application to the Vehicle Routing Problem

1 The Traveling Salesperson Problem (TSP)

Bipartite Matching & the Hungarian Method

Graphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs

Solutions to Assignment# 4

CS 372: Computational Geometry Lecture 10 Linear Programming in Fixed Dimension

CS261: A Second Course in Algorithms Lecture #16: The Traveling Salesman Problem

Transcription:

Primal-Dual Methods for Approximation Algorithms Nadia Hardy, April 2004

The following is based on: Approximation Algorithms for NP-Hard Problems. D.Hochbaum, ed. Chapter 4: The primal-dual method for approximation algorithms and its application to network design problems. M.Goemans and D.Williamson. Lecture Notes on Approximation Algorithms. D.Williamson. 1998. A presentation made by D.Williamson on Primal-Dual Methods. Primal-Dual Approximation Algorithms for Feedback Problems in Planar Graphs. M.Goemans and D.Williamson. Combinatorica, 18:37-59, 1998.

We are concerned with designing approximation algorithms for combinatorial optimization problems that can be modelled as IP s. General approach: In the Lectures: (1) Formulate the problem as an IP (2) Relax it to an LP (3) Do something clever to get a feasible solution for the IP...... in polytime!... and not too far from opt!! Randomize rounding Iterative rounding Semidefinite programming Today: Primal-Dual Methods

Some history... The works of Egerváry in 1930 and Khun in 1955 lead to the formulation of a Primal-Dual Method for LP problems by Dantzig, Ford and Fulkerson (1956). In 1981 the truly first Primal-Dual approx alg was presented by Bar-Yehuda and Even (for Vertex Cover). The 80s went by... In the 90s the method was shown as a powerful tool for developing approx alg. Work was done in different instances of the hitting set problem and network design problems (Agrawal, Klein and Ravi 1995; Goemans and Williamson 1995; Saran, Vazirani and Young 1992, Klein and Ravi 1993; and others).

Consider a general LP formulation: PRIMAL Its DUAL is min cx Ax b x 0 max yb ya c y 0 Complementary Slackness Conditions (CS) PRIMAL: x i > 0 j y j a ji = c i DUAL: y j > 0 i a ij x i = b j Theorem 1: If x and y are optimal for the primal and the dual respectively, then they satisfy cx = yb Theorem 2: If x and y are feasible, then they are optimal they satisfy PCS and DCS.

The idea for Dantzig, Ford and Fulkerson Primal-Dual Method to solve LP problems: y 0 While there does not exist feasible x satisfying Complementary Slackness conditions Return x Get direction of increase for the dual The idea for the Primal-Dual Method for approx alg: y 0 While there does not exist feasible integral x satisfying Primal CS conditions Return x Get direction of increase for the dual The DUAL CS conditions are not enforced.

Example: Hitting Set Problem Input: ground set E = {e 1, e 2,..., e n } subsets T 1,..., T m E cost c e e E Goal: Find a min-cost A E s.t. A T i i = 1,..., m (1) IP formulation: min e E c e x e e T i x e 1 i = 1,..., m x e {0, 1} e E (2) LP relaxation: x e [0, 1] e E (3) Consider the dual problem: max m i y i i:e T i y i c e e E y i 0 i = 1,..., m

Remember the scheme shown before for the Primal-Dual Method for approx alg: y 0 While there does not exists an integral solution obeying PCS conditions Get direction of increase for the dual Return feasible integral x obeying PCS Recall the PCS condition: x e > 0 i:e T i y i = c e. To stop we need to check the while condition: set x e = 1 e A, where A = {e E s.t. i:e T i y i = c e }. Notice that our x satisfy PCS. If A is feasible, stop. Otherwise... Claim: there is some direction of increase for the dual. If A is not feasible there exists a violated set T j : A T j =. This means that e T j, i:e T i y i < c e.

Algorithm (Bar-Yehuda and Even, 1981) y 0 A While A is not feasible Pick violated set T j Increase y j until i:e T i y i = c e for some e T j A A {e} The algorithm returns a feasible solution and is polynomial in the size of the input... well, what if the number of sets we want to hit is exponential in the size of our ground set E? Approximation guarantee: let A f denote the output of the algorithm, if we can find α s.t. y i > 0 implies A f T i α i then e A f c e α i y i αop T Example: Vertex Cover, A f T i 2.

Recall that in our history overview the 80s went by without much improvement... at least for the Primal-Dual Method for approx alg. In the 90s two new ideas were introduced: (1) Clean up the final solution. y 0 A k 0 While A is not feasible k k + 1 Pick violated set T j Increase y j until A A {e k } For j k downto 1 If A {e j } is feasible A A {e j } i:e T i y i = c e for some e k T j

What improvement does this make in the performance guarantee? Definition. A subset B E is a minimal augmentation of a subset A E if: (1) A B is feasible, and (2) for any e B, A B {e} is not feasible. Theorem. Let T (A) be the violated set the algorithm chooses given an infeasible set A. If for any infeasible A and any minimal augmentation B of A, B T (A) β, then e A f c e = i A f T i y i β i y i βop T Proof : It follows from A T lj max B T lj β, where the max is taken over all minimal augmentations of {e 1,..., e j 1 }. Hence, if we can find β, the maximum number of elements of any violated set chosen by the algorithm that could possibly be introduced under a minimal augmentation, the above algorithm is β-approx.

Example: Shortest s-t path Let G be an undirected graph with two distinguished vertices s and t. We want to find the shortest s t path. This problem can be seen as an instance of the Hitting set problem. Ground set: the set of edges E Costs: c e 0, e E Sets to hit: T i = δ(s i ), s S i, t / S i We apply the primal-dual algorithm with the clean up idea. Suppose that whenever A is infeasible, the algorithm chooses the violated set T k = δ(s k ), where S k is the connected component of (V, A) containing s. The algorithm is a 1-approximation algorithm for the shortest s t path problem, i.e., it gives an optimal solution.

(2) Increase dual on several sets simultaneously. y 0 A k 0 While A is not feasible k k + 1 Γ Violated(A) Increase y j for T j Γ uniformly until i:e T i y i = c e for some e k T j Γ A A {e k } For j k downto 1 If A {e j } is feasible A A {e j }

What improvement does this second idea make in the performance guarantee? Theorem. If for any infeasible A and any minimal augmentation B of A, T i V iolated(a) B T i γ V iolated(a) where V iolated(a) are the violated sets chosen by the algorithm given A, the performance guarantee of the algorithm is γ.

Some results from the last 25 years... For α = 2 For α = 9/4 Vertex cover (Bar-Yehuda and Even, 81) Steiner tree (lot of people) Generalized Steiner tree (Agrawal, Klein and Ravi, 91) Matching w/triangle inequality T-joins Partition into trees/pahts/cycles of at leas k vertices Prize-collecting TSP Feedback vertex set in planar graphs (Goemans and Williamson 92-97) Feedback vertex set/directed FV set/subset FV set Bipartization problem (Goemans and Williamson 96)