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

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

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

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

Lecture 16 November 6th, 2012 (Prasad Raghavendra)

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

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

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

Complexity Classes IV

Lecture 19: Interactive Proofs and the PCP Theorem

1. Introduction Recap

Lecture 10: Hardness of approximating clique, FGLSS graph

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

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

Lecture 18: PCP Theorem and Hardness of Approximation I

Complexity Classes V. More PCPs. Eric Rachlin

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

CS151 Complexity Theory. Lecture 15 May 22, 2017

Hardness of Approximation

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

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

Topics in Complexity Theory

PCP Theorem and Hardness of Approximation

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

6.841/18.405J: Advanced Complexity Wednesday, April 2, Lecture Lecture 14

Lecture 15: A Brief Look at PCP

Lecture 17 November 8, 2012

Dinur s Proof of the PCP Theorem

Hardness of Approximation

Some Open Problems in Approximation Algorithms

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

Approximation Preserving Reductions

Some Open Problems in Approximation Algorithms

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

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

Almost transparent short proofs for NP R

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

On the efficient approximability of constraint satisfaction problems

Probabilistically Checkable Proofs. 1 Introduction to Probabilistically Checkable Proofs

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

Lecture 12 Scribe Notes

Lecture 18: More NP-Complete Problems

NP-Complete Reductions 2

DRAFT. PCP and Hardness of Approximation. Chapter 19

Umans Complexity Theory Lectures

On the Complexity of the Minimum Independent Set Partition Problem

Polynomial-time Reductions

Lecture 20: Course summary and open problems. 1 Tools, theorems and related subjects

Approximation Algorithms

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

1 Probabilistically checkable proofs

How to Cope with NP-Completeness

Tool: Linearity Testing and the Walsh-Hadamard Code

Advanced Algorithms (XIII) Yijia Chen Fudan University

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

Hardness of Embedding Metric Spaces of Equal Size

CS21 Decidability and Tractability

Approximation algorithm for Max Cut with unit weights

Overview. 1 Introduction. 2 Preliminary Background. 3 Unique Game. 4 Unique Games Conjecture. 5 Inapproximability Results. 6 Unique Game Algorithms

More NP-Complete Problems

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

CS154, Lecture 18: 1

Correctness of Dijkstra s algorithm

NP-Complete Reductions 1

FPT hardness for Clique and Set Cover with super exponential time in k

APPROXIMATION FOR DOMINATING SET PROBLEM WITH MEASURE FUNCTIONS

Approximation algorithms based on LP relaxation

Provable Approximation via Linear Programming

P,NP, NP-Hard and NP-Complete

Lecture 26. Daniel Apon

Introduction Long transparent proofs The real PCP theorem. Real Number PCPs. Klaus Meer. Brandenburg University of Technology, Cottbus, Germany

Lecture 13, Fall 04/05

Topics in Complexity

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

Probabilistically checkable proofs

SAT, Coloring, Hamiltonian Cycle, TSP

Data Structures in Java

P versus NP over Various Structures

PCP Course; Lectures 1, 2

PROBABILISTIC CHECKING OF PROOFS AND HARDNESS OF APPROXIMATION

Combinatorial Optimization

Towards the Sliding Scale Conjecture (Old & New PCP constructions)

Approximability of Dense Instances of Nearest Codeword Problem

NP-problems continued

Undecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65

Computational Complexity

Quasi-Random PCP and Hardness of 2-Catalog Segmentation

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

NP Complete Problems. COMP 215 Lecture 20

~

Optimal Hardness Results for Maximizing Agreements with Monomials

Improved Hardness of Approximating Chromatic Number

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

CS 320, Fall Dr. Geri Georg, Instructor 320 NP 1

Basic Probabilistic Checking 3

CSI 4105 MIDTERM SOLUTION

Computational Intractability 2010/4/15. Lecture 2

Lecture 21 (Oct. 24): Max Cut SDP Gap and Max 2-SAT

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

NP-Complete Reductions 3

Algorithms. NP -Complete Problems. Dong Kyue Kim Hanyang University

Transcription:

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

Lecture 19 Hardness of Approximation

3 Recap Recap: optimization many decision problems we have seen have optimization versions both minimization and maximization algorithms return best solution with respect to optimization parameter ρ Examples problem min/max parameter 3SAT max fraction of satisfiable clauses Indset max size of independent set VC min size of cover

4 Recap Recap: approximation results vertex cover has a 2-approximation possibly NP-hard to approximate to within 2 ɛ for all ɛ > 0 currently known: NP-hard to approximate to within 10 5 21; I. Dinur, S. Safra, The importance of being biased, STOC 2002. set cover has a ln n approximation this is optimal; it is NP-hard to approximate to within (1 ɛ) ln n U. Feige, A threshold of ln n for approximating set cover, STOC 1996. TSP also hard to approximate to within any 1 + ɛ

5 Recap Polynomial time approximation schemes A problem has a polynomial time approximation scheme if for all ɛ > 0 it can be efficiently approximated to within a factor of 1 ɛ for maximization and 1 + ɛ for minimization. Examples knapsack bin packing subset sum a number of other scheduling problems Which NP-complete problems do have PTAS? Which don t? How to prove results on previous slide?

6 Recap Recap: gap TSP[ V, h V ] An algorithm to solve the gap problem needs to: if G has a shortest tour of length < V then G is accepted by the gap algorithm if the shortest tour of G is > h V then G is rejected otherwise: don t care Theorem: For any h 1 gap TSP[ V, h V ] is NP-hard by reduction from Hamiltonian cycle It is NP-hard to approximate TSP to within any factor h 1. The reduction is called gap-producing.

