Approximation Algorithms for Weighted Vertex Cover

Similar documents
Algorithm Design and Analysis

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. #-approximation algorithm.

Chapter Load Balancing. Approximation Algorithms. Load Balancing. Load Balancing on 2 Machines. Load Balancing: Greedy Scheduling

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. !-approximation algorithm.

Approximation Algorithms

Applied Algorithm Design Lecture 5

11. APPROXIMATION ALGORITHMS

5.1 Bipartite Matching

8.1 Min Degree Spanning Tree

Proximal mapping via network optimization

Scheduling Shop Scheduling. Tim Nieberg

Topic: Greedy Approximations: Set Cover and Min Makespan Date: 1/30/06

Approximated Distributed Minimum Vertex Cover Algorithms for Bounded Degree Graphs

LECTURE 5: DUALITY AND SENSITIVITY ANALYSIS. 1. Dual linear program 2. Duality theory 3. Sensitivity analysis 4. Dual simplex method

Guessing Game: NP-Complete?

Combinatorial Algorithms for Data Migration to Minimize Average Completion Time

CHAPTER 9. Integer Programming

Nan Kong, Andrew J. Schaefer. Department of Industrial Engineering, Univeristy of Pittsburgh, PA 15261, USA

Fairness in Routing and Load Balancing

Small Maximal Independent Sets and Faster Exact Graph Coloring

Linear Programming. Widget Factory Example. Linear Programming: Standard Form. Widget Factory Example: Continued.

Bargaining Solutions in a Social Network

Approximating Minimum Bounded Degree Spanning Trees to within One of Optimal

Single-Link Failure Detection in All-Optical Networks Using Monitoring Cycles and Paths

4.6 Linear Programming duality

Steiner Tree Approximation via IRR. Randomized Rounding

Permutation Betting Markets: Singleton Betting with Extra Information

ARTICLE IN PRESS. European Journal of Operational Research xxx (2004) xxx xxx. Discrete Optimization. Nan Kong, Andrew J.

Definition Given a graph G on n vertices, we define the following quantities:

A Branch and Bound Algorithm for Solving the Binary Bi-level Linear Programming Problem

Scheduling Home Health Care with Separating Benders Cuts in Decision Diagrams

THE PROBLEM WORMS (1) WORMS (2) THE PROBLEM OF WORM PROPAGATION/PREVENTION THE MINIMUM VERTEX COVER PROBLEM

1 Introduction. Linear Programming. Questions. A general optimization problem is of the form: choose x to. max f(x) subject to x S. where.

CMPSCI611: Approximating MAX-CUT Lecture 20

An Approximation Algorithm for Bounded Degree Deletion

The Design of Approximation Algorithms

3. Linear Programming and Polyhedral Combinatorics

A Approximation Algorithm for a Generalization of the Weighted Edge-Dominating Set Problem

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

Dantzig-Wolfe bound and Dantzig-Wolfe cookbook

Online Adwords Allocation

JUST-IN-TIME SCHEDULING WITH PERIODIC TIME SLOTS. Received December May 12, 2003; revised February 5, 2004

A simpler and better derandomization of an approximation algorithm for Single Source Rent-or-Buy

Triangle deletion. Ernie Croot. February 3, 2010

Energy Efficient Monitoring in Sensor Networks

CSC2420 Spring 2015: Lecture 3

Efficient and Robust Allocation Algorithms in Clouds under Memory Constraints

Adaptive Linear Programming Decoding

Dynamic programming. Doctoral course Optimization on graphs - Lecture 4.1. Giovanni Righini. January 17 th, 2013

Equilibrium computation: Part 1

How To Solve A Minimum Set Covering Problem (Mcp)

Practical Guide to the Simplex Method of Linear Programming

Permutation Betting Markets: Singleton Betting with Extra Information

Mathematical finance and linear programming (optimization)

Optimal Monitoring in Multi-Channel Multi-Radio Wireless Mesh Networks

Load-Balanced Virtual Backbone Construction for Wireless Sensor Networks

Minimal Cost Reconfiguration of Data Placement in a Storage Area Network

Bicolored Shortest Paths in Graphs with Applications to Network Overlay Design

9th Max-Planck Advanced Course on the Foundations of Computer Science (ADFOCS) Primal-Dual Algorithms for Online Optimization: Lecture 1

