Greedy can also beat pure dynamic programming

03/14/2018
by   Stasys Jukna, et al.
0

Many dynamic programming algorithms are "pure" in that they only use min or max and addition operations in their recursion equations. The well known greedy algorithm of Kruskal solves the minimum weight spanning tree problem on n-vertex graphs using only O(n^2 n) operations. We prove that any pure DP algorithm for this problem must perform 2^Ω(n) operations. Since the greedy algorithm can also badly fail on some optimization problems, easily solvable by pure DP algorithms, our result shows that the computational powers of these two types of algorithms are incomparable.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/14/2018

Greedy can beat pure dynamic programming

Many dynamic programming algorithms for discrete 0-1 optimizationproblem...
research
12/23/2020

Sorting Can Exponentially Speed Up Pure Dynamic Programming

Many discrete minimization problems, including various versions of the s...
research
12/23/2020

Approximation Limitations of Pure Dynamic Programming

We prove the first, even super-polynomial, lower bounds on the size of t...
research
11/19/2020

Illustrating the Suitability of Greedy and Dynamic Algorithms Using The Economics Concept of "Opportunity Cost"

Students of Computer Science often wonder when, exactly, one can apply a...
research
01/20/2020

OpenMP Parallelization of Dynamic Programming and Greedy Algorithms

Multicore has emerged as a typical architecture model since its advent a...
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
01/04/2023

Dynamic Maintenance of Monotone Dynamic Programs and Applications

Dynamic programming (DP) is one of the fundamental paradigms in algorith...

Please sign up or login with your details

Forgot password? Click here to reset