Polynomial time approximation schemes for dense instances of NP-hard problems
STOC '95 Proceedings of the twenty-seventh annual ACM symposium on Theory of computing
Fast Approximation Algorithms for the Knapsack and Sum of Subset Problems
Journal of the ACM (JACM)
Sampling algorithms: lower bounds and applications
STOC '01 Proceedings of the thirty-third annual ACM symposium on Theory of computing
Computers and Intractability: A Guide to the Theory of NP-Completeness
Computers and Intractability: A Guide to the Theory of NP-Completeness
An efficient fully polynomial approximation scheme for the Subset-Sum problem
Journal of Computer and System Sciences
Random sampling and approximation of MAX-CSPs
Journal of Computer and System Sciences - STOC 2002
Approximating the Minimum Spanning Tree Weight in Sublinear Time
SIAM Journal on Computing
Fast approximation algorithms for knapsack problems
SFCS '77 Proceedings of the 18th Annual Symposium on Foundations of Computer Science
Constant-Time Approximation Algorithms via Local Improvements
FOCS '08 Proceedings of the 2008 49th Annual IEEE Symposium on Foundations of Computer Science
An improved constant-time approximation algorithm for maximum~matchings
Proceedings of the forty-first annual ACM symposium on Theory of computing
A sublinear-time approximation scheme for bin packing
Theoretical Computer Science
Proceedings of the forty-third annual ACM symposium on Theory of computing
Hi-index | 0.00 |
In this paper, we give a constant-time approximation algorithm for the knapsack problem. Using weighted sampling, with which we can sample items with probability proportional to their profits, our algorithm runs with query complexity O (ε −4 logε −1), and it approximates the optimal profit with probability at least 2/3 up to error at most an ε -fraction of the total profit. For the subset sum problem, which is a special case of the knapsack problem, we can improve the query complexity to O (ε −1 logε −1).