On Solving the Knapsack Problem with Conflicts
Roberto Montemanni, Derek H. Smith

TL;DR
This paper addresses a conflict-constrained knapsack problem, proposing a simple MILP model solved with CP-SAT, demonstrating competitive results against state-of-the-art methods on benchmark instances.
Contribution
It introduces a straightforward MILP formulation for the conflict knapsack problem and shows its effectiveness using an open-source solver, achieving competitive results.
Findings
The approach often outperforms existing solvers on benchmark instances.
The MILP model is conceptually simple and easy to implement.
Results demonstrate the effectiveness of open-source tools for complex combinatorial problems.
Abstract
A variant of the well-known Knapsack Problem is studied in this paper, where pairs of items are conflicting, and cannot be selected at the same time. This configures a set of hard constraints. The problem, which can be used to model real applications, looks for a selection of items such that the total profit is maximized, the capacity of the container is respected, and no conflict is violated. In this paper, we consider a previously known mixed integer linear program representing the problem and we solve it with the open-source solver CP-SAT, part of the Google OR-Tools computational suite. An experimental campaign on the instances available from the literature and adopted in the last decade, indicate that the approach we propose achieves results comparable with, and often better than, those of state-of-the-art solvers, notwithstanding its intrinsic conceptual and implementation…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsOptimization and Packing Problems · Vehicle Routing Optimization Methods · Scheduling and Optimization Algorithms
