More NP-Complete and NP-hard Problems - Donald Bren School of ...
More NP-Complete and
NP-hard Problems
Traveling Salesperson Path
Subset Sum
Partition
1
NP-completeness Proofs
1. The first part of an NP-completeness
proof is showing the problem is in NP.
2. The second part is giving a reduction
from a known NP-complete problem.
? Sometimes, we can only show a problem
NP-hard = ¡°if the problem is in P, then
P = NP,¡± but the problem may not be in
NP.
2
Optimization Problems
? NP-complete problems are always
yes/no questions.
? In practice, we tend to want to solve
optimization problems, where our
task is to minimize (or maximize) a
function, f(x), of the input, x.
? Optimization problems, strictly
speaking, can¡¯t be NP-complete (only
NP-hard).
3
Turning an Optimization Problem
into a Decision Problem
? Optimization Problem: Given an
input, x, find the smallest (or, largest)
optimization value, f(x), for x.
? Corresponding Decision Problem:
Given an input, x, and integer k, is
there an optimization value, f(x), for x,
that is at most (or, at least) k?
4
Optimization Problems ¨C (2)
? Optimization problems are never,
strictly speaking, in NP.
? They are not yes/no.
? But there is always a simple polynomialtime reduction from the yes/no version
to the optimization version. (How?)
5
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- 3 sums and integrals
- more np complete and np hard problems donald bren school of
- math 115 hw 3 solutions colorado state university
- solutions to review problems for chapter 6 6 1 6 6 college of arts
- math 230 01 fall 2012 hw 1 solutions duke university
- 1 simple linear regression i least squares estimation
- least squares and normal equations background washington state university
- minis mathcounts
- introduction to number theory 1 what is number theory
- randomized complete block design rcbd montana state university
Related searches
- problems with american school system
- problems with the school system
- problems for high school students
- problems in the school system
- problems in public school systems
- problems with high school education
- complete and incomplete sentences pdf
- identifying complete and incomplete sentences
- nature throid and np thyroid conversion
- problems with public school system
- problems in american school systems
- complete and incomplete thought examples