Skip to content

Multiple-Choice Knapsack with Small Items

Jakub Pawlewicz

cs.DS

Abstract

The Multiple-Choice Knapsack problem is a generalization of the Knapsack problem in which items are partitioned into disjoint classes and exactly one item must be selected from each class. Besides the standard dynamic program running in time O(nc)\mathcal{O}(nc), where nn is the total number of items and cc is the knapsack capacity, no other pseudopolynomial-time algorithm is currently known. We present an O(n+wmax⁡4)\mathcal{O}(n+w_{\max}^4)-time algorithm, where wmax⁡=max⁡i(wini−wi1)w_{\max}=\max_i (w_{in_i}-w_{i1}) is the maximum weight range within a class.

Create a lesson