An Exact Solver for Submodular Knapsack Problems
Sabine Münch, Stephen Raach
TL;DR
This work tackles Submodular Knapsack-Constrained Maximization, formalizing the problem as maximizing a monotone submodular function $f$ under a knapsack constraint $B$ with element weights $w_i$. It develops an exact branch-and-bound solver that uses a fractional knapsack based bound and greedy node ordering, augmented by three acceleration techniques: Lazy Evaluations, Early Pruning, and Candidate Reduction. The approach is evaluated on artificial and real-world instances, comparing against Sakaue–Ishihata (2018) solvers and a Gurobi-based branch-and-cut, with the LE^A+EP+CR combination delivering the best performance across most benchmarks. The results demonstrate practical feasibility of exact solutions for general-weight submodular knapsack problems and point to parallelization and instance-specific pruning as fruitful directions for further improvements.
Abstract
We study the problem of maximizing a monotone increasing submodular function over a set of weighted elements subject to a knapsack constraint. Although this problem is NP-hard, many applications require exact solutions, as approximate solutions are often insufficient in practice. To address this need, we propose an exact branch-and-bound algorithm tailored for the submodular knapsack problem and introduce several acceleration techniques to enhance its efficiency. We evaluate these techniques on artificial instances of three benchmark problems as well as on instances derived from real-world data. We compare the proposed solver with two solvers by Sakaue and Ishihata (2018), which currently achieve the strongest performance reported in the literature, as well as with a branch-and-cut algorithm implemented using Gurobi that solves a binary linear reformulation of the submodular knapsack problem, demonstrating that our methods are highly successful.
