Skip to main content
Log in

A Dynamic Programming Approach for Consistency and Propagation for Knapsack Constraints

  • Published:
Annals of Operations Research Aims and scope Submit manuscript

Abstract

Knapsack constraints are a key modeling structure in constraint programming. These constraints are normally handled with simple bounding arguments. We propose a dynamic programming structure to represent these constraints. With this structure, we are able to achieve hyper-arc consistency, to determine infeasibility before all variables are set, to generate all solutions quickly, and to provide incrementality by updating the structure after domain reduction. Testing on a difficult set of multiple knapsack instances shows significant reduction in branching.

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.

Institutional subscriptions

Similar content being viewed by others

References

  1. K. Aardal, R.E. Bixby, A.J. Hurkens, A.K. Lenstra and J.W. Smeltink, Market split and basis reduction: towards a solution of the Cornujols–Dawande instances, in: Integer Programming and Combinatorial Optimization, 7th International IPCO Conference, Lecture Notes in Computer Science, Vol. 1610, eds. G. Cornujols, R.E. Burkard and G.J. Woeginger (Springer, Berlin, 1999) pp. 1–16

    Google Scholar 

  2. R. Bellman, Dynamic Programming (Princeton University Press, Princeton, NJ, 1957).

    Google Scholar 

  3. G. Cornujols and M. Dawande, A class of hard small 0–1 programs, in: Integer Programming and Combinatorial Optimization, 6th International IPCO Conference. Lecture Notes in Computer Science, Vol. 1412, eds. R.E. Bixby, E.A. Boyd and R.Z. Rios-Mercado (Springer, Berlin, 1998) pp. 284–293.

    Google Scholar 

  4. H.P. Crowder, E.L. Johnson and M.W. Padberg, Solving large-scale zero–one linear programming problems, Operations Research 31 (1983) 803–834.

    Google Scholar 

  5. C. Gaspin, RNA secondary structure determination and representation based on constraints, Constraints 6 (2001) 201–221.

    Google Scholar 

  6. ILOG Inc, OPL 3.1 Users Guide (2000).

  7. K. Marriott and P.J. Stuckey, Programming with Constraints: An Introduction (MIT Press, Cambridge, MA, 1998).

    Google Scholar 

  8. S. Martello and P. Toth, Knapsack Problems: Algorithms and Computer Implementations (Wiley, Chichester, 1990).

    Google Scholar 

  9. G.L. Nemhauser and L.A. Wolsey, Integer and Combinatorial Optimization (Wiley, New York, 1988).

    Google Scholar 

  10. R.E. Tarjan, Amortized computational complexity, SIAM Journal of Algorithms and Discrete Methods 6 (1985) 306–318.

    Google Scholar 

  11. H.P. Williams, Model Building in Mathematical Programming (Wiley, New York, 1978).

    Google Scholar 

  12. R.H.C. Yap, Parametric sequence alignment with constraints, Constraints 6 (2001) 157–172.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Trick, M.A. A Dynamic Programming Approach for Consistency and Propagation for Knapsack Constraints. Annals of Operations Research 118, 73–84 (2003). https://doi.org/10.1023/A:1021801522545

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1023/A:1021801522545

Navigation