Knapsack: Connectedness, Path, and Shortest-Path

被引:0
|
作者
Dey, Palash [1 ]
Kolay, Sudeshna [1 ]
Singh, Sipra [1 ]
机构
[1] Indian Inst Technol Kharagpur, Kharagpur, W Bengal, India
来源
关键词
Knapsack; Graph Algorithms; Parameterised Complexity; Approximation algorithm; BOUND ALGORITHM; CONFLICT; THINNESS; GRAPHS;
D O I
10.1007/978-3-031-55601-2_11
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We study the KNAPSACK problem with graph-theoretic constraints. That is, there exists a graph structure on the input set of items of KNAPSACK and the solution also needs to satisfy certain graph theoretic properties on top of the KNAPSACK constraints. In particular, we study CONNECTED KNAPSACK where the solution must be a connected subset of items which has maximum value and satisfies the size constraint of the knapsack. We show that this problem is strongly NP-complete even for graphs of maximum degree four and NP-complete even for star graphs. On the other hand, we develop an algorithm running in time O (2(O(tw log tw)) . poly(n) min{s(2), d(2)}) where tw, s, d, n are respectively treewidth of the graph, the size of the knapsack, the target value of the knapsack, and the number of items. We also exhibit a (1- epsilon) factor approximation algorithm running in time O (2(O(tw log tw)) . poly( n, 1/epsilon)) for every epsilon > 0. We show similar results for PATH KNAPSACK and Shortest PATH KNAPSACK, where the solution must also induce a path and shortest path, respectively. Our results suggest that CONNECTED KNAPSACK is computationally the hardest, followed by PATH KNAPSACK and then SHORTEST PATH KNAPSACK.
引用
收藏
页码:162 / 176
页数:15
相关论文
共 50 条
  • [21] Shortest-Path Percolation on Random Networks
    Kim, Minsuk
    Radicchi, Filippo
    [J]. Physical Review Letters, 2024, 133 (04)
  • [22] THE EQUITY CONSTRAINED SHORTEST-PATH PROBLEM
    GOPALAN, R
    BATTA, R
    KARWAN, MH
    [J]. COMPUTERS & OPERATIONS RESEARCH, 1990, 17 (03) : 297 - 307
  • [23] A NOTE ON THE CONSTRAINED SHORTEST-PATH PROBLEM
    PUJARI, AK
    AGARWAL, S
    GULATI, VP
    [J]. NAVAL RESEARCH LOGISTICS, 1984, 31 (01) : 87 - 89
  • [24] Computation of the reverse shortest-path problem
    Zhang, JZ
    Lin, YX
    [J]. JOURNAL OF GLOBAL OPTIMIZATION, 2003, 25 (03) : 243 - 261
  • [25] EFFICIENT SHORTEST-PATH SIMPLEX ALGORITHMS
    GOLDFARB, D
    HAO, JX
    KAI, SR
    [J]. OPERATIONS RESEARCH, 1990, 38 (04) : 624 - 628
  • [26] SHORTEST-PATH DISTANCES - AN AXIOMATIC APPROACH
    SMITH, TE
    [J]. GEOGRAPHICAL ANALYSIS, 1989, 21 (01) : 1 - 31
  • [27] UNIVERSAL BEHAVIOR OF THE SHORTEST-PATH AGGREGATION
    WANG, XR
    WANG, XF
    [J]. PHYSICAL REVIEW A, 1992, 45 (02): : 1274 - 1277
  • [28] A new algorithm for the shortest-path problem
    Elmasry, Amr
    Shokry, Ahmed
    [J]. NETWORKS, 2019, 74 (01) : 16 - 39
  • [29] EUCLIDEAN SHORTEST-PATH IN THE PRESENCE OF OBSTACLES
    CHEN, YM
    RAMANAN, P
    [J]. NETWORKS, 1991, 21 (03) : 257 - 265
  • [30] CLUSTER AGGREGATION BY SHORTEST-PATH TRAVEL
    MANNA, SS
    CHAKRABARTI, BK
    [J]. JOURNAL OF PHYSICS A-MATHEMATICAL AND GENERAL, 1986, 19 (08): : L447 - L450