8.1 Determine whether the following statements are correct or not

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.
Logistics HW due next week Midterm also next week on Tuesday
The "if structure" is used to execute statement(s) only if the given condition is satisfied.
A Randomized Polynomial- Time Simplex Algorithm for Linear Programming CS3150 Course Presentation.
Analysis of Algorithms CS 477/677
 O: order of magnitude  Look at the loops and to see whether the loops are nested. ◦ One single loop: O(n) ◦ A nested loop: O(n 2 ) ◦ A nested loop.
 The running time of an algorithm as input size approaches infinity is called the asymptotic running time  We study different notations for asymptotic.
The Theory of NP-Completeness
Razdan with contribution from others 1 Algorithm Analysis What is the Big ‘O Bout? Anshuman Razdan Div of Computing.
EXAMPLE 2 Write four related conditional statements Write the if-then form, the converse, the inverse, and the contrapositive of the conditional statement.
Asymptotic Growth Rate
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 21 Instructor: Paul Beame.
CPSC 411, Fall 2008: Set 2 1 CPSC 311 Analysis of Algorithms Sorting Lower Bound Prof. Jennifer Welch Fall 2009.
True/False. False True Subject May Go Here True / False ? Type correct answer here. Type incorrect answer here.
Chapter 11: Limitations of Algorithmic Power
Determine whether each curve below is the graph of a function of x. Select all answers that are graphs of functions of x:
1.1 Chapter 1: Introduction What is the course all about? Problems, instances and algorithms Running time v.s. computational complexity General description.
Chapter Complexity of Algorithms –Time Complexity –Understanding the complexity of Algorithms 1.
Computational Complexity Polynomial time O(n k ) input size n, k constant Tractable problems solvable in polynomial time(Opposite Intractable) Ex: sorting,
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.
Algorithm Efficiency CS 110: Data Structures and Algorithms First Semester,
Matt Schierholtz. Method for solving problems with finite steps Algorithm example: Error Check for problem Solve problem Must terminate.
Tonga Institute of Higher Education Design and Analysis of Algorithms IT 254 Lecture 8: Complexity Theory.
CSE Winter 2008 Introduction to Program Verification January 29 how wang works.
CS 345: Chapter 10 Parallelism, Concurrency, and Alternative Models Or, Getting Lots of Stuff Done at Once.
Real Zeros of Polynomial Functions. Quick Review.
CSCI 2670 Introduction to Theory of Computing December 1, 2004.
. CLASSES RP AND ZPP By: SARIKA PAMMI. CONTENTS:  INTRODUCTION  RP  FACTS ABOUT RP  MONTE CARLO ALGORITHM  CO-RP  ZPP  FACTS ABOUT ZPP  RELATION.
TABLES AND VALUES Section 1.5. Open Sentence Equation.
Cliff Shaffer Computer Science Computational Complexity.
Chapter 3 Exponential and Logarithmic Functions 1.
Equations with Many Solutions or No Solution
1 The Theory of NP-Completeness 2 Cook ’ s Theorem (1971) Prof. Cook Toronto U. Receiving Turing Award (1982) Discussing difficult problems: worst case.
Growth of Functions. 2 Analysis of Bubble Sort 3 Time Analysis – Best Case The array is already sorted – no swap operations are required.
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
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.
2.4/2.52.4/2.5 Real Zeros of Polynomial Functions.
Module #7: Algorithmic Complexity Rosen 5 th ed., §2.3.
Design and Analysis of Algorithms NP-Completeness Haidong Xue Summer 2012, at GSU.
Chapter 3 Exponential and Logarithmic Functions
“If John studies then he will get an A.” s a s a F F T F T T T T T T F F.
Solving the Logic Satisfiability problem Solving the Logic Satisfiability problem Jesus De Loera.
Young CS 331 D&A of Algo. NP-Completeness1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and.
Sum of Arithmetic Sequences. Definitions Sequence Series.
6.5 Solving Exponential Equations SOLVE EXPONENTIAL EQUATIONS WITH THE SAME BASE. SOLVE EXPONENTIAL EQUATIONS WITH UNLIKE BASES.
3.5 Polynomial and Rational Inequalities. Solving inequalities – true/false quiz True or False. 1.True or False. The solution set of is x > 4 2. True.
Lecture 2 Algorithm Analysis
NP-Completeness A problem is NP-complete if: It is in NP
The Subset-sum Problem
NP-Completeness Yin Tat Lee
Solve: 1. 4<
Proving Statements About Angles
2-1 Conditional Statements
Set includes rational numbers and irrational numbers.
Computational Complexity
Introduction to Algorithms Second Edition by
Week 6 14 – 17 September 2015.
True or False: {image} is one-to-one function.
Chapter 34: NP-Completeness
Find the reference angle for the angle measuring {image}
What is the value of |-6-2| - |5-7| ?
Proving Statements About Angles
Is the statement below true or false
NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979.
4-9问题的形式化描述.
Logarithms – Changing the Base
15th Scandinavian Workshop on Algorithm Theory
Chapter 2 Sets Active Learning Lecture Slides
True or False True or False
Presentation transcript:

8.1 Determine whether the following statements are correct or not (1) If a problem is NP-complete, then it cannot be solved by any polynomial algorithm in worst cases. (2) If a problem is NP-complete, then we have not found any polynomial algorithm to solve it in worst cases. (3) If a problem is NP-complete, then it is unlikely that a polynomial algorithm can be found in the future to solve it in worst cases. (4) If a problem is NP-complete, then it is unlikely that we can find a polynomial algorithm to solve it in average cases. (5) If we can prove that the lower bound of an NP-complete problem is exponential, then we have proved that NP≠P.

(1) If a problem is NP-complete, then it cannot be solved by any polynomial algorithm in worst cases. False, It is still open whether NP is P or not

(2) If a problem is NP-complete, then we have not found any polynomial algorithm to solve it in worst cases. True

(3) If a problem is NP-complete, then it is unlikely that a polynomial algorithm can be found in the future to solve it in worst cases. True

(4) If a problem is NP-complete, then it is unlikely that we can find a polynomial algorithm to solve it in average cases. False, It is possible to solve an NP-complete problem in average polynomial time

(5) If we can prove that the lower bound of an NP-complete problem is exponential, then we have proved that NP≠P. True