Knapsack: Connectedness, Path, and Shortest-Path

07/24/2023
by   Palash Dey, et al.
0

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 O(2^twlog tw·poly(min{s^2,d^2})) 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 O(2^twlog tw·poly(n,1/ϵ)) 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/10/2022

Detours in Directed Graphs

We study two "above guarantee" versions of the classical Longest Path pr...
research
08/18/2020

Minimum Eccentricity Shortest Path Problem with Respect to Structural Parameters

The Minimum Eccentricity Shortest Path Problem consists in finding a sho...
research
01/13/2020

NP-complete variants of some classical graph problems

Some classical graph problems such as finding minimal spanning tree, sho...
research
09/20/2023

Hardness Transitions of Star Colouring and Restricted Star Colouring

We study how the complexity of the graph colouring problems star colouri...
research
02/13/2019

Evolution of the Internet at the Autonomous Systems Level During a Decade

We empirically study the evolution of the Internet at the Autonomous Sys...
research
08/18/2021

Computing Steiner Trees using Graph Neural Networks

Graph neural networks have been successful in many learning problems and...
research
08/17/2017

Structure Learning of H-colorings

We study the structure learning problem for graph homomorphisms, commonl...

Please sign up or login with your details

Forgot password? Click here to reset