Propagating Knapsack Constraints in Sublinear Time
Abstract
We develop an efficient incremental version of an existing cost-based filtering algorithm for the knapsack constraint. On a universe of n elements, m invocations of the algorithm require a total of O(n log n+mk log(n/k)) time, where k ≤ n depends on the specific knapsack instance. We show that the expected value of k is significantly smaller than n on several interesting input distributions, hence while keeping the same worst-case complexity, on expectation the new algorithm is faster than the previously best method which runs in amortized linear time. After a theoretical study, we introduce heuristic enhancements and demonstrate the new algorithm's performance experimentally.
BibTeX
@inproceedings{katriel2007propagating,
author = {Irit Katriel and Meinolf Sellmann and Eli Upfal and Pascal Van Hentenryck},
title = {{Propagating Knapsack Constraints in Sublinear Time}},
booktitle = {AAAI Conference on Artificial Intelligence},
year = {2007},
}Ask Althea to put this paper to the test.
Loading related content...