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

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

Lecture 18: PCP Theorem and Hardness of Approximation I

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

Complexity Classes IV

Essential facts about NP-completeness:

Complexity Classes V. More PCPs. Eric Rachlin

Approximation Preserving Reductions

Approximation algorithm for Max Cut with unit weights

Hardness of Approximation

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

DRAFT. PCP and Hardness of Approximation. Chapter 19

Lecture 15: A Brief Look at PCP

Lecture 10: Hardness of approximating clique, FGLSS graph

1 Agenda. 2 History. 3 Probabilistically Checkable Proofs (PCPs). Lecture Notes Definitions. PCPs. Approximation Algorithms.

an efficient procedure for the decision problem. We illustrate this phenomenon for the Satisfiability problem.

PCP Theorem And Hardness Of Approximation For MAX-SATISFY Over Finite Fields

BCCS: Computational methods for complex systems Wednesday, 16 June Lecture 3

On the efficient approximability of constraint satisfaction problems

HW11. Due: December 6, 2018

Chapter 34: NP-Completeness

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

CS151 Complexity Theory. Lecture 15 May 22, 2017

CSE 421 NP-Completeness

Probabilistically Checkable Proofs. 1 Introduction to Probabilistically Checkable Proofs

Expander Graphs and Their Applications (X) Yijia Chen Shanghai Jiaotong University

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

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

NP Completeness and Approximation Algorithms

CS294: PCP and Hardness of Approximation January 25, Notes for Lecture 3

PCP Course; Lectures 1, 2

Lecture 16 November 6th, 2012 (Prasad Raghavendra)

Advanced Algorithms (XIII) Yijia Chen Fudan University

CS Lecture 29 P, NP, and NP-Completeness. k ) for all k. Fall The class P. The class NP

U.C. Berkeley CS278: Computational Complexity Professor Luca Trevisan August 30, Notes for Lecture 1

On the Complexity of the Minimum Independent Set Partition Problem

Lecture 19: Interactive Proofs and the PCP Theorem

INAPPROX APPROX PTAS. FPTAS Knapsack P

Interactive Proofs. Merlin-Arthur games (MA) [Babai] Decision problem: D;

NP-Complete Reductions 1

A An Overview of Complexity Theory for the Algorithm Designer

SAT, Coloring, Hamiltonian Cycle, TSP

Lecture 12 Scribe Notes

Introduction. Pvs.NPExample

NP Complete Problems. COMP 215 Lecture 20

Theory of Computer Science. Theory of Computer Science. E4.1 Overview E4.2 3SAT. E4.3 Graph Problems. E4.4 Summary.

NP-COMPLETE PROBLEMS. 1. Characterizing NP. Proof

Show that the following problems are NP-complete

Correctness of Dijkstra s algorithm

CSE 105 THEORY OF COMPUTATION

Intro to Theory of Computation

Exact Max 2-SAT: Easier and Faster. Martin Fürer Shiva Prasad Kasiviswanathan Pennsylvania State University, U.S.A

PCP Theorem and Hardness of Approximation

NP-Hardness reductions

Umans Complexity Theory Lectures

Introduction to Advanced Results

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

[PCP Theorem is] the most important result in complexity theory since Cook s Theorem. Ingo Wegener, 2005

Polynomial kernels for constant-factor approximable problems

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

NP Completeness. Richard Karp, 1972.

Lecture 13, Fall 04/05

SAT, NP, NP-Completeness

Theory of Computer Science

P is the class of problems for which there are algorithms that solve the problem in time O(n k ) for some constant k.

NP-Completeness. Dr. B. S. Panda Professor, Department of Mathematics IIT Delhi, Hauz Khas, ND-16

Lecturer: Shuchi Chawla Topic: Inapproximability Date: 4/27/2007

The Complexity of Maximum. Matroid-Greedoid Intersection and. Weighted Greedoid Maximization

Provable Approximation via Linear Programming

CSCI3390-Lecture 16: NP-completeness

Week 3: Reductions and Completeness

Approximability preserving reduction

The Cook-Levin Theorem

CS 5114: Theory of Algorithms

Computability and Complexity Theory: An Introduction

PROBABILISTIC CHECKING OF PROOFS AND HARDNESS OF APPROXIMATION

Theory of Computer Science. Theory of Computer Science. E3.1 Overview. E3.2 Cook-Levin Theorem E3.3 3SAT. E3.4 Summary. Further Reading (German)

NP-Completeness. Algorithmique Fall semester 2011/12

NP-Completeness. Andreas Klappenecker. [based on slides by Prof. Welch]

Review of unsolvability

The Probabilistic Method

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

On the Query Complexity of Clique Size and Maximum Satisfiability

CSCI 1590 Intro to Computational Complexity

Lecture 2 (Notes) 1. The book Computational Complexity: A Modern Approach by Sanjeev Arora and Boaz Barak;

CS21 Decidability and Tractability

princeton univ. F 17 cos 521: Advanced Algorithm Design Lecture 6: Provable Approximation via Linear Programming

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

Chapter 3. Complexity of algorithms

6.045: Automata, Computability, and Complexity (GITCS) Class 15 Nancy Lynch

Technische Universität München Summer term 2010 Theoretische Informatik August 2, 2010 Dr. J. Kreiker / Dr. M. Luttenberger, J. Kretinsky SOLUTION

1.1 P, NP, and NP-complete

P P P NP-Hard: L is NP-hard if for all L NP, L L. Thus, if we could solve L in polynomial. Cook's Theorem and Reductions

NP and Computational Intractability

Today. Few Comments. PCP Theorem, Simple proof due to Irit Dinur [ECCC, TR05-046]! Based on some ideas promoted in [Dinur- Reingold 04].

CS154, Lecture 18: 1

NP-Complete problems

Introduction to Complexity Theory

CS 5114: Theory of Algorithms. Tractable Problems. Tractable Problems (cont) Decision Problems. Clifford A. Shaffer. Spring 2014

NP-Completeness. A language B is NP-complete iff B NP. This property means B is NP hard

Transcription:

Keywords The following terms should be well-known to you. 1. P, NP, NP-hard, NP-complete. 2. (polynomial-time) reduction. 3. Cook-Levin theorem. 4. NPO problems. Instances. Solutions. For a long time it was unclear how to construct such gap producing reductions for CLIQUE and many other important optimization problems. The Cook-Karp-Levin technique seemed more suited for proving the hardness of decision problems (for example, non-optimization problems such as SAT or TILING) than of optimization problems. Recent work has yielded a fairly general technique for constructing gap-producing reductions. This new technique, relies upon new probabilistic characterizations of the NP class in terms of interactive proof systems. The most well-known such characterization is the so-called PCP Theorem, written as NP = PCP(log n, 1). 1 3 Approximation Complexity Theory: historical remarks In general, proving the NP-hardness of an optimization problem involves a reduction from SAT (or any other NP-complete problem) to the problem. To prove the hardness of approximation, this reduction must produce a gap in the value of the optimum. For instance, proving the NP-hardness of approximating the maximum clique problem within a factor g requires coming up with a reduction from SAT to CLIQUE that maps satisfiable formulae to graphs with clique number at least K (for some K), and unsatisfiable formulae to graphs with clique number at most K/g. What s PCP? Remember Interactive Proof Systems? A verifier is (r(n), q(n))-restricted if on each input of size n it uses at most O(r(n)) random bits for its computation and queries at most O(q(n)) bits of the P-to-V communication tape. A language L is in PCP(r(n), q(n)) if there is an (r(n), q(n))-restricted verifier M that probabilistically checks membership proofs for L. 2 4

The proof of the PCP Theorem involves complicated algebraic techniques from complexity theory, and will not be given here. Luckily, understanding the proof is not a prerequisite for using the theorem in inapproximability results. In particular, we will look at few major inapproximability results, but the reader will only need some familiarity with the basic notions of NP-completeness (the first few chapters of the well-known book by Garey and Johnson provide all necessary background). In our treatment we will divide problems into two broad classes, based on the approximation ratio that is provably hard to achieve. These approximation ratios are, respectively, 1 + ɛ for some fixed ɛ > 0, and ω(n). Inapproximability results for problems within a class (sometimes also across classes) share common ideas. Note that problems in Class I cannot belong to PTAS, unless P = NP. Plan Reductions from MAX 3-SAT will be used to prove all inapproximability results in this notes. Thus Ma-SAT plays a role in the theory of inapproximability analogous to the one played by 3SAT in the classical theory of NP-completeness. First we need to know that MAX 3-SAT itself is NP-hard to approximate! (analogue of the Cook-Levin Theorem). 5 7 MAX 3-SAT The input is a 3CNF boolean formula φ(, x 2, ), like ( x 2 ) ( x 2 ) ( x 2 ) ( x 2 ) The goal is to find an assignment that maximises the number of satisfied clauses. Solutions are truth assignments, i.e. assignments of values in {TRUE, FALSE} to the variables in the formula. For instance one could set and x 2 to FALSE and to TRUE. We will denote truth-assignments by Greek letters like α and β. Cost of a truth assignment is the fraction of clauses that it satisfies. In the example c(φ, α) = 3/4. We let opt Max3SAT (φ) denote the maximum value of the objective function for a 3CNF formula φ. A very important result There is a fixed ɛ > 0 and a polynomial time reduction h from SAT to MAX 3-SAT such that for every boolean formula φ: φ SAT opt Max3SAT (h(φ)) = 1 φ SAT opt Max3SAT (h(φ)) < 1 In other words achieving a ratio 1 + ɛ for MAX 3-SAT is NP-hard. The proof of this result is much beyond the scope of this module. We will however repeatedly invoke this result to prove further complexity results. 6 8

Gap-preserving reductions Let Π and Π be two maximization problems. A gap-preserving reduction from Π to Π with parameters (c, ρ), (c, ρ ) is a polynomial-time algorithm f. For each instance x of Π, algorithm f generates an instance x = f(x) of Π such that the optima of x and x satisfy the following property. opt(x) c opt(x ) c, opt(x) < c ρ opt(x ) < c ρ. Here c and ρ are (positive) values that depend on x, the size of instance x, and c, ρ are positive values depending on x. Also, ρ, ρ 1. (2) Gap-preserving reductions map solutions to solutions in an obvious way. For instance, given a solution x of value at least c, a solution to x of value at least c can be produced in polynomial time. (3) The above definition can be modified in an obvious way when one (or both) of the optimization problems involve minimization Let P and Q be two minimisation problems. A gap-preserving reduction from P to Q with parameters (c, ρ), (c, ρ ) is a polynomial time algorithm f translating each instance x of P into f(x) so that opt(x) c opt(f(x)) c opt(x) > ρc opt(f(x)) > ρ c 9 11 Remarks (1) Suppose we wish to prove the inapproximability of problem Π. If we have a polynomial time reduction h from SAT to Π that ensures, for every boolean formula φ, that φ SAT opt(h(φ)) c, and φ SAT opt(h(φ)) < c ρ, then composing this reduction with the gap-preserving reduction gives an algorithm that translates instances of SAT into instances of Π such that: φ SAT opt(f(h(φ))) c, and φ SAT opt(f(h(φ))) < c ρ. This algorithm shows that achieving an approximation ratio ρ for Π is NP-hard. This idea of composing reductions underlies our inapproximability results. (4) The gap-preserving reduction could behave arbitrarily on an instance x for which c/ρ opt(x) < c. Thus its niceness holds only on a partial domain. Papadimitriou and Yannakakis (1991) (see the chapters on approximation algorithms in Papadimitriou textbook) defined an alternative notion of reduction (L-reduction), whose niceness can be maintained on all instances of Π. An L-reduction, coupled with an approximation algorithm for Π, yields an approximation algorithm for Π. This statement is false for a gap-preserving reduction. On the other hand, for exhibiting merely the hardness of approximation, it suffices (and is usually easier) to find gap-preserving reductions. (5) The name gap-preserving is a bit inaccurate, since the new gap ρ could be much bigger or much smaller than the old gap ρ. 10 12

PTAS vs APX We start this section with a familiar example of a hard problem: CLIQUE. This proof of hardness will be used later to show a stronger inapproximability result for CLIQUE. For every ɛ > 0, there is a gap-preserving reduction from MAX 3-SAT to CLIQUE that has parameters (c, 1 + ɛ), (cn/3, 1 + ɛ) where N is the number of vertices in the new graph. In other words, CLIQUE does not have a PTAS. A clique in this graph can contain only one vertex per triple. Furthermore, it cannot contain two vertices representing literals that are negations of each other. In other words, by looking at the literals represented in the clique we can write in a natural way a partial assignment that satisfies as many clauses as there are vertices in the clique. Thus, opt Max3SAT (φ) = c ω(h(φ)) = cm opt Max3SAT (φ) < c cm ω(h(φ)) < 13 15 Argument Let φ be a 3-CNF formula in variables,...,x n with m clauses. By replicating literals within clauses we can ensure that each clause has 3 literals (e.g., if the clause is x i then change it to x i x i x i ). Construct a graph h(φ) on 3m vertices as follows. Represent each clause (l 1 l 2 l 3 ) by a triplet of vertices, one for each literal. Put no edge between vertices within the same triplet. If u, v are vertices in two different triplets, put an edge between them iff the literals they stand for are NOT the negations of each other. x 2 ~ 14 15-10

Vertex cover We already know the following relationships ω(g) = α(g) τ(g) = V (G) α(g) Here is the main inapproximability result for vertex cover. x 2 ~ For every ɛ > 0, there is a gap-preserving reduction from MAX 3-SAT to VERTEX COVER that has parameters (c, 1 + ɛ), ((3 c)m, 1 + ɛ) where m is the number of clauses of the given formula. In other words, VERTEX COVER does not have a PTAS. 15-11 16 Argument x 2 ~ Given an instance of the MAX 3-SAT problem φ on n variables and m clauses, define a graph G φ whose vertices are φ s literals and whose edges join pairs of literals in the same clause and pairs of complementary literals in different clauses (this graph has 3m vertices). Assume now that there exists an assignment α satisfying at least cm clauses of φ, then we can pick a distinct literal in G φ from each triplet corresponding to a satisfied clause. Let U be this set. The set V (G φ ) \ U is a vertex cover in G φ of size at most 3m cm. Conversely if there exists an assignment α satisfying at most cm clauses of φ, then the resulting cover (built in exactly the same way) will have size at least (3 c 3 c )m which is at least m. 15-12 17

NPO VertexCover APX Max3SAT Clique APX complete PTAS MultiProcScheduling 18