COMS 482: unofficial class blog


Lecture 35: Knapsack Approximation Proofs

Posted in Class Notes by Elliott Back on April 22nd, 2005. [Del.icio.us]

In the previous lecture we showed an approximation to the Knapsack algorithm that is fast when v* = max vi is small. So, convert a knapsack problem into one where v* is small by choosing b and converting vi -> ceil(vi/b). We want an answer within (1 + e) of the true value, so b = (e/n) * v*.

« Previous PageNext Page »