Randomized Rounding over Dynamic Programs
Abstract
We show that under mild assumptions for a problem whose solutions admit a dynamic programminglike recurrence relation, we can still find a solution under additional packing constraints, which need to be satisfied approximately. The number of additional constraints can be very large, for example, polynomial in the problem size.
Technically, we reinterpret the dynamic programming subproblems and their solutions as a network design problem. Inspired by techniques from, for example, the Directed Steiner Tree problem, we construct a strong LP relaxation, on which we then apply randomized rounding.
Our approximation guarantees on the packing constraints have roughly the form of a (n ε polylog n)approximation in time n O(1/ε) , for any ε > 0. By setting ε = log log n/ log n, we obtain a polylogarithmic approximation in quasi-polynomial time, or by setting ε as a constant, an n ε -approximation in polynomial time.
While there are necessary assumptions on the form of the DP, it is general enough to capture many textbook dynamic programs from Shortest Path to Longest Common Subsequence. Our algorithm then implies that we can impose additional constraints on the solutions to these problems. This allows us to model various problems from the literature in approximation algorithms, many of which were not thought to be connected to dynamic programming. In fact, our result can even be applied indirectly to some problems that involve covering instead of packing constraints, for example, the Directed Steiner Tree problem, or those that do not directly follow a recurrence relation, for example, variants of the Matching problem.
Specifically, we recover state-of-the-art approximation algorithms for Directed Steiner Tree and Santa Claus, and generalizations of them. We obtain new results for a variety of challenging optimization problems, such as Robust Shortest Path, Robust Bipartite Matching, Colorful Orienteering, Integer Generalized Flows, and more.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
Builds on3
- Augmenting Packing Dynamic Programs to Handle (Many) Additional Budget ConstraintsAlexander Armbruster, Fabrizio Grandoni, Antoine Tinguely, Andreas WieseSODA 2026 · 2 citations
- Generalized Flow in Nearly-linear Time on Moderately Dense GraphsShunhua Jiang, Michael Kapralov, Lawrence Li, Aaron SidfordFOCS 2025 · 1 citation
- The Submodular Santa Claus ProblemÉtienne Bamas, Sarah Morell, Lars RohwedderSODA 2025 · 1 citation
Related papers
- Lift-and-Project Integrality Gaps for Santa ClausÉtienne BamasSODA 2025
- Fast LP-based Approximations for Geometric Packing and Covering ProblemsChandra Chekuri, Sariel Har-Peled, Kent QuanrudSODA 2020 · 9 citations
- Approximating Directed Connectivity in Almost-Linear TimeKent QuanrudSTOC 2026 · 3 citations
- A Polylogarithmic Approximation for Directed Steiner Forest in Planar DigraphsChandra Chekuri, Rhea JainSODA 2025 · 1 citation
- Tree embeddings for hop-constrained network designBernhard Haeupler, D. Ellis Hershkowitz, Goran ZuzicSTOC 2021 · 1 citation
