Affiliation:
1. School of Mathematical Sciences, Xiamen University, Xiamen 361005, China
Abstract
Benchmark instances for the unbounded knapsack problem are typically generated according to specific criteria within a given constant range R, and these instances can be referred to as the unbounded knapsack problem with bounded coefficients (UKPB). In order to increase the difficulty of solving these instances, the knapsack capacity C is usually set to a very large value. While current efficient algorithms primarily center on the Fast Fourier Transform (FFT) and (min,+)-convolution method, there is a simpler method worth considering. In this paper, based on the basic Unbounded-DP algorithm, we utilize a recent branch and bound (B&B) result and basic theory of linear Diophantine equation, and propose an improved Unbounded-DP algorithm with time complexity of O(R4) and space complexity of O(R3). Additionally, the algorithm can also solve the All-capacities unbounded knapsack problem within the complexity O(R4+C). In particular, the proof techniques required by the algorithm are primarily covered in the first-year mathematics curriculum, which is convenient for subsequent researchers to grasp.
Reference64 articles.
1. Martello, S., and Toth, P. (1990). Knapsack Problems: Algorithms and Computer Implementations, John Wiley & Sons.
2. Kellerer, H., Pferschy, U., and Pisinger, D. (2004). Knapsack Problems, Springer.
3. Knapsack problems—An overview of recent advances. Part I: Single knapsack problems;Cacchiani;Comput. Oper. Res.,2022
4. Knapsack problems—An overview of recent advances. Part II: Multiple, multidimensional, and quadratic knapsack problems;Cacchiani;Comput. Oper. Res.,2022
5. An empirical analysis of exact algorithms for the unbounded knapsack problem;Becker;Eur. J. Oper. Res.,2019