OptimizedDP: An Efficient, User-friendly Library For Optimal Control and Dynamic Programming

Minh Bui, Hanyang Hu, Chong He, Michael Lu, George Giovanis +2 more
4/12/2022
40 citations
eess.SY

Official code: SFU-MARS/optimized_dp (142 stars, Python, MIT, last commit 2026-11-15).

Abstract

This paper introduces OptimizedDP, a high-performance software library for several common grid-based dynamic programming (DP) algorithms used in control theory and robotics. Specifically, OptimizedDP provides functions to numerically solve a class of time-dependent (dynamic) Hamilton-Jacobi (HJ) partial differential equations (PDEs), time-independent (static) HJ PDEs, and additionally value iteration for continuous action-state space Markov Decision Processes (MDP).

Show full abstract

The computational complexity of grid-based DP is exponential with respect to the number of grid or state space dimensions, and thus can have bad execution runtimes and memory usage whenapplied to large state spaces. We leverage the user-friendliness of Python for different problem specifications without sacrificing the efficiency of the core computation. This is achieved by implementing the core part of the code which the user does not see in heterocl, a framework we use to abstract away details of how computation is parallelized. Compared to similar toolboxes for level set methods that are used to solve the HJ PDE, our toolbox makes solving the PDE at higher dimensions possible as well as achieving an order of magnitude improvements in execution times, while keeping the interface easy for specifying different problem descriptions. Because of that, the toolbox has been adopted to solve control and optimization problems that were considered intractable before. Our toolbox is available publicly at https://github.com/SFU-MARS/optimized_dp.

View on arXivView PDF

Code Implementations(1)

MIT

Optimizing Dynamic Programming-Based Algorithms

14249Python, DockerfileJan 14, 20202 weeks agoMIT

Similar Papers

Cite this paper

@article{bui2022optimizeddp,
  title  = {OptimizedDP: An Efficient, User-friendly Library For Optimal Control and Dynamic Programming},
  author = {Minh Bui and Hanyang Hu and Chong He and Michael Lu and George Giovanis and Arrvindh Shriraman and Mo Chen},
  year   = {2022},
  eprint = {2204.05520},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.05520}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.05520.svg)](https://codeofpaper.com/paper/2204.05520)

Discussion