PCPs and Inapproximability Introduction. My T. Thai 2 Why Approximation Algorithms  Problems that we cannot find an optimal solution.

Slides:



Advertisements
Similar presentations
Approximation Algorithms
Advertisements

Design and Analysis of Algorithms Approximation algorithms for NP-complete problems Haidong Xue Summer 2012, at GSU.
1 The TSP : Approximation and Hardness of Approximation All exact science is dominated by the idea of approximation. -- Bertrand Russell ( )
The Theory of NP-Completeness
CPE702 Complexity Classes Pruet Boonma Department of Computer Engineering Chiang Mai University Based on Material by Jenny Walter.
1 NP-Complete Problems. 2 We discuss some hard problems:  how hard? (computational complexity)  what makes them hard?  any solutions? Definitions 
© The McGraw-Hill Companies, Inc., Chapter 8 The Theory of NP-Completeness.
Combinatorial Algorithms
CS774. Markov Random Field : Theory and Application Lecture 17 Kyomin Jung KAIST Nov
Probabilistically Checkable Proofs (and inapproximability) Irit Dinur, Weizmann open day, May 1 st 2009.
Umans Complexity Theory Lectures Lecture 15: Approximation Algorithms and Probabilistically Checkable Proofs (PCPs)
02/01/11CMPUT 671 Lecture 11 CMPUT 671 Hard Problems Winter 2002 Joseph Culberson Home Page.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
Approximation Algorithms
NP-complete and NP-hard problems Transitivity of polynomial-time many-one reductions Definition of complexity class NP –Nondeterministic computation –Problems.
The Theory of NP-Completeness
NP-complete and NP-hard problems
Analysis of Algorithms CS 477/677
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
Chapter 11: Limitations of Algorithmic Power
CS151 Complexity Theory Lecture 15 May 18, CS151 Lecture 152 Outline IP = PSPACE Arthur-Merlin games –classes MA, AM Optimization, Approximation,
An introduction to Approximation Algorithms Presented By Iman Sadeghi.
1 NP-Complete Problems (Fun part) Polynomial time vs exponential time –Polynomial O(n k ), where n is the input size (e.g., number of nodes in a graph,
1 The Theory of NP-Completeness 2 NP P NPC NP: Non-deterministic Polynomial P: Polynomial NPC: Non-deterministic Polynomial Complete P=NP? X = P.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
Programming & Data Structures
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Computational Complexity Polynomial time O(n k ) input size n, k constant Tractable problems solvable in polynomial time(Opposite Intractable) Ex: sorting,
Scott Perryman Jordan Williams.  NP-completeness is a class of unsolved decision problems in Computer Science.  A decision problem is a YES or NO answer.
1 The Theory of NP-Completeness 2012/11/6 P: the class of problems which can be solved by a deterministic polynomial algorithm. NP : the class of decision.
1 The TSP : NP-Completeness Approximation and Hardness of Approximation All exact science is dominated by the idea of approximation. -- Bertrand Russell.
Complexity Classes (Ch. 34) The class P: class of problems that can be solved in time that is polynomial in the size of the input, n. if input size is.
APPROXIMATION ALGORITHMS VERTEX COVER – MAX CUT PROBLEMS
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Great Theoretical Ideas in Computer Science.
Chapter 15 Approximation Algorithm Introduction Basic Definition Difference Bounds Relative Performance Bounds Polynomial approximation Schemes Fully Polynomial.
Approximation Algorithms
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
CSE 024: Design & Analysis of Algorithms Chapter 9: NP Completeness Sedgewick Chp:40 David Luebke’s Course Notes / University of Virginia, Computer Science.
1 Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples: b number of comparisons needed to find the.
CSCI 3160 Design and Analysis of Algorithms Chengyu Lin.
CSCI 3160 Design and Analysis of Algorithms Tutorial 10 Chengyu Lin.
1 The Theory of NP-Completeness 2 Cook ’ s Theorem (1971) Prof. Cook Toronto U. Receiving Turing Award (1982) Discussing difficult problems: worst case.
Although this may seem a paradox, all exact science is dominated by the idea of approximation. Bertrand Russell Approximation Algorithm.
Unit 9: Coping with NP-Completeness
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
Non-Approximability Results. Summary -Gap technique -Examples: MINIMUM GRAPH COLORING, MINIMUM TSP, MINIMUM BIN PACKING -The PCP theorem -Application:
“One ring to rule them all” Analogy (sort of) Lord of The Rings Computational Complexity “One problem to solve them all” “my preciousss…”
CSCI 2670 Introduction to Theory of Computing November 17, 2005.
CS6045: Advanced Algorithms NP Completeness. NP-Completeness Some problems are intractable: as they grow large, we are unable to solve them in reasonable.
1 CPSC 320: Intermediate Algorithm Design and Analysis July 30, 2014.
Algorithms for hard problems Introduction Juris Viksna, 2015.
NPC.
Lecture. Today Problem set 9 out (due next Thursday) Topics: –Complexity Theory –Optimization versus Decision Problems –P and NP –Efficient Verification.
1 CPSC 320: Intermediate Algorithm Design and Analysis July 30, 2014.
NP ⊆ PCP(n 3, 1) Theory of Computation. NP ⊆ PCP(n 3,1) What is that? NP ⊆ PCP(n 3,1) What is that?
Approximation Algorithms by bounding the OPT Instructor Neelima Gupta
COSC 3101A - Design and Analysis of Algorithms 14 NP-Completeness.
The NP class. NP-completeness Lecture2. The NP-class The NP class is a class that contains all the problems that can be decided by a Non-Deterministic.
Great Theoretical Ideas in Computer Science.
Conceptual Foundations © 2008 Pearson Education Australia Lecture slides for this course are based on teaching materials provided/referred by: (1) Statistics.
TU/e Algorithms (2IL15) – Lecture 11 1 Approximation Algorithms.
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Richard Anderson Lectures NP-Completeness
Algorithms for hard problems
Analysis and design of algorithm
Chapter 11 Limitations of Algorithm Power
NP-Completeness Yin Tat Lee
Complexity Theory in Practice
Presentation transcript:

PCPs and Inapproximability Introduction

My T. Thai 2 Why Approximation Algorithms  Problems that we cannot find an optimal solution in a polynomial time  Eg: Set Cover, Bin Packing  Need to find a near-optimal solution:  Heuristic  Approximation algorithms:  This gives us a guarantee approximation ratio

My T. Thai 3 Combinatorial Optimization  The study of finding the “best” object from within some finite space of objects, eg:  Shortest path: Given a graph with edge costs and a pair of nodes, find the shortest path (least costs) between them  Traveling salesman: Given a complete graph with nonnegative edge costs, find a minimum cost cycle visiting every vertex exactly once  Maximum Network Lifetime: Given a wireless sensor networks and a set of targets, find a schedule of these sensors to maximize network lifetime

My T. Thai 4 In P or not in P? Informal Definitions:  The class P consists of those problems that are solvable in polynomial time, i.e. O(n k ) for some constant k where n is the size of the input.  The class NP consists of those problems that are “verifiable” in polynomial time:  Given a certificate of a solution, then we can verify that the certificate is correct in polynomial time

My T. Thai 5 In P or not in P: Examples  In P:  Shortest path  Minimum Spanning Tree  Not in P (NP):  Vertex Cover  Traveling salesman  Minimum Connected Dominating Set

My T. Thai 6 Approximation Algorithms  An algorithm that returns near-optimal solutions in polynomial time  Approximation Ratio ρ(n):  Define: C* as a optimal solution and C is the solution produced by an approximation algorithm  max (C/C*, C*/C) <= ρ(n)  Maximization problem: 0 < C <= C*, thus C*/C shows that C* is larger than C by ρ(n)  Minimization problem: 0 < C* <= C, thus C/C* shows that C is larger than C* by ρ(n)

My T. Thai 7 Approximation Algorithms (cont)  PTAS (Polynomial Time Approximation Scheme): A (1 + ε)-approximation algorithm for a NP-hard optimization П where its running time is bounded by a polynomial in the size of instance I  FPTAS (Fully PTAS): The same as above + time is bounded by a polynomial in both the size of instance I and 1/ε

My T. Thai 8 Hardness of Approximation  Informally, how hard can we approximate?  Hardness results usually falls into the following 3 classes:  Constant ( > 1)  Ω(log n)  n ε

Proving Hardness of Approximation  Show if we have a ρ approximation to problem A, we could solve the NP-hard problem B exactly  The only inapproximability results that can be proved with such reductions are for problems that remain NP-hard even restricted to instances where the optimum is a small constant.  Want to use already proved hardness of approximation results to prove new results (objective of the course) My T. Thai 9

My T. Thai 10 An Example (k-center) ≤

My T. Thai 11 2-Approx

My T. Thai 12

My T. Thai 13

My T. Thai 14 Analysis

My T. Thai 15 Hardness of Approximation (k-center)

The PCP System My T. Thai 16

The PCP System  Use the familiar concept of a verifier and a proof  PCP system comes with two parameters: the number of random bits required by the verifier; the number of bits that the verifier is allowed to examine  The most useful setting of these parameters is O(log n) and O(1) respectively. This defines the class PCP(log n, 1) My T. Thai 17

The PCP System My T. Thai 18

Connection to Inapproximability My T. Thai 19 Informally, the PCP theorem states that every NP-statement has a probabilistically checkable proof, i.e. a proof which can be "spot-checked" by reading only a constant number of bits from the proof. These bits are selected by a randomized process using a very limited amount of randomness. The checking process always accepts a correct proof of a correct statement and rejects any cheating proof of an incorrect statement with high probability.  Theorem: NP = PCP[log n, 1] If you verify k times, then the probability for a YES answer of a wrong proof is at most ½^k

Brief History  Intractability of many combinatorial optimization problems was observed in the 60s  R.L. Graham. Bounds for certain multiprocessing anomalies. Bell System Technology Journal, 45:1563–1581,  Introduce the theory of NP-completeness (CLK)  S.A. Cook. The complexity of theorem proving procedures. In Proceedings of the 3 rd ACM Symposium on Theory of Computing, pages 151–158, 1971  L. A. Levin. Universal search problems. Problemi Peredachi Informatsii, 9:265–266,1973  R.M. Karp. Reducibility among combinatorial problems. In R.E. Miller and J.W.Thatcher, editors, Complexity of Computer Computations, pages 85–103. Plenum Press, 1972 My T. Thai 20

Brief History  In 1973, Johnson gave a foundation to the field of the design and analysis of approximation algorithms  Now, come to an exciting era (leading to PCPs and Inapproximability)  The story of the PCP Theorem begins at MIT in the early 1980s My T. Thai 21

Brief History  STOC 85: The Knowledge Complexity of Interactive Proof System by Goldwasser, Micali, and Rackoff  Introduced Interactive Proofs  In an interactive proof, a randomized poly-time verifier with private coin tosses interacts with an all-powerful prover; they send messages back and forth in poly many rounds. Correct statements should have proofs accepted with probability 1 (‘completeness’) and incorrect statements should be rejected, regardless of the proof, which probability at least ½ (‘soundness’)  (Independently with Babai et. al) My T. Thai 22

Brief History  In 1991, Feige et al discovered that probabilistic proof systems could give a robust model for NP that could be used to prove an inapproximability for the Independent Set problem  A year later, Arora et al proved the PCP Theorem (NP = PCP[log n, 1]) and showed how to use the PCP Theorem to prove that Max 3SAT does not have PTAS My T. Thai 23

My T. Thai 24