Solving NP Hard problems in practice lessons from Computer Vision and Computational Biology

The Goldberg Rao Algorithm for the Maximum Flow Problem

Nonlinear Optimization: Algorithms 3: Interior-point methods

1 Approximating Set Cover

Distributed Network Monitoring and Multicommodity Flows: A Primal-Dual Approach

Offline sorting buffers on Line

School Timetabling in Theory and Practice

Single machine parallel batch scheduling with unbounded capacity

A constant-factor approximation algorithm for the k-median problem

Resource Optimization of Spatial TDMA in Ad Hoc Radio Networks: A Column Generation Approach

Chapter 13: Binary and Mixed-Integer Programming

Multi-layer MPLS Network Design: the Impact of Statistical Multiplexing

Duplicating and its Applications in Batch Scheduling

Primal-Dual Schema for Capacitated Covering Problems

Dimitris Chatzidimitriou. Corelab NTUA. June 28, 2013

Lecture 7: NP-Complete Problems

A Separation Principle for Optimal IaaS Cloud Computing Distribution

Connected Identifying Codes for Sensor Network Monitoring

The Generalized Assignment Problem with Minimum Quantities

26 Linear Programming

Integrating Benders decomposition within Constraint Programming

MapReduce and Distributed Data Analysis. Sergei Vassilvitskii Google Research

Computer Algorithms. NP-Complete Problems. CISC 4080 Yanjun Li

Scheduling to Minimize Power Consumption using Submodular Functions

Algorithm Design for Performance Aware VM Consolidation

Euler Paths and Euler Circuits

Class One: Degree Sequences

On the Unique Games Conjecture

Some representability and duality results for convex mixed-integer programs.

Algorithmic Game Theory. Edited by Noam Nisan, Tim Roughgarden, Éva Tardos, and Vijay Vazirani

On the Multiple Unicast Network Coding Conjecture

Solutions to Homework 6

Max Flow, Min Cut, and Matchings (Solution)

Distributed Computing over Communication Networks: Maximal Independent Set

Problem Set 7 Solutions

Lecture 15 An Arithmetic Circuit Lowerbound and Flows in Graphs

Optimizing the Placement of Integration Points in Multi-hop Wireless Networks

Duality in General Programs. Ryan Tibshirani Convex Optimization /36-725

Introduction to Logic in Computer Science: Autumn 2006

Adaptive Cut Generation Algorithm for Improved Linear Programming Decoding of Binary Linear Codes

Online Matching and Ad Allocation. Contents

Transcription:

Approximation Algorithms for Weighted Vertex Cover CS 511 Iowa State University November 7, 2010 CS 511 (Iowa State University) Approximation Algorithms for Weighted Vertex Cover November 7, 2010 1 / 14

Weighted Vertex Cover: Problem Definition Input: An undirected graph G = (V, E) with vertex weights w i 0. Problem: Find a minimum-weight subset of nodes S such that every e E is incident to at least one vertex in S. CS 511 (Iowa State University) Approximation Algorithms for Weighted Vertex Cover November 7, 2010 2 / 14

Weighted Vertex Cover: Some Facts WVC is NP-hard. WVC can be 2-approximated. Proved next. A 2-approximation algorithm for WVC does not provide any sort of approximation guarantee for maximum-weight independent set. CS 511 (Iowa State University) Approximation Algorithms for Weighted Vertex Cover November 7, 2010 3 / 14

Weighted Vertex Cover: IP Formulation minimize i V w ix i subject to x i + x j 1 for every edge (i, j) E x i {0, 1} for every vertex i V (1) Observation Any feasible solution x to (1) yields a cover S = {i V : x i = 1}. If x is optimal solution to (1), then S = {i V : xi = 1} is a minimum weight vertex cover. CS 511 (Iowa State University) Approximation Algorithms for Weighted Vertex Cover November 7, 2010 4 / 14

Weighted Vertex Cover: LP Relaxation minimize i V w ix i subject to x i + x j 1 for every edge (i, j) E x i 0 for every vertex i V (2) Observation The optimum value of LP relaxation (2) is at most equal to the optimum value of integer program (1), because the LP has fewer constraints. CS 511 (Iowa State University) Approximation Algorithms for Weighted Vertex Cover November 7, 2010 5 / 14

