TY - GEN
T1 - Randomized Rounding over Dynamic Programs
AU - Bamas, Étienne
AU - Li, Shi
AU - Rohwedder, Lars
N1 - Publisher Copyright:
© 2026 Copyright held by the owner/author(s).
PY - 2026/6/9
Y1 - 2026/6/9
N2 - We show that under mild assumptions for a problem whose solutions admit a dynamic programming-like 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, e.g., polynomial in the problem size. Technically, we reinterpret the dynamic programming subproblems and their solutions as a network design problem. Inspired by techniques from, e.g., 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 nO(1/ϵ), for any ϵ > 0. By setting ϵ=loglogn/logn, 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.
AB - We show that under mild assumptions for a problem whose solutions admit a dynamic programming-like 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, e.g., polynomial in the problem size. Technically, we reinterpret the dynamic programming subproblems and their solutions as a network design problem. Inspired by techniques from, e.g., 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 nO(1/ϵ), for any ϵ > 0. By setting ϵ=loglogn/logn, 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.
KW - approximation algorithms
KW - dynamic programming
KW - randomized rounding
UR - https://www.scopus.com/pages/publications/105042662828
U2 - 10.1145/3798129.3800892
DO - 10.1145/3798129.3800892
M3 - Conference contribution
AN - SCOPUS:105042662828
T3 - Proceedings of the Annual ACM Symposium on Theory of Computing
SP - 1857
EP - 1868
BT - STOC 2026 - Proceedings of the 58th Annual ACM Symposium on Theory of Computing
A2 - Bhaskara, Aditya
A2 - Czumaj, Artur
PB - Association for Computing Machinery
T2 - 58th Annual ACM Symposium on Theory of Computing, STOC 2026
Y2 - 22 June 2026 through 26 June 2026
ER -