Algorithms (May 2024)

The Knapsack Problem with Conflict Pair Constraints on Bipartite Graphs and Extensions

  • Abraham P. Punnen,
  • Jasdeep Dhahan

DOI
https://doi.org/10.3390/a17050219
Journal volume & issue
Vol. 17, no. 5
p. 219

Abstract

Read online

In this paper, we study the knapsack problem with conflict pair constraints. After a thorough literature survey on the topic, our study focuses on the special case of bipartite conflict graphs. For complete bipartite (multipartite) conflict graphs, the problem is shown to be NP-hard but solvable in pseudo-polynomial time, and it admits an FPTAS. Extensions of these results to more general classes of graphs are also presented. Further, a class of integer programming models for the general knapsack problem with conflict pair constraints is presented, which generalizes and unifies the existing formulations. The strength of the LP relaxations of these formulations is analyzed, and we discuss different ways to tighten them. Experimental comparisons of these models are also presented to assess their relative strengths. This analysis disclosed various strong and weak points of different formulations of the problem and their relationships to different types of problem data. This information can be used in designing special purpose algorithms for KPCC involving a learning component.

Keywords