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.
Similar content being viewed by others
References
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
R. Bellman, Dynamic Programming (Princeton University Press, Princeton, NJ, 1957).
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.
H.P. Crowder, E.L. Johnson and M.W. Padberg, Solving large-scale zero–one linear programming problems, Operations Research 31 (1983) 803–834.
C. Gaspin, RNA secondary structure determination and representation based on constraints, Constraints 6 (2001) 201–221.
ILOG Inc, OPL 3.1 Users Guide (2000).
K. Marriott and P.J. Stuckey, Programming with Constraints: An Introduction (MIT Press, Cambridge, MA, 1998).
S. Martello and P. Toth, Knapsack Problems: Algorithms and Computer Implementations (Wiley, Chichester, 1990).
G.L. Nemhauser and L.A. Wolsey, Integer and Combinatorial Optimization (Wiley, New York, 1988).
R.E. Tarjan, Amortized computational complexity, SIAM Journal of Algorithms and Discrete Methods 6 (1985) 306–318.
H.P. Williams, Model Building in Mathematical Programming (Wiley, New York, 1978).
R.H.C. Yap, Parametric sequence alignment with constraints, Constraints 6 (2001) 157–172.
Author information
Authors and Affiliations
Rights 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
Issue Date:
DOI: https://doi.org/10.1023/A:1021801522545