Approximation Preserving Reductions

Similar documents
Non-Approximability Results (2 nd part) 1/19

CS21 Decidability and Tractability

Hardness of Approximation

1. Introduction Recap

Keywords. Approximation Complexity Theory: historical remarks. What s PCP?

Limits to Approximability: When Algorithms Won't Help You. Note: Contents of today s lecture won t be on the exam

Notes for Lecture 2. Statement of the PCP Theorem and Constraint Satisfaction

NP-Complete Reductions 1

Essential facts about NP-completeness:

Fundamentals of optimization problems

Computational Intractability 2010/4/15. Lecture 2

Structure in Approximation Classes 2 able to come back from \good" solutions for B to \good" solutions for A. Surprisingly, the rst denition of this k

NP and Computational Intractability

Approximation Basics

Topics in Complexity Theory

Algorithms and Theory of Computation. Lecture 22: NP-Completeness (2)

Complexity, P and NP

Lecture 18: More NP-Complete Problems

NP Complete Problems. COMP 215 Lecture 20

NP-Complete problems

Correctness of Dijkstra s algorithm

A.Antonopoulos 18/1/2010

Polynomial-time Reductions

CSCI 1590 Intro to Computational Complexity

Theory of Computation Chapter 9

Poly-APX- and PTAS-completeness in standard and differential approximation

More NP-Complete Problems

Asymptotic Polynomial-Time Approximation (APTAS) and Randomized Approximation Algorithms

Lecture 18: PCP Theorem and Hardness of Approximation I

CS21 Decidability and Tractability

Approximation algorithm for Max Cut with unit weights

NP-Complete Problems. More reductions

Easy Problems vs. Hard Problems. CSE 421 Introduction to Algorithms Winter Is P a good definition of efficient? The class P

Intro to Theory of Computation

NP-COMPLETE PROBLEMS. 1. Characterizing NP. Proof

Welcome to... Problem Analysis and Complexity Theory , 3 VU

NP-completeness. Chapter 34. Sergey Bereg

On the Complexity of the Minimum Independent Set Partition Problem

Theory of Computation CS3102 Spring 2014 A tale of computers, math, problem solving, life, love and tragic death

NP and Computational Intractability

Approximation Algorithms and Hardness of Approximation. IPM, Jan Mohammad R. Salavatipour Department of Computing Science University of Alberta

4/12/2011. Chapter 8. NP and Computational Intractability. Directed Hamiltonian Cycle. Traveling Salesman Problem. Directed Hamiltonian Cycle

Chapter 34: NP-Completeness

CS154, Lecture 15: Cook-Levin Theorem SAT, 3SAT

Approximation Algorithms

NP-Complete Reductions 2

Lecture 13, Fall 04/05

Complexity Theory. Jörg Kreiker. Summer term Chair for Theoretical Computer Science Prof. Esparza TU München

Discrete Optimization 2010 Lecture 10 P, N P, and N PCompleteness

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.

Harvard CS 121 and CSCI E-121 Lecture 22: The P vs. NP Question and NP-completeness

NP-problems continued

SAT, NP, NP-Completeness

The Complexity of Optimization Problems

NP-Completeness. NP-Completeness 1

2 COLORING. Given G, nd the minimum number of colors to color G. Given graph G and positive integer k, is X(G) k?

NP Completeness. CS 374: Algorithms & Models of Computation, Spring Lecture 23. November 19, 2015

Lecture #14: NP-Completeness (Chapter 34 Old Edition Chapter 36) Discussion here is from the old edition.

Algorithm Design and Analysis

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.

NP-Hardness reductions

Approximation Algorithms

Limitations of Algorithm Power

NP-Completeness. Subhash Suri. May 15, 2018

PCPs and Inapproximability Gap-producing and Gap-Preserving Reductions. My T. Thai

Computational Complexity. IE 496 Lecture 6. Dr. Ted Ralphs

CS Fall 2011 P and NP Carola Wenk

Algorithms. Outline! Approximation Algorithms. The class APX. The intelligence behind the hardware. ! Based on

Algorithm Design and Analysis

Complexity Classes IV

NP and NP Completeness

UC Berkeley CS 170: Efficient Algorithms and Intractable Problems Handout 22 Lecturer: David Wagner April 24, Notes 22 for CS 170

INAPPROX APPROX PTAS. FPTAS Knapsack P

Chapter 3: Proving NP-completeness Results

Polynomial kernels for constant-factor approximable problems

CSCI3390-Lecture 17: A sampler of NP-complete problems

Classes of Problems. CS 461, Lecture 23. NP-Hard. Today s Outline. We can characterize many problems into three classes:

