Skip to main content

Approximated Consistency for Knapsack Constraints

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2833))

Abstract

While global constraints give a broader view on the entire problem and therefore allow more effective constraint propagation, the development of efficient generalized arc-consistency (GAC) algorithms for global constraints is frequently prevented by the fact that the associated decision problems are NP-hard. A prominent example for this is the Knapsack Constraint. On the other hand, there exist approximation algorithms for many NP-hard problems. By introducing the concept of approximated consistency for a special class of global constraints, so-called optimization constraints, we show how existing approximation algorithms can be exploited for the development of efficient filtering algorithms for Knapsack Constraints. As our main result, we show how ε-GAC for Knapsack and Bounded Knapsack Constraints can be achieved in time \(O(n\log n+{n\over{\epsilon^2}})\) or \(O(n\log n +{n\over\epsilon^3})\), respectively.

This work was supported by the Intelligent Information Systems Institute, Cornell University (AFOSR grant F49620-01-1-0076).

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Apt, K.R.: The Rough Guide to Constraint Propagation. In: Jaffar, J. (ed.) CP 1999. LNCS, vol. 1713, pp. 1–23. Springer, Heidelberg (1999)

    Google Scholar 

  2. Fahle, T., Junker, U., Karisch, S.E., Kohl, N., Sellmann, M., Vaaben, B.: Constraint programming based column generation for crew assignment. Journal of Heuristics 8(1), 59–81 (2002)

    Article  MATH  Google Scholar 

  3. Fahle, T., Sellmann, M.: Cost-Based Filtering for the Constrained Knapsack Problem. Annals of Operations Research 115, 73–93 (2002)

    Article  MATH  MathSciNet  Google Scholar 

  4. Focacci, F., Lodi, A., Milano, M.: Cost-Based Domain Filtering. In: Jaffar, J. (ed.) CP 1999. LNCS, vol. 1713, pp. 189–203. Springer, Heidelberg (1999)

    Google Scholar 

  5. Ibarra, O.H., Kim, C.E.: Fast Approximation Algorithms for the Knapsack and Sum of Subset Problems. Journal of the ACM 22(4), 463–468 (1975)

    Article  MATH  MathSciNet  Google Scholar 

  6. Junker, U., Karisch, S.E., Kohl, N., Vaaben, B., Fahle, T., Sellmann, M.: A Framework for Constraint programming based column generation. In: Jaffar, J. (ed.) CP 1999. LNCS, vol. 1713, pp. 261–274. Springer, Heidelberg (1999)

    Google Scholar 

  7. Kumar, V.: Algorithms for Constraints Satisfaction problems: A Survey. The AI Magazine by the AAAI 13, 32–44 (1992)

    MATH  Google Scholar 

  8. Lawler, E.L.: Fast Approximation Algorithm for Knapsack Problems. In: Proceedings of the 18th Annual Symposium on Foundations of Computer Science, pp. 206–213 (1977)

    Google Scholar 

  9. Liu, Y.: On the Fully Polynomial Approximation Algorithm for the 0-1 Knapsack Problem. Theory of Computing Systems 35, 559–564 (2002)

    Article  MATH  MathSciNet  Google Scholar 

  10. Régin, J.-C.: A filtering algorithm for constraints of difference in CSPs. In: 12th National Conference on Artificial Intelligence, pp. 362–367. AAAI, Menlo Park (1994)

    Google Scholar 

  11. Régin, J.-C.: Cost-Based Arc Consistency for Global Cardinality Constraints. Constraints 7(3-4), 387–405 (2002)

    Article  MATH  MathSciNet  Google Scholar 

  12. Sahni, S.: Approximate algorithms for the 0/1 Knapsack Problem. Journal of the ACM 22(1), 115–124 (1975)

    Article  MATH  MathSciNet  Google Scholar 

  13. Sellmann, M.: An Arc-Consistency Algorithm for the Weighted All Different Constraint. In: Van Hentenryck, P. (ed.) CP 2002. LNCS, vol. 2470, pp. 744–749. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  14. Sellmann, M., Fahle, T.: Coupling Variable Fixing Algorithms for the Automatic Recording Problem. In: Meyer auf der Heide, F. (ed.) ESA 2001. LNCS, vol. 2161, pp. 134–145. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  15. Trick, M.: A Dynamic Programming Approach for Consistency and Propagation for Knapsack Constraints. In: 3rd International Workshop on Integration of AI and OR Techniques in Constraint Programming for Combinatorial Optimization Problems (CP-AI-OR), pp. 113–124 (2001)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Sellmann, M. (2003). Approximated Consistency for Knapsack Constraints. In: Rossi, F. (eds) Principles and Practice of Constraint Programming – CP 2003. CP 2003. Lecture Notes in Computer Science, vol 2833. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-45193-8_46

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-45193-8_46

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-20202-8

  • Online ISBN: 978-3-540-45193-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics