Learning objectives
After this class, you should be able to:
- Define the Knapsack problem.
- Define a fully polynomial time approximation scheme (FPTAS).
- Describe a pseudo-polynomial time algorithm for this problem.
Reading assignment
- AA: Chapter 8, up to (and including) section 8.1.
- AA: Section 8.2.
Exercises and review questions
- Questions on current lecture's material
- Find an approximate solution to the knapsack example given in class, using the pseudo-polynomial time algorithm discussed in class.
- AA: Exercise 8.1: Consider the following greedy algorithm for the Knapsack problem. Sort the objects by decreasing ratio of profit to size, and then greedily pick objects in this order. Show that this algorithm can be made to perform arbitrarily badly.
- Questions on next lecture's material
- What is the difference between a polynomial time approximation scheme and a fully polynomial time approximation scheme?
Last modified: 8 Jul 2004