Learning objectives
After this class, you should be able to:
- Modify the pseudo-polynomial time algorithm for Knapsack, to create a FPTAS.
- Analyze the accuracy of the above algorithm.
- Given a similar problem, develop a pseudo-polynomial time algorithm, and modify it to create an FPTAS.
Reading assignment
- Section 8.2.
- Page 94.
Exercises and review questions
- Questions on current lecture's material
- Find an approximate solution to the knapsack example given in the previous class, using the FPTAS discussed in class, with
epsilon = 0.75
.- Exercise 8.2.
- Questions on next lecture's material
- (Post your answer on the discussion board) Give an example of a linear program with four variables and three equations, and give a feasible solution for it.