Great Ideas in Computing Complexity Theory

Slides:



Advertisements
Similar presentations
NP-Hard Nattee Niparnan.
Advertisements

JAYASRI JETTI CHINMAYA KRISHNA SURYADEVARA
NP-Completeness Lecture for CS 302. Traveling Salesperson Problem You have to visit n cities You want to make the shortest trip How could you do this?
The Theory of NP-Completeness
1 NP-Complete Problems. 2 We discuss some hard problems:  how hard? (computational complexity)  what makes them hard?  any solutions? Definitions 
Transitivity of  poly Theorem: Let ,  ’, and  ’’ be three decision problems such that   poly  ’ and  ’  poly  ’’. Then  poly  ’’. Proof:
Computability and Complexity 16-1 Computability and Complexity Andrei Bulatov NP-Completeness.
1 Polynomial Time Reductions Polynomial Computable function : For any computes in polynomial time.
The Theory of NP-Completeness
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
The Theory of NP-Completeness 1. What is NP-completeness? Consider the circuit satisfiability problem Difficult to answer the decision problem in polynomial.
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
CSEP 521 Applied Algorithms Richard Anderson Lecture 10 NP Completeness.
CSE 024: Design & Analysis of Algorithms Chapter 9: NP Completeness Sedgewick Chp:40 David Luebke’s Course Notes / University of Virginia, Computer Science.
Lecture 6 NP Class. P = ? NP = ? PSPACE They are central problems in computational complexity.
CS 3343: Analysis of Algorithms Lecture 25: P and NP Some slides courtesy of Carola Wenk.
1 How to establish NP-hardness Lemma: If L 1 is NP-hard and L 1 ≤ L 2 then L 2 is NP-hard.
Lecture 25 NP Class. P = ? NP = ? PSPACE They are central problems in computational complexity.
NPC.
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness Proofs.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
CSE 421 Algorithms Richard Anderson Lecture 29 Complexity Theory NP-Complete P.
CSE 332: NP Completeness, Part II Richard Anderson Spring 2016.
Costas Busch - LSU 1 More NP-complete Problems. Costas Busch - LSU 2 Theorem: If: Language is NP-complete Language is in NP is polynomial time reducible.
NP-Completeness A problem is NP-complete if: It is in NP
NP-Completeness (2) NP-Completeness Graphs 4/13/2018 5:22 AM x x x x x
Chapter 10 NP-Complete Problems.
Computational Complexity Theory
Richard Anderson Lectures NP-Completeness
Richard Anderson Lecture 26 NP-Completeness
Lecture 2-2 NP Class.
More NP-complete Problems
More NP-complete Problems
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
NP-Completeness Proofs
Richard Anderson Lecture 26 NP-Completeness
Hard Problems Introduction to NP
Richard Anderson Lecture 25 Min Cut Applications and NP-Completeness
Lecture 5 NP Class.
Intro to Theory of Computation
Intro to Theory of Computation
Other Models of Computation
Intro to Theory of Computation
Lecture 24 NP-Complete Problems
ICS 353: Design and Analysis of Algorithms
Intro to NP Completeness
NP-Completeness (2) NP-Completeness Graphs 11/23/2018 2:12 PM x x x x
More NP-complete Problems
Richard Anderson Lecture 25 NP-Completeness
Great Ideas in Computing Problem mapping
Computational Complexity
Great Ideas in Computing Average Case Analysis
Richard Anderson Lecture 28 NP-Completeness
Richard Anderson Lecture 28 Coping with NP-Completeness
Richard Anderson Lecture 29 NP-Completeness
Richard Anderson Lecture 29 Complexity Theory
Chapter 8 NP and Computational Intractability
Richard Anderson Lecture 30 NP-Completeness
Chapter 11 Limitations of Algorithm Power
Richard Anderson Lecture 27 NP Completeness
CS 3343: Analysis of Algorithms
Richard Anderson Lecture 26 NP-Completeness
P, NP and NP-Complete Problems
The Theory of NP-Completeness
NP-Completeness Lecture for CS 302.
Richard Anderson Lecture 27 Survey of NP Complete Problems
CSE 589 Applied Algorithms Spring 1999
Richard Anderson Lecture 25 NP Completeness
NP-Completeness (2) NP-Completeness Graphs 7/9/2019 6:12 AM x x x x x
Presentation transcript:

Great Ideas in Computing Complexity Theory Richard Anderson University of Washington July 1, 2008 IUCEE: Discrete Mathematics

Mathematical Structure of Computation What is computation? Church’s Thesis – all forms of computation are equivalent July 1, 2008 IUCEE: Discrete Mathematics

IUCEE: Discrete Mathematics Alan Turing Undecidability of the halting problem A function that provably cannot be computed July 1, 2008 IUCEE: Discrete Mathematics

Combinatorial Optimization Ford-Fulkerson 1956 July 1, 2008 IUCEE: Discrete Mathematics

IUCEE: Discrete Mathematics Jack Edmonds Polynomial Time July 1, 2008 IUCEE: Discrete Mathematics

Non deterministic Turing Machine July 1, 2008 IUCEE: Discrete Mathematics

IUCEE: Discrete Mathematics Hard problems Satisfiability Bin Packing Integer Programming Hamiltonian Circuit Vertex Cover 3 Dimensional Matching Traveling Salesman Problem July 1, 2008 IUCEE: Discrete Mathematics

IUCEE: Discrete Mathematics NP Completeness Non-deterministic polynomial time Cook’s theorem: Satisfiability is the hardest problem in NP Simulate a polynomial time non-deterministic computation with satisfiability formula Karp Showed that a wide range of other problems were also NP-complete Showed how to convert satisfiability into TSP July 1, 2008 IUCEE: Discrete Mathematics

IUCEE: Discrete Mathematics Satisfiability Given a boolean formula, is there an assignment of the variables to make it true Simplified version CNF Each clause has at most 3 literals (x || y || z) && (!x || !y || !z) && (!x || y) && (x || !y) && (y || !z) && (!y || z) July 1, 2008 IUCEE: Discrete Mathematics

Simulation of a formula with a path in a graph G has a Hamiltonian Circuit if and only if F has a satisfying truth assignment G can be constructed “easily” from F July 1, 2008 IUCEE: Discrete Mathematics

Gadgets: Truth Setting July 1, 2008 IUCEE: Discrete Mathematics

Gadgets: Truth Testing July 1, 2008 IUCEE: Discrete Mathematics

IUCEE: Discrete Mathematics Papadimitriou Hamiltonian Circuit NP Complete for Grid Graphs July 1, 2008 IUCEE: Discrete Mathematics

IUCEE: Discrete Mathematics Euclidean TSP n points in a Rn Distance between a pair of points is the Euclidean distance Is the Euclidean TSP NP-complete? July 1, 2008 IUCEE: Discrete Mathematics

IUCEE: Discrete Mathematics On beyond NP NP-Complete P-SPACE NP P July 1, 2008 IUCEE: Discrete Mathematics