Knapsack: Connectedness, path, and shortest-path

P Dey, S Kolay, S Singh�- Latin American Symposium on Theoretical�…, 2024 - Springer
P Dey, S Kolay, S Singh
Latin American Symposium on Theoretical Informatics, 2024Springer
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�…
Abstract
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 -complete even for graphs of maximum degree four and -complete even for star graphs. On the other hand, we develop an algorithm running in time \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\mathcal O \left( 2^{\mathcal O (\text {tw} \log \text {tw})}\cdot \text {poly}(n)\min \{s^2,d^2\}\right) $$\end{document} where 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 factor approximation algorithm running in time \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\mathcal O \left( 2^{\mathcal O (\text {tw} \log \text {tw})}\cdot \text {poly}(n,1/\varepsilon )\right) $$\end{document} for every . 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.
Springer
Showing the best result for this search. See all results