Metraipolis › archive › dc_a74ef5d16dd6
Simpler Algorithms for Knapsack, Subset Sum, and Min-Plus Convolution — arXiv:2609.37449
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.37449
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T19:19:02.194Z
- SHA-256 of the archived text
e5d2273b0a27aea336ee11bc4d332dfa11b604cd09c895e3a9330dd27f2ba3f2- Stable URL of this page
https://metraipolis.com/documento/dc_a74ef5d16dd6
How to cite
Simpler Algorithms for Knapsack, Subset Sum, and Min-Plus Convolution — arXiv:2609.37449 — arXiv (en), https://arxiv.org/abs/2609.37449 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_a74ef5d16dd6 (Metraipolis archive dc_a74ef5d16dd6, sha256 e5d2273b0a27aea336ee11bc4d332dfa11b604cd09c895e3a9330dd27f2ba3f2)
BibTeX
@misc{dca74ef5d16dd6,
title = {Simpler Algorithms for Knapsack, Subset Sum, and Min-Plus Convolution — arXiv:2609.37449},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.37449},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_a74ef5d16dd6; sha256 e5d2273b0a27aea336ee11bc4d332dfa11b604cd09c895e3a9330dd27f2ba3f2},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.37449. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
We simplify algorithms for Knapsack, output-sensitive Subset Sum, and near-convex min-plus convolution. For bounded Knapsack, we give a deterministic algorithm using $O(N+W^2\log^3(W+2))$ arithmetic and comparison operations, where $W$ is the maximum item weight and $N$ counts input records with binary-encoded multiplicities. Following Bringmann's approach, we partition the items and bound the weight added or removed within each part when correcting a greedy solution to an optimum. These bounds keep the dynamic-programming tables small. The same analysis gives the corresponding bound with maximum profit in place of weight. For multiple-choice Knapsack, we give a randomized $\widetilde O(N+w^2\min\{r,w\})$ algorithm, where $N$ counts alternatives, $r$ counts classes, and $w$ is the maximum within-class weight range. Randomly grouping classes exploits cancellation between positive and negative weight changes. For Subset Sum of $n$ nonnegative integer vectors in any fixed dimension $d$, we obtain expected time $\widetilde O(n+s\sqrt n)$, where $s$ counts attainable sums in the target box. With high probability, all sums are returned within the same bound. This improves the $\widetilde O(n+s n^{d/(d+1)})$ bound of Bringmann, Fischer, and Nakos for $d>1$. The key step computes a sumset inside a box without generating the potentially much larger unrestricted sumset. Finally, we simplify the $\widetilde O(N(D+1))$ algorithm for min-plus convolution of integer arrays of total length $N$, where $D$ is the sum of their maximum deviations above convex arrays. The deviations can change the minimizing pairs substantially, but restrict relevant candidate values to short intervals.
Tema degli esploratori: matematica e informatica teorica (retro-catalogo arXiv: annunci del 2026-09-30 in cs.DS).
Categorie arXiv: Data Structures and Algorithms (cs.DS).
Pagina del lavoro: https://arxiv.org/abs/2609.37449 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-07T18:45:07.087Z dalla pagina https://arxiv.org/catchup/cs.DS/2026-09-30?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).