The LP-Rounding Algorithm 1 Compute the optimum solution x to LP relaxation (2). 2 Let S = {i V : x i 1/2}. 3 Return S. CS 511 (Iowa State University) Approximation Algorithms for Weighted Vertex Cover November 7, 2010 6 / 14

Theorem The LP-Rounding Algorithm is a 2-approximation algorithm for MWVC. Proof. 1 S is a vertex cover. Consider an edge (i, j) E. Since x i + x j 1, either x i 1/2 or x j 1/2 (i, j) is covered. 2 If S is an optimum vertex cover, then w(s) 2w(S ). w(s ) n w i xi i=1 since LP is a relaxation of ILP i S w i x i since S {1,..., n} 1 w i since xi 1/2 for all i S 2 i S = 1 2 w(s) CS 511 (Iowa State University) Approximation Algorithms for Weighted Vertex Cover November 7, 2010 7 / 14

Weighted Vertex Cover: Dual LP maximize subject to e E y e e=(i,j) E y e w i for every node i V y e 0 for every edge e E (3) CS 511 (Iowa State University) Approximation Algorithms for Weighted Vertex Cover November 7, 2010 8 / 14

Intuition for Duality Edge e pays price y e 0 to be covered. Goal: Collect as much money as possible from the edges. Fair price condition: For every i V, y e w i. e=(i,j) E CS 511 (Iowa State University) Approximation Algorithms for Weighted Vertex Cover November 7, 2010 9 / 14

The Dual Gives a Lower Bound Lemma (Fairness Lemma) Let (y 1, y 2,..., y E ) be any feasible solution to the dual LP and S be a minimum-weight vertex cover. Then, y e w(s ). e E e E Proof. Let zd, z P, and z IP, be the optimal objective values of the dual LP, the primal LP, and the primal ILP for WVC. Then, y e zd = dual optimality strong duality z P zip = w(s ). integrality CS 511 (Iowa State University) Approximation Algorithms for Weighted Vertex Cover November 7, 2010 10 / 14

Using Duality Any dual solution y gives a lower bound on the optimal solution to WVC don t need to solve dual to optimality. However, y should be easy to convert into a vertex cover S. Further, S should not be too far from optimum. We can find such a y by a simple and fast method, without using an LP solver. CS 511 (Iowa State University) Approximation Algorithms for Weighted Vertex Cover November 7, 2010 11 / 14

The Pricing Method Definition Vertex i is tight if e=(i,j) E y e = w i. Pricing-Method(G, w) for each e E y e = 0 while there is an edge (i, j) such that neither i nor j are tight select such an edge e increase y e as much as possible while preserving dual feasibility S = {i V : i is tight} return S CS 511 (Iowa State University) Approximation Algorithms for Weighted Vertex Cover November 7, 2010 12 / 14

The Pricing Method: Example Source: Kleinberg & Tardos, Algorithm Design (Fig. 11.8). CS 511 (Iowa State University) Approximation Algorithms for Weighted Vertex Cover November 7, 2010 13 / 14

Theorem The Pricing Method is a 2-approximation algorithm for MWVC. CS 511 (Iowa State University) Approximation Algorithms for Weighted Vertex Cover November 7, 2010 14 / 14

Theorem The Pricing Method is a 2-approximation algorithm for MWVC. Proof. 1 Running time is polynomial. Reason: At least one new node becomes tight after each iteration of while loop. 2 The set S returned is a vertex cover. Reason: At termination, for each edge e = (u, v), at least one of u and v is tight = at least one of u and v is in S. CS 511 (Iowa State University) Approximation Algorithms for Weighted Vertex Cover November 7, 2010 14 / 14

Theorem The Pricing Method is a 2-approximation algorithm for MWVC. Proof. 3 Let S be an optimum vertex cover. Then w(s) 2w(S ). Reason: w(s) = i S w i = i S i V e=(i,j) e=(i,j) = 2 y e e E 2w(S ) y e y e since the nodes in S are tight since S V and y e 0 for all e because each edge is counted twice by the Fairness Lemma CS 511 (Iowa State University) Approximation Algorithms for Weighted Vertex Cover November 7, 2010 14 / 14