Professional Documents
Culture Documents
PROBLEMS
Submitted To:
Mr. Shriprakash
Dwivedi.
Submitted By:
GROUP MEMBERS :
GAURI RAJPAL.(41319)
SHIVANI SINGH.(41324)
INDEX
Page No.
Introduction
Classification
Decision Problems
Complexity Class P
The Class NP
Relation Between P and NP
Polynomial Reductions
NP Complete Problems
Some Recent Advances
Conclusion
References
1
2
3
4
5
6
7
8
9-10
11
12
INTRODUCTION
A Turing machine M is said to be of time
complexity T(n) if whenever M is given an
input w of length n , M halts after making
atmost T(n) moves, regardless of whether or
not M accepts.
In computational time complexity theory, we
have two kinds of problems
Problem is tractable if there
exists at least one polynomial
bound algorithm that solves it.
Problem is intractable if there
does not exist any polynomial
bound algorithm that solves it.
CLASSIFICATION
Tractable : An algorithm is polynomial bound if its
worst case growth rate can be bound by a polynomial
p(n) in the size n of the problem
f ( n) c , or n
n
log n
, etc.
COMPLEXITY CLASS P
TRACTABLE
Class P: problems that can be solved in
polynomial time
O (nk) for some constant k.
Easy problems like sorting, making a
photo mosaic using duplicate tiles,
simulating the universe are all in P.
4
THE CLASS NP
NP is the class of decision problems for
which there is a polynomial bounded
verification algorithm
It can be shown that:
all decision problems in P, and
decision problems such as traveling
salesman, knapsack, bin pack, are also in
NP
5
THE RELATION
BETWEEN P AND NP
It is not known whether P = NP.
Problems in P can be solved quickly
Problems in NP can be verified quickly.
It is easier to verify a solution than to
solve a problem.
Some researchers believe that P and NP
are not the same class.
POLYNOMIAL REDUCTIONS
The definition of NP-completeness uses the notion of polynomial
reductions of one problem to another problem written as
input
scratch
tapes
output
< p(n)
7
Remember: important requirement
is that time < p(n).
T
not in M
NP Complete Problems
A problem/language M is said to be NP-complete if for
every language L in NP, there is a polytime reduction from
L to M.
Fundamental property: if M has a polytime algorithm,
then L also has a polytime algorithm.
I.e., if M is in P, then every L in NP is also in P, or P
= NP.
10
CONCLUSION
Is P = NP??
After decades of research, everyone believes that
P NP, i.e. that no polynomial-time solutions for
very hard problems exist. But no one has proven
it. If you do, you will be very famous, and
moderately wealthy..
1
1
REFERENCES
Basics of Complexity Theory by Oded Goldreich
David Evans - www.cs.virginia.edu/evans
12
THANK YOU!!