Skip to main content
Log in

Approximation for knapsack problems with multiple constraints

  • Regular Papers
  • Published:
Journal of Computer Science and Technology Aims and scope Submit manuscript

Abstract

In this paper, the approximation for four kinds of knapsack problems with multiple constraints is studied: 0/1 Multiple Constraint Knapsack Problem (0/1 MCKP), Integer Multiple Constraint Knapsack Problem (Integer MCKP), 0/1k-Constraint Knapsack Problem (0/1k-CKP) and Integerk-Constraint Knapsack Problem (Integerk-CKP). The following results are obtained:

  1. 1)

    UnlessNP=co−R, no polynomial time algorithm approximates 0/1 MCKP or Integer MCKP within a factork (1/2)−σ for any σ>0; unlessNP=P, no polynomial time algorithm approximates 0/1 MCKP or Integer MCKP within a factork (1/4)−σ for any σ>0, wherek stands for the number of constraints.

  2. 2)

    For any fixed positive integerk, 0/1k-CKP has a fully polynomial time approximation scheme (FPTAS).

  3. 3)

    For any fixed positive integerk, Integerk-CKP has a fast FPTAS which has time complexity\(O\left( {n + \frac{1}{{\varepsilon ^3 }} + \frac{1}{{\varepsilon ^{2^{k + 1} - 2} }}} \right)\) and space complexity\(O(n + (1/\varepsilon ^3 ))\), and finds an approximate solution to within ε of the optimal solution.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Chandra A K, Hirschberg D S, Wong C K. Approximate algorithms for some generalized knapsack problems.Theoret. Comput. Sci., 1976, 3: 293–304.

    Article  MathSciNet  Google Scholar 

  2. Magazine M J, Oguz O. A fully polynomial approximation algorithm for the 0–1 knapsack problem.European Journal of Operational Research, 1981, 8: 270–273.

    Article  MATH  MathSciNet  Google Scholar 

  3. Gens G V, Levner E V. Computational complexity of approximation algorithms for combinatorial problems. InProc. 8th International Symposium on Mathematical Foundations of Computer Science. Lecture Notes in Computer Science 74, 1979, pp.292–300.

  4. Sahni S. Approximate algorithms for the 0/1 knapsack problem.J. ACM, 1975, 22:115–124.

    Article  MATH  MathSciNet  Google Scholar 

  5. Ibarra O H, Kim C E. Fast approximation algorithms for the knapsack and sum of subset problems.J. ACM, 1975, 22: 463–468.

    Article  MATH  MathSciNet  Google Scholar 

  6. Lawler E L. Fast approximation algorithms for knapsack problems. InProc. 18th Annual IEEE Symp. Found. Comp. Science, 1977, pp.206–213.

  7. Zhang Li’ang. The complexity of approximation fork-KNAPSACK. InProc. International Workshop on Discrete Mathematics and Algorithms, Su Yunlin (ed.), pp.177–180, Jinan University Press, Guangzhou, 1994.

    Google Scholar 

  8. Zhang Li’ang, Li Luyang, Huang Xiong. Approximation for multi-knapsack problem.Chinese Science Bulletin, 19996, 41: 1042–1045.

    MathSciNet  Google Scholar 

  9. Garey M R, Johnson D S. Strong NP-completeness results: Motivation, examples and implications.J. ACM, 1978, 25: 499–508.

    Article  MATH  MathSciNet  Google Scholar 

  10. Håstad J. Clique is hard to approximate withinn 1−ε., InProc. 37th Annual IEEE Symp. Found. Comp. Science, 1996, pp.627–636.

Download references

Author information

Authors and Affiliations

Authors

Additional information

This work is supported by The Key Project Fund of the State Ninth Five-Year Plan and the Science Foundation of Peking University.

ZHANG Li'ang graduated from Department of Mathematics at Peking University in 1965. He is now a Professor of Department of Computer Science and Technology at Peking University. His research interests include computational complexity and approximation for NP-hard problems.

ZHANG Yin received his B.S. degree from Department of Computer Science and Technology at Peking University in 1997. He is now a Ph.D. candidate in Department of Computer Science, Cornell University.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Zhang, L., Zhang, Y. Approximation for knapsack problems with multiple constraints. J. Comput. Sci. & Technol. 14, 289–297 (1999). https://doi.org/10.1007/BF02948730

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02948730

Keywords

Navigation