Knapsack: Connectedness, Path, and Shortest-Path

Palash Dey, Sudeshna Kolay, Sipra Singh

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

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 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 O2O(twlogtw)·poly(n)min{s2,d2} 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-ε) factor approximation algorithm running in time O2O(twlogtw)·poly(n,1/ε) for every ε>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.

Original languageEnglish
Title of host publicationLATIN 2024
Subtitle of host publicationTheoretical Informatics - 16th Latin American Symposium, 2024, Proceedings
EditorsJosé A. Soto, Andreas Wiese
PublisherSpringer Science and Business Media Deutschland GmbH
Pages162-176
Number of pages15
ISBN (Print)9783031556005
DOIs
StatePublished - 1 Jan 2024
Externally publishedYes
Event16th Latin American Symposium on Theoretical Informatics, LATIN 2042 - Puerto Varas, Chile
Duration: 18 Mar 202422 Mar 2024

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14579 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference16th Latin American Symposium on Theoretical Informatics, LATIN 2042
Country/TerritoryChile
CityPuerto Varas
Period18/03/2422/03/24

Keywords

  • Approximation algorithm
  • Graph Algorithms
  • Knapsack
  • Parameterised Complexity

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'Knapsack: Connectedness, Path, and Shortest-Path'. Together they form a unique fingerprint.

Cite this