A faster FPTAS for knapsack problem with cardinality constraint

被引:4
作者
Li, Wenxin [1 ]
Lee, Joohyun [2 ]
Shroff, Ness [1 ]
机构
[1] Ohio State Univ, Columbus, OH 43210 USA
[2] Hanyang Univ, Seoul, South Korea
关键词
Knapsack problem; 1.5-dimensional; FPTAS; Faster; APPROXIMATION ALGORITHMS; LINEAR-TIME;
D O I
10.1016/j.dam.2022.03.005
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
We study the K-item knapsack problem (i.e., 1.5-dimensional knapsack problem), a generalization of the famous 0-1 knapsack problem (i.e., 1-dimensional knapsack problem) in which an upper bound K is imposed on the number of items selected. This problem is of fundamental importance and is known to have a broad range of applications in various fields. It is well known that, there is no fully polynomial time approximation scheme (FPTAS) for the d-dimensional knapsack problem when d >= 2, unless P = NP. While the K-item knapsack problem is known to admit an FPTAS, the complexity of all existing FPTASs has a high dependency on the cardinality bound K and approximation error epsilon, which could result in inefficiencies especially when K and epsilon(-1) increase. The current best results are due to Mastrolilli and Hutter (2006), in which two schemes are presented exhibiting a space-time tradeoff-one scheme with time complexity O(n+ Kz(2)/epsilon(2)) and space complexity O(n+ z(3)/epsilon), and another scheme that requires a run-time of O(n + (Kz(2) + z(4))/epsilon(2)) but only needs O(n + z(2)/epsilon) space, where z = min{K, 1/epsilon}. In this paper we close the space-time tradeoff exhibited in Mastrolilli and Hutter (2006) by designing a new FPTAS with a running time of O ($) over tilde (n + z(2)/epsilon(2)), while simultaneously reaching a space complexity(1) of O(n + z(2)/epsilon). Our scheme provides O ($) over tilde (K) and O(z) improvements on the state-of-the-art algorithms in time and space complexity respectively, and is the first scheme that achieves a running time that is independent of the cardinality bound K (up to logarithmic factors) under fixed epsilon. Another salient feature of our algorithm is that it is the first FPTAS that achieves better time and space complexity bounds than the very first standard FPTAS over all parameter regimes. (c) 2022 Elsevier B.V. All rights reserved.
引用
收藏
页码:71 / 85
页数:15
相关论文
共 22 条
  • [1] Approximation algorithms for hard capacitated k-facility location problems
    Aardal, Karen
    van den Berg, Pieter L.
    Gijswijt, Dion
    Li, Shanfei
    [J]. EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2015, 242 (02) : 358 - 368
  • [2] A multi-exchange heuristic for the single-source capacitated facility location problem
    Ahuja, RK
    Orlin, JB
    Pallottino, S
    Scaparra, MP
    Scutellà, MG
    [J]. MANAGEMENT SCIENCE, 2004, 50 (06) : 749 - 760
  • [3] Approximation algorithms for knapsack problems with cardinality constraints
    Caprara, A
    Kellerer, H
    Pferschy, U
    Pisinger, D
    [J]. EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2000, 123 (02) : 333 - 345
  • [4] Chan T.M., 2018, SOSA
  • [5] Assortment Optimization under a Random Swap based Distribution over Permutations Model
    Desir, Antoine
    Goyal, Vineet
    Segev, Danny
    [J]. EC'16: PROCEEDINGS OF THE 2016 ACM CONFERENCE ON ECONOMICS AND COMPUTATION, 2016, : 341 - 341
  • [6] Bin packing with general cost structures
    Epstein, Leah
    Levin, Asaf
    [J]. MATHEMATICAL PROGRAMMING, 2012, 132 (1-2) : 355 - 391
  • [7] Incentivizing Truthful Data Quality for Quality-Aware Mobile Data Crowdsourcing
    Gong, Xiaowen
    Shroff, Ness
    [J]. PROCEEDINGS OF THE 2018 THE NINETEENTH INTERNATIONAL SYMPOSIUM ON MOBILE AD HOC NETWORKING AND COMPUTING (MOBIHOC '18), 2018, : 161 - 170
  • [8] FAST APPROXIMATION ALGORITHMS FOR KNAPSACK AND SUM OF SUBSET PROBLEMS
    IBARRA, OH
    KIM, CE
    [J]. JOURNAL OF THE ACM, 1975, 22 (04) : 463 - 468
  • [9] On preemptive resource constrained scheduling: Polynomial-time approximation schemes
    Jansen, Klaus
    Porkolab, Lorant
    [J]. SIAM JOURNAL ON DISCRETE MATHEMATICS, 2006, 20 (03) : 545 - 563
  • [10] A faster FPTAS for the Unbounded Knapsack Problem
    Jansen, Klaus
    Kraft, Stefan E. J.
    [J]. EUROPEAN JOURNAL OF COMBINATORICS, 2018, 68 : 148 - 174