We extend the classical 0-1 knapsack problem by introducing disjunctive constraints for pairs of items which are not allowed to be packed together into the knapsack. These constraints are represented by edges of a conflict graph whose vertices correspond to the items of the knapsack problem. Similar conditions were treated in the literature for bin packing and scheduling problems. For the knapsack problem with conflict graphs, exact and heuristic algorithms were proposed in the past. While the problem is strongly NP-hard in general, we present pseudopolynomial algorithms for two special graph classes, namely graphs of bounded treewidth (including trees and series-parallel graphs) and chordal graphs. From these algorithms we can easily derive fully polynomial time approximation schemes (FPTAS).
REF presented pseudopolynomial algorithms for several special cases of the disjunctively knapsack problem which is mainly based on a graph representation: trees, graphs with bounded tree-width and chordal graphs.
The Knapsack Problem with Conflict Graphs
J. Graph Algorithms Appl.
J. Graph Algorithms Appl.
Mathematics Computer Science