Knapsack: Connectedness, Path, and Shortest-Path
Not on the map. Why?
Abstract (arXiv)
We study the knapsack problem with graph theoretic constraints. That is, we assume that there exists a graph structure on the set of items of knapsack and the solution also needs to satisfy certain graph theoretic properties on top of knapsack constraints. In particular, we need to compute in the connected knapsack problem a connected subset of items which has maximum value subject to the size of knapsack constraint. 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 Oleft(2twlog tw·poly(mins2,d2)right) where tw,s,d are respectively treewidth of the graph, size, and target value of the knapsack. We further exhibit a (1-ε) factor approximation algorithm running in time Oleft(2twlog tw·poly(n,1/ε)right) for every ε>0. We show similar results for several other graph theoretic properties, namely path and shortest-path under the problem names path-knapsack and shortestpath-knapsack. Our results seems to indicate that connected-knapsack is computationally hardest followed by path-knapsack and shortestpath-knapsack.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 0 of its 30 references that are in the map. First posted on arXiv 24 Jul 2023.
Builds on
0 of 30 references.
No references here yet.
Built on by
Not cited yet.