Revisiting Sparse Dynamic Programming for the 0/1 Knapsack Problem

被引:0
|
作者
Sifat, Tarequl Islam [1 ]
Prajapati, Nirmal [2 ]
Rajopadhye, Sanjay [3 ]
机构
[1] Corespeq Inc, Ft Collins, CO 80525 USA
[2] Los Alamos Natl Lab, Los Alamos, NM USA
[3] Colorado State Univ, Dept Comp Sci, Ft Collins, CO USA
关键词
0/1; Knapsack; Sparsity; Dynamic Programming; Scalable Parallelization; ALGORITHM;
D O I
10.1145/3404397.3404462
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The 0/1-Knapsack Problem is a classic NP-hard problem. There are two common approaches to obtain the exact solution: branch-and-bound (BB) and dynamic programming (DP). A so-called, "sparse" DP algorithm (SKPDP) that performs fewer operations than the standard algorithm (KPDP) is well known. To the best of our knowledge, there has been no quantitative analysis of the benefits of sparsity. We provide a careful empirical evaluation of SKPDP and observe that for a "large enough" capacity, C, the number of operations performed by SKPDP is invariant with respect to C for many problem instances. This leads to the possibility of an exponential improvement over the conventional KPDP. We experimentally explore SKPDP over a large range of knapsack problem instances and provide a detailed study of the attributes that impact the performance. DP algorithms have a nice regular structure and are amenable to highly parallel implementations. However, due to the dependence structure, parallelizing SKPDP is challenging. We propose two parallelization strategies (fine-grain and coarse-grain) for SKPDP on modern multi-core processors and demonstrate a scalable improvement in the performance. We also compare SKPDP with Branch-and-Bound algorithm.
引用
收藏
页数:10
相关论文
共 50 条
  • [1] Improved Dynamic Programming Algorithms for the 0-1 Knapsack Problem
    Meng, Xiaohua
    Zhu, Yue-an
    Wu, Xiaoming
    [J]. PROCEEDINGS OF 2010 3RD IEEE INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND INFORMATION TECHNOLOGY (ICCSIT 2010), VOL 8, 2010, : 19 - 22
  • [2] Dynamic programming and strong bounds for the 0-1 knapsack problem
    Martello, S
    Pisinger, D
    Toth, P
    [J]. MANAGEMENT SCIENCE, 1999, 45 (03) : 414 - 424
  • [3] Dynamic programming based algorithms for the discounted {0-1} knapsack problem
    Rong, Aiying
    Figueira, Jose Rui
    Klamroth, Kathrin
    [J]. APPLIED MATHEMATICS AND COMPUTATION, 2012, 218 (12) : 6921 - 6933
  • [4] A Learning Module of the 0/1 Knapsack Problem using Dynamic Programming KLA Modeling
    Chen, Peter P.
    Chiou, Paul T.
    Young, G. S.
    [J]. PROCEEDINGS 2017 INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND COMPUTATIONAL INTELLIGENCE (CSCI), 2017, : 1055 - 1060
  • [5] A dynamic programming based reduction procedure for the multidimensional 0-1 knapsack problem
    Balev, Stefan
    Yanev, Nicola
    Freville, Arnaud
    Andonov, Rumen
    [J]. EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2008, 186 (01) : 63 - 76
  • [6] Linear programming for the 0-1 quadratic knapsack problem
    Billionnet, A
    Calmels, F
    [J]. EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 1996, 92 (02) : 310 - 325
  • [7] Algorithmic improvements on dynamic programming for the bi-objective {0,1} knapsack problem
    Figueira, Jose Rui
    Paquete, Luis
    Simoes, Marco
    Vanderpooten, Daniel
    [J]. COMPUTATIONAL OPTIMIZATION AND APPLICATIONS, 2013, 56 (01) : 97 - 111
  • [8] Algorithmic improvements on dynamic programming for the bi-objective {0,1} knapsack problem
    José Rui Figueira
    Luís Paquete
    Marco Simões
    Daniel Vanderpooten
    [J]. Computational Optimization and Applications, 2013, 56 : 97 - 111
  • [9] Greedy backtracking based local dynamic programming for complete 0-1 knapsack problem
    He K.
    Ren S.
    Guo Z.
    Qiu T.
    [J]. Huazhong Keji Daxue Xuebao (Ziran Kexue Ban)/Journal of Huazhong University of Science and Technology (Natural Science Edition), 2024, 52 (02): : 16 - 21
  • [10] Dynamic programming of 0/1 knapsack problem for network-level pavement asset management system
    Albatayneh, Omar
    Aleadelat, Waleed
    Ksaibati, Khaled
    [J]. CANADIAN JOURNAL OF CIVIL ENGINEERING, 2021, 48 (04) : 356 - 365