Suggestions required on approximation algorithm problems

Let's talk about algorithms!

Moderator: Board moderators

Post Reply
ChPravin
New poster
Posts: 9
Joined: Mon Nov 17, 2008 6:11 am

Suggestions required on approximation algorithm problems

Post by ChPravin »

Hi

Please give in your ideas and suggestions on the following problems on approximation algorithms:

1)Give an approximation algorithm that takes an instance of the knapsack problem and a positive integer k and returns a packing with an approximation ratio of no more than 1 + 1/k . Your algorithm must run in O(n^(k+1)) time. Prove that both of these bounds (approximation ratio and running time) are met by your algorithm.

2)Suppose we were to modify the knapsack problem to allow
as many copies as we wish of any of the items. Show that the greedy
algorithm yields an approximation ratio of no more than 2 for this variation.

Thanks & Regards,
vsareddy
New poster
Posts: 1
Joined: Fri Dec 12, 2008 8:01 am

Re: Suggestions required on approximation algorithm problems

Post by vsareddy »

Are you from K-State??
Post Reply

Return to “Algorithms”