Nicholas Bulinski.  Informally it is the question of if a computer can quickly verify that a solution to a problem is true then can the computer solve.

Slides:



Advertisements
Similar presentations
P, NP, NP-Complete Problems
Advertisements

NP-Complete Problems CIT 596, Spring Problems that Cross the Line What if a problem has: o An exponential upper bound o A polynomial lower bound.
Complexity Classes: P and NP
What is Intractable? Some problems seem too hard to solve efficiently. Question 1: Does an efficient algorithm exist?  An O(a ) algorithm, where a > 1,
The class NP Section 7.3 Giorgi Japaridze Theory of Computability.
Great Theoretical Ideas in Computer Science for Some.
Computability and Complexity 13-1 Computability and Complexity Andrei Bulatov The Class NP.
Computational problems, algorithms, runtime, hardness
CSE332: Data Abstractions Lecture 27: A Few Words on NP Dan Grossman Spring 2010.
© 2006 Pearson Addison-Wesley. All rights reserved14 A-1 Chapter 14 Graphs.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 21 Instructor: Paul Beame.
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
NP-Complete Problems Problems in Computer Science are classified into
P versus NP and Cryptography Wabash College Mathematics and Computer Science Colloquium Nov 16, 2010 Jeff Kinne, Indiana State University (Theoretical)
Analysis of Algorithms CS 477/677
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 22 Instructor: Paul Beame.
CS10 The Beauty and Joy of Computing Lecture #23 : Limits of Computing Thanks to the success of the Kinect, researchers all over the world believe.
P, NP, and NP-Complete Suzan Köknar-Tezel.
Ref: Pfleeger96, Ch.31 NP-Complete Problems Reference: Pfleeger, Charles P., Security in Computing, 2nd Edition, Prentice Hall, 1996.
NP-complete and NP-hard problems. Decision problems vs. optimization problems The problems we are trying to solve are basically of two kinds. In decision.
Computability and Complexity 17-1 Computability and Complexity Andrei Bulatov Strong NP-Completeness.
Halting Problem. Background - Halting Problem Common error: Program goes into an infinite loop. Wouldn’t it be nice to have a tool that would warn us.
Complexity Theory: The P vs NP question Lecture 28 (Dec 4, 2007)
Programming & Data Structures
MCS312: NP-completeness and Approximation Algorithms
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.
NP Complexity By Mussie Araya. What is NP Complexity? Formal Definition: NP is the set of decision problems solvable in polynomial time by a non- deterministic.
CSE 326: Data Structures NP Completeness Ben Lerner Summer 2007.
Section 7.7 Previously, when we encountered square roots of negative numbers in solving equations, we would say “no real solution” or “not a real number”.
P and NP. Computational Complexity Recall from our sorting examples at the start of class that we could prove that any sort would have to do at least.
Partitions of Integers Prof. Sin-Min Lee Department of Computer Science San Jose State University.
Computation Model and Complexity Class. 2 An algorithmic process that uses the result of a random draw to make an approximated decision has the ability.
Instructor: Shengyu Zhang 1. Tractable While we have introduced many problems with polynomial-time algorithms… …not all problems enjoy fast computation.
Starters designed to get students ‘Talking Maths’.
1 Chapter 34: NP-Completeness. 2 About this Tutorial What is NP ? How to check if a problem is in NP ? Cook-Levin Theorem Showing one of the most difficult.
CSE332: Data Abstractions Lecture 27: A Few Words on NP Tyler Robison Summer
CS10: The Beauty and Joy of Computing Lecture #22 Limits of Computing Warning sign posted at Stern Hall. Also, Apple releases new operating.
CPS Computational problems, algorithms, runtime, hardness (a ridiculously brief introduction to theoretical computer science) Vincent Conitzer.
CS6045: Advanced Algorithms NP Completeness. NP-Completeness Some problems are intractable: as they grow large, we are unable to solve them in reasonable.
Design and Analysis of Algorithms NP-Completeness Haidong Xue Summer 2012, at GSU.
The Beauty and Joy of Computing Lecture #23 Limits of Computing Researchers at Facebook and the University of Milan found that the avg # of “friends” separating.
NP-Completeness  For convenience, the theory of NP - Completeness is designed for decision problems (i.e. whose solution is either yes or no).  Abstractly,
CS216: Program and Data Representation University of Virginia Computer Science Spring 2006 David Evans Lecture 8: Crash Course in Computational Complexity.
Optimization/Decision Problems Optimization Problems – An optimization problem is one which asks, “What is the optimal solution to problem X?” – Examples:
Computational Complexity Shirley Moore CS4390/5390 Fall 2013 August 27, 2013.
Introduction to NP Instructor: Neelima Gupta 1.
EXAMPLE 1 Add polynomials vertically and horizontally a. Add 2x 3 – 5x 2 + 3x – 9 and x 3 + 6x in a vertical format. SOLUTION a. 2x 3 – 5x 2 + 3x.
1 1. Which of these sequences correspond to Hamilton cycles in the graph? (a) (b) (c) (d) (e)
1 P and NP. 2 Introduction The Traveling Salesperson problem and thousands of other problems are equally hard in the sense that if we had an efficient.
CS 154 Formal Languages and Computability May 10 Class Meeting Department of Computer Science San Jose State University Spring 2016 Instructor: Ron Mak.
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.
34.NP Completeness. Computer Theory Lab. Chapter 34P.2.
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
The NP class. NP-completeness
NP-Complete Problems.
8.2 – Strong NP Completeness
Computational problems, algorithms, runtime, hardness
Lecture 5 Dynamic Programming
1.5 Intractable problems.
Unsolvable Problems December 4, 2017.
Growth of functions CSC317.
Lecture 5 Dynamic Programming
Section 14.3 Complexity Classes
Halting Problem.
CSC 4170 Theory of Computation The class NP Section 7.3.
CPS 173 Computational problems, algorithms, runtime, hardness
4-9问题的形式化描述.
A Few Sample Reductions
Multiply by 5/40 and sum with 2nd row
Presentation transcript:

Nicholas Bulinski

 Informally it is the question of if a computer can quickly verify that a solution to a problem is true then can the computer solve that problem quickly as well?  This is one of the seven millennium prize problems

 When we say “quickly” we mean any algorithm that runs in polynomial time.  The class of problems that can be solved in polynomial time is known as class P or just P.  An example of a problem that is in P would be finding the determinant of an n by n matrix.

 However there are some problems that (so far) can not be solved quickly but the answer to that problem can be verified in polynomial time.  The class of problems where the solution can be verified in polynomial time is known as NP.  An example of a problem in NP is the subset sum problem. The problem asks given a set of integers is there a non-empty subset that sums to 0?

 If this is proven to be true this would have an huge impact on just about every field of science.  The reason why is that programmers frequently encounter NP problems and by extension any field that uses computers (which is almost all of them) would benefit greatly (or suffer) from such a proof.  This range's from the multiple sequence alignment problem in biology to the factoring integers (used in the RSA encryption system)