CS 301: Complexity of Algorithms (Term I 2008) Alex Tiskin Harald Räcke. Hamiltonian Cycle. 8.5 Sequencing Problems. Directed Hamiltonian Cycle

Some Algebra Problems (Algorithmic) CSE 417 Introduction to Algorithms Winter Some Problems. A Brief History of Ideas

CS151 Complexity Theory. Lecture 15 May 22, 2017

Computational Complexity and Intractability: An Introduction to the Theory of NP. Chapter 9

A An Overview of Complexity Theory for the Algorithm Designer

Algorithm Design and Analysis

Maximum 3-SAT as QUBO

CSE 3500 Algorithms and Complexity Fall 2016 Lecture 25: November 29, 2016

Graph. Supply Vertices and Demand Vertices. Supply Vertices. Demand Vertices

More Completeness, conp, FNP,etc. CS254 Chris Pollett Oct 30, 2006.

NP-Complete Problems. Complexity Class P. .. Cal Poly CSC 349: Design and Analyis of Algorithms Alexander Dekhtyar..

8. INTRACTABILITY I. Lecture slides by Kevin Wayne Copyright 2005 Pearson-Addison Wesley. Last updated on 2/6/18 2:16 AM

NP Completeness and Approximation Algorithms

Lecture 22: Counting

Polynomial-time reductions. We have seen several reductions:

Lecture 4: NP and computational intractability

NP-complete Problems

Approximability preserving reduction

COMP Analysis of Algorithms & Data Structures

Chapter 2. Reductions and NP. 2.1 Reductions Continued The Satisfiability Problem (SAT) SAT 3SAT. CS 573: Algorithms, Fall 2013 August 29, 2013

There are two types of problems:

NP Completeness. Richard Karp, 1972.

Transcription:

Approximation Preserving Reductions

- Memo Summary - AP-reducibility - L-reduction technique - Complete problems - Examples: MAXIMUM CLIQUE, MAXIMUM INDEPENDENT SET, MAXIMUM 2-SAT, MAXIMUM NAE 3-SAT, MAXIMUM SAT(B)

Memo: Approximation classes inclusions - It holds that PTAS APX log-apx poly-apx exp-apx NPO where - log-apx={polynomial-time O(log n)-approximate problem} - poly-apx={polynomial-time O(n k )-approximate problem, for any k>0} - exp-apx={polynomial-time O(2 nk )-approximate problem, for any k>0}

Memo: Approximation classes inclusions - Polynomial bound on m() implies that any NPO problem is h2 nk -approximable for some h and k... so every problem is in exp-apx? - NO! There are problems for which it is even hard (NPhard) to decide if any feasible solution exists. - Example: MIN {0,1}-linear programming - Given an integer matrix A and an integer vector b, deciding whether a binary vector x exists such that Ax b is NP-hard - If P NP, then PTAS APX log-apx poly-apx exp-apx NPO

Memo: Karp reducibility - A decision problem P 1 is Karp reducible to a decision problem P 2 (in short, P 1 P 2 ) if there exists a polynomial-time computable function R such that, for any x, x is a YES-instance of P 1 if and only if R(x) is a YES-instance of P 2 x I P 1 R - If P 1 P 2 and P 2 is in P, then P 1 is in P y I P A 2 2 answer

Reducibility and NPO problems P 1 P 2 x, r f(x), r r-approximate solution of x g(x, y) y r -approximate solution of f(x)

A taxonomy PTAS-reducibility A-reducibility P-reducibility AP-reducibility L-reducibility E-reducibility Continuous reducibility Strict reducibility

AP-reducibility ( AP ) - P 1 is AP-reducible to P 2 (P 1 AP P 2 ) if two functions f and g and a constant c 1 exist such that: - For any instance x of P 1 and for any r>1, f(x, r) is an instance of P 2 - For any instance x of P 1, for any r>1, and for any solution y of f(x,r), g(x,y,r) is a solution of x - For any fixed r>1, f and g are computable in polynomial time - For any instance x of P 1, for any r>1, and for any solution y of f(x,r), if R P2 (f(x,r), y) r, then R P1 (x, g(x,y,r)) 1+c(r-1)

Basic properties - Theorem: If P 1 AP P 2 and P 2 APX, then P 1 APX - If A is an r-approximation algorithm for P 2 then A P1 (x)= g(x, A(f(x,r)), r) is a (1+c(r-1))-approximation algorithm for P 1

Basic properties - Theorem: If P 1 AP P 2 and P 2 PTAS, then P 1 PTAS - If A is a polynomial-time approximation scheme for P 2 then A P1 (x, r)=g(x, A(f(x, r ), r ), r ) is a polynomial-time approximation scheme for P 1, where r =1+(r-1)/c

L-reducibility - P 1 is L-reducible to P 2 (P 1 L P 2 ) if two functions f and g and two constants a and b exist such that: - For any instance x of P 1, f(x) is an instance of P 2 - For any instance x of P 1, and for any solution y of f(x), g(x, y) is a solution of x - f and g are computable in polynomial time - For any instance x of P 1, m*(f(x)) a m*(x) - For any instance x of P 1 and for any solution y of f(x), m*(x) - m(x, g(x,y)) b m*(f(x)) - m(f(x), y)

Basic property of L-reductions - Theorem: If P 1 L P 2 and P 2 PTAS, then P 1 PTAS - Relative error in P 1 is bounded by a b times the relative error in P 2 - However, in general, it is not true that if P 1 L P 2 and P 2 APX, then P 1 APX NO! - The problem is that the relation between r and r may be non-invertible

Basic property of L-reductions - Lemma: Let P 1 and P 2 be two NPO problems such that is P 1 L P 2. If P 1 APX, then P 1 AP P 2

Inapproximability of independent set - Theorem: MAX CLIQUE AP MAX INDEPENDENT SET - G=(V, E), G c =(V,V 2 -E) is the complement graph - f(g) = G c - g(g,u)=u - c=1 - Each clique in G is an independent set in G c - Corollary: MAX INDEPENDENT SET APX

Complete problems - AP-reduction is transitive - AP-reduction induces a partial order among problems in the same approximation classes - Given a class C of NPO problems, a problem P is C-hard (with respect to the AP-reduction) if, for any P' C, P' AP P. If P C, then P is C-complete (with respect to the AP-reduction). - For any class C APX ( PTAS), if P is C-complete, then P APX ( PTAS), unless P=NP

MAXIMUM WEIGHTED SAT - INSTANCE: CNF Boolean formula φ with variables x 1, x 2,... x n, with non negative weights w 1, w 2,... w n - SOLUTION: A satisfied truth-assignment f to φ - MEASURE: max(1, Σ w i f(x i )), where f(x i )=true is calculated as f(x i )=1 and f(x i )=false as f(x i )=0

NPO-complete problems - Finding a feasible solution is as hard as SAT - MAX WEIGHTED SAT exp-apx - MAX WEIGHTED SAT is NPO-complete - MAX WEIGHTED SAT AP MAX WEIGHTED 3-SAT - MAX WEIGHTED 3-SAT AP MIN WEIGHTED 3-SAT - MIN WEIGHTED 3-SAT AP MIN {0,1}-LINEAR PROGRAMMING - MIN {0,1}-LINEAR PROGRAMMING is NPO-complete

APX-complete problems - The PCP theorem permits to show that MAX 3-SAT is complete for the class of maximization problems in APX - For any minimization problem P in APX, a maximization problem P' in APX exists such that P AP P' - MAX 3-SAT is APX-complete

Inapproximability of 2-satisfiability - Theorem: MAX 3-SAT L MAX 2-SAT - f transforms each clause (x or y or z) into the following set of 10 clauses where i is a new variable: - (x), (y), (z), (i), (not x or not y), (not x or not z), (not y or not z), (x or not i), (y or not i), (z or not i) - g(c,t)=restriction of t to original variables - a=13, b=1 - m*(f(x))=6 C +m*(x) 12m*(x)+m*(x)=13m*(x) - m*(f(x))-m(f(x),t) m*(x)-m(x,g(c,t)) - Corollary: MAX 2-SAT is APX-complete

MAXIMUM NOT-ALL-EQUAL SAT - INSTANCE: CNF Boolean formula, that is, set C of clauses over set of variables V - SOLUTION: A truth-assignment f to V - MEASURE: Number of clauses that contain both a false and a true literal

Inapproximability of NAE 3-SAT - Theorem: MAX 2-SAT L MAX NAE 3-SAT - f transforms each clause x or y into new clause x or y or z where z is a new global variable - g(c,t)=restriction of t to original variables - a=1, b=1 - z may be assumed false - each new clause is not-all-equal satisfied iff the original clause is satisfied - Corollary: MAX NAE 3-SAT is APX-complete

Other inapproximability results - Theorem: MIN VERTEX COVER is APX-complete - Reduction from MAX 3-SAT(3) - Theorem: MAX CUT is APX-complete - Reduction from MAX NAE 3-SAT - Theorem: MIN GRAPH COLORING APX - Reduction from variation of independent set

The NPO world if P NP NPO APX PTAS PO MINIMUM TSP MAXIMUM INDEPENDENT SET MAXIMUM CLIQUE MINIMUM GRAPH COLORING MINIMUM BIN PACKING MAXIMUM SATISFIABILITY MINIMUM VERTEX COVER MAXIMUM CUT MINIMUM PARTITION MINIMUM PATH