Lecture 35: Knapsack Approximation Proofs
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*.
| This entry was posted on Friday, April 22nd, 2005 at 11:11 am and is tagged with knapsack algorithm, knapsack problem, v max, ceil, approximation, true value, proofs. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback. |
Leave a Reply