Research Article

Representative applications of dynamic-programming in different fields: Analysis on problems of shortest-path, 0/1 knapsack and longest common sub-sequence

Ziyang Chia Zheng*
Brooklyn College

* Corresponding author: [email protected]

Abstract

This article mainly focuses on exploring the current application status, concrete things implemented by dynamic programming and advantages of dynamic programming in problems (the concept and operation of dynamic programming and the role it plays in programs) in different fields, future development trends and areas for improvement. It also introduces the gaps and problems currently encountered by dynamic programming, then provides corresponding solutions to make it more helpful and efficient in the future. In this regard, by consulting different references and online resources written by previous scientists, it finds out that they all have different points of view on dynamic programming and different solutions to its shortcomings. In the current research, dynamic programming is the most widely used algorithm with few limitations that can achieve the global optimal solution at any time; however, it does not mean that it can achieve the local optimal solution at any time, which also indirectly results in the memory space it requires being larger than other optimization algorithms. After analyzing the literature and researching and testing multiple applications, it is obvious that dynamic programming can make the code run easier and faster than traditional methods, even though it will take up more space.

Keywords: Dynamic programming; Applications; shortest path; 0/1 knapsack; LSC
Published: September 10, 2024
DOI: 10.54254/2755-2721/71/20241687
Volume: ACE Vol.71
pp. 192-198
Download PDF

References

  1. Xiangyun Ding, Yan Gu, and Yihan Sun. 2024. Parallel and (Nearly) Work-Efficient Dynamic Programming. In Proceedings of the 36th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA '24). Association for Computing Machinery, New York, NY, USA, 219–232.
  2. Samah W.G. AbuSalim et al. (2020) Comparative Analysis between Dijkstra and Bellman-Ford Algorithms in Shortest Path Optimization. IOP Conference Series: Materials Science and Engineering, 917(2020) 012077.
  3. Ghadi Y.Y., AlShloul T., Nezami ZI., Ali H., Asif M., Aljuaid H., Ahmad S. (2023). An efficient optimizer for the 0/1 knapsack problem using group counseling. PeerJ Comput. Sci. 9:e1315
  4. Luc Libralesso, Aurélien Secardin, Vincent Jost. Longest common sub-sequence: an algorithmic component analysis. Hal open science, 2020. hal-02895115.
  5. Frank E., Oluwaseyi J., Olaoye G. (2024). Knapsack Problem. April 09. https://www.researchgate.net/publication/379652955_Knapsack_Problem
  6. Rai A. (2022) A Study on Bellman Ford Algorithm for Shortest Path Detection in Global Positioning System. International Journal for Research in Applied Science & Engineering Technology (IJRASET), Volume 10 Issue V.
  7. Assi, M., & Haraty, R. A. (2018). A Survey of the Knapsack Problem. 2018 International Arab Conference on Information Technology (ACIT), 1–6.
  8. Djukanovic M, Raidl G.R, and Blum C. "Finding Longest Common Sub-sequences: New anytime A* search results." Applied Soft Computing, Volume 95, October 2020, 106499.
  9. Ventura, J. A. (2019). Dynamic programming. Operations Research Methodologies, R. Ravindran, Ed., CRC Press, pp.168-194.
  10. Rust, J. (2019). Has Dynamic Programming Improved Decision Making? Annual Review of Economics, 11(1), 833–858.