7 Recap Agenda gap 3SAT[ρ, 1] 7/8 approximation for max3sat PCP theorem: hardness of approximation view gap-preserving reductions hardness of approximating Indset and VC

8 gap-3sat gap-3sat[ρ, 1] gap 3SAT[ρ, 1] is the gap version of max3sat which computes the largest fraction of satisfiable clauses a 3CNF with m clauses is accepted if it is satisfiable it is rejected if < ρ m clauses are satisfiable until 1992 it was an open problem whether max3sat could be approximated to within any factor > 7/8 why 7/8?

9 gap-3sat A 7/8 approximation of max3sat Theorem For all 3CNF with exactly three independent literals per clause, there exists an assignment that satisfies 7/8 of the clauses. Proof for a random assignment let Y i be the random variable that is true if clause C i is true under the assignment then N = Σ m i=1 Y i is the number of satisfied clauses E[Y i ] = 7/8 for all i E[N] = 7/8 m by the law of average (probabilistic method basic principle) there must exist an assignment that makes 7/8 of the clauses true Can we do any better than 7/8?

10 PCP: hardness of approximation No! Theorem For every ɛ > 0 gap 3SAT[7/8 + ɛ, 1] is NP-hard. this is a PCP theorem by J. Håstad, Some optimal inapproximability results, STOC 1997. as a consequence, if there exists a 7/8 + ɛ approximation of max3sat then P = NP we will later prove a much weaker PCP theorem

11 PCP: hardness of approximation Agenda gap 3SAT[ρ, 1] 7/8 approximation for max3sat PCP theorem: hardness of approximation view gap-preserving reductions hardness of approximating Indset and VC

12 PCP: hardness of approximation THE PCP theorem Håstads result is one in a series of inapproximability results based on the PCP theorem. Theorem (PCP: hardness of approximation) There exists a ρ < 1 such that gap 3SAT[ρ, 1] is NP-hard. Safra: One of the deepest and most complicated proofs in computer science with a matching impact. original proof in two papers: Arora, Safra, Probabilistic checking of proofs, FOCS 92 Arora, Lund, Motwani, Sudan, Szegedy, Proof verification and the hardness of approximations, FOCS 92. virtually all inapproximability results depend on the PCP theorem and the notion of gap preserving reductions by Papadimitriou and Yannakakis

13 PCP: hardness of approximation Probabilistically checkable proofs the PCP theorem is equivalent to the statement NP = PCP[log n, 1] PCP stands for probabilistically checkable proofs and is related to interactive proofs and MIP = NEXP equivalence of two views shown in next lecture NP = PCP[poly(n), 1] shown after that

14 PCP: hardness of approximation Agenda gap 3SAT[ρ, 1] 7/8 approximation for max3sat PCP theorem: hardness of approximation view gap-preserving reductions hardness of approximating Indset and VC

15 PCP Application Gap-producing and preserving reductions PCP theorem states that for every L NP there exists a gap-producing reduction f to gap 3SAT[ρ, 1]: x L = f(x) is satisfiable x L = less than ρ of the f(x) s clauses can be satisfied at the same time Observation in order to show inapproximability of other problems, we want to preserve gaps by reductions

16 PCP Application gap 3SAT[ρ, 1] gap gap IS[ρ, 1] Consider the proof of 3SAT p Indset. The reduction f used there is actually gap-preserving, we write gap 3SAT[ρ, 1] gap gap IS[ρ, 1] if 3CNF ψ with m clauses is satisfiable then graph f(ψ) has an independent set of size m if less than ρ of ψ s clauses can be satisfied, the largest independent set has less than ρ m nodes hence: if we can approximate Indest to within ρ, then we can approximate max3sat to within ρ, then we can decide any L NP

17 PCP Application What about vertex cover? The same reduction f from independent set can be used to show hardness of approximating vertex cover to within (7 ρ)/6 for the same ρ used in max3sat and Indset. ψ satisfiable f(ψ) has i.s. of size m f(ψ) has a v.c. of size 6m only ρ m of ψ s clauses satisfiable f(ψ) has largest i.s. smaller than ρm f(ψ) has smallest v.c. of size larger than (7 ρ)m

18 PCP Application Independent set vs. vertex cover For both independent set and vertex cover, we know that there exist a ρ < 1 such that neither can be approximated to within ρ (resp. 1/ρ) optimal solutions are intimately related: if vc is the smallest vertex cover and is the largest independent set then vc = is n but: approximation is different; using the ρ app. for independent set, yields a n ρ is n is approximation for set cover for independent set we can show NP-hardness of approximation to within any factor ρ < 1 by gap amplification

19 PCP Application Gap amplification given instance G = (V, E) construct G = (V V, E ) where E = {(u, v), (u, v ) (u, u ) E (v, v ) E} if I V is an i.s. of G then I I is an i.s. of G ; hence opt(g ) opt(g) 2 if I is an optimal i.s. in G with vertices (u 1, v 1 ),..., (u j, v j ) then the u i and the v i are each i.s. in G with at most opt(g) vertices; hence opt(g ) opt(g) 2 hence i.s. is also hard to approximate within ρ 2 this can be done any constant k times to obtain the result

20 PCP Application What have we learnt? 7/8 approximation for max3sat PCP theorem: hardness of approximating max3sat gap-preserving reductions to obtain more inapproximability results NP-hardness of approximating Indset to within any ρ < 1 NP-hardness of approximating VC to within some ρ > 1 (yet unknown) but: many NP-complete problems can still be approximated to within any factor 1 + ɛ Up next PCP: hardness of approximation vs. prob. checkable proofs proof of a weaker PCP theorem