Sorting Can Exponentially Speed Up Pure Dynamic Programming

12/23/2020
by   Stasys Jukna, et al.
0

Many discrete minimization problems, including various versions of the shortest path problem, can be efficiently solved by dynamic programming (DP) algorithms that are "pure" in that they only perform basic operations, as min, max, +, but no conditional branchings via if-then-else in their recursion equations. It is known that any pure (min,+) DP algorithm solving the minimum weight spanning tree problem on undirected n-vertex graphs must perform at least 2^Ω(√(n)) operations. We show that this problem can be solved by a pure (min,max,+) DP algorithm performing only O(n^3) operations. The algorithm is essentially a (min,max) algorithm: addition operations are only used to output the final values. The presence of both min and max operations means that now DP algorithms can sort: this explains the title of the paper.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/14/2018

Greedy can also beat pure dynamic programming

Many dynamic programming algorithms are "pure" in that they only use min...
research
12/08/2021

A PTAS for the Min-Max Euclidean Multiple TSP

We present a polynomial-time approximation scheme (PTAS) for the min-max...
research
03/14/2018

Greedy can beat pure dynamic programming

Many dynamic programming algorithms for discrete 0-1 optimizationproblem...
research
09/09/2023

Tensors Ranks and the Fine-Grained Complexity of Dynamic Programming

Generalizing work of Künnemann, Paturi, and Schneider [ICALP 2017], we s...
research
01/04/2023

Dynamic Maintenance of Monotone Dynamic Programs and Applications

Dynamic programming (DP) is one of the fundamental paradigms in algorith...
research
06/06/2021

New complexity results and algorithms for min-max-min robust combinatorial optimization

In this work we investigate the min-max-min robust optimization problem ...
research
06/23/2018

Approximating some network problems with scenarios

In this paper the shortest path and the minimum spanning tree problems i...

Please sign up or login with your details

Forgot password? Click here to reset