complexity1-handouts

# complexity1-handouts - ECE 537 Foundations of Computing...

This preview shows pages 1–7. Sign up to view the full content.

ECE 537 – Foundations of Computing Module 9, Lecture 1: Complexity Theory – NP-Completeness Professor G.L. Heileman University of New Mexico Fall 2008 c ± 2008 G. L. Heileman Module 9, Lecture 1

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
References Cormen et. al., Chapter 34. A Guide to the Theory of NP-Completeness, W. H. Freeman, New York, 1979. C. Papadimitriou, Computational Complexity, Addison Wesley, 1994. Michael Sipser, Introduction to the Theory of Computation, 2nd edition, PWS Publishing Company, 2005. c ± 2008 G. L. Heileman Module 9, Lecture 1
Overview Motivation Complexity Classes NP -Completeness Proving a problem NP -Complete c ± 2008 G. L. Heileman Module 9, Lecture 1

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Motivation There exist many “real-life”, practical problems for which eﬃcient (i.e., polynomial time) algorithms are not known. Furthermore, for many of these problems it has not even been shown if eﬃcient algorithms are possible. We will be considering these problems when we discuss the theory of NP -completeness. It is important for algorithm designers to understand this theory so that they may direct their problem-solving eﬀorts towards approaches that have a possibility of yielding useful algorithms. For example, if we show that a problem is NP -complete, then we probably won’t want to spend much time looking for an eﬃcient algorithm that solves the problem. Many smart people have tried, without success, for many years to ﬁnd just one polynomial-time solution to an NP -complete problem. c ± 2008 G. L. Heileman Module 9, Lecture 1
Motivation So if a problem is NP -complete, do we give up? Not necessarily, we might: Look for algorithms that eﬃciently solve various special cases of interest (which are not NP -complete). Relax the problem statement so that eﬃcient algorithms can be realized while meeting most of the requirements of the original problem. Look for algorithms that are not guaranteed to run quickly, but on average they do. Rather than seeking an optimal solution, we might consider approximation algorithms that are guaranteed to get close to the optimal solution. c ± 2008 G. L. Heileman Module 9, Lecture 1

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Motivation Complexity theory involves the investigation of hierarchies of complexity classes. In Module 3 we deﬁned a number of complexity classes, and recall that a complexity class is composed of a set of languages. Remember that complexity hierarchies can be deﬁned w.r.t. any resource consumed by the computation. We will mainly be concerned with the hierarchy based on
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 11/30/2009 for the course ECE 537 taught by Professor Sen during the Spring '07 term at New Mexico.

### Page1 / 23

complexity1-handouts - ECE 537 Foundations of Computing...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online