Solving optimal control problems of rigid-body dynamics with collisions using the hybrid minimum principle

Wei Hu*, Jihao Long, Yaohua Zang, Weinan E, Jiequn Han,

Abstract

Collisions are common in many dynamical systems with real applications. They can be formulated as hybrid dynamical systems with discontinuities automatically triggered when states transverse certain manifolds. We present an algorithm for the optimal control problem of such hybrid dynamical systems based on solving the equations derived from the hybrid minimum principle (HMP). The algorithm is an iterative scheme following the spirit of the method of successive approximations (MSA), and it is robust to undesired collisions observed in the initial guesses. We propose several techniques to address the additional numerical challenges introduced by the presence of discontinuities. The algorithm is tested on disc collision problems whose optimal solutions exhibit one or multiple collisions. Linear convergence in terms of iteration steps and asymptotic first-order accuracy in terms of time discretization are observed when the algorithm is implemented with the forward-Euler scheme. The numerical results demonstrate that the proposed algorithm has better accuracy and convergence than direct methods based on gradient descent. Furthermore, the algorithm is also simpler, more accurate, and more stable than a deep reinforcement learning method.

Our Method

Reinforcement Learning With PPO

BibTeX


@article{HU2025108603,
title = {Solving optimal control problems of rigid-body dynamics with collisions using the hybrid minimum principle},
journal = {Communications in Nonlinear Science and Numerical Simulation},
pages = {108603},
year = {2025},
issn = {1007-5704},
doi = {https://doi.org/10.1016/j.cnsns.2025.108603},
url = {https://www.sciencedirect.com/science/article/pii/S1007570425000140},
author = {Wei Hu and Jihao Long and Yaohua Zang and Weinan E and Jiequn Han},
keywords = {Optimal control of hybrid systems, Non-smooth and discontinuous optimal control problems, Rigid-body collision, Hybrid minimum principle, Pontryagin's minimum principle},
abstract = {Collisions are common in many dynamical systems with real applications. They can be formulated as hybrid dynamical systems with discontinuities automatically triggered when states transverse certain manifolds. We present an algorithm for the optimal control problem of such hybrid dynamical systems based on solving the equations derived from the hybrid minimum principle (HMP). The algorithm is an iterative scheme following the spirit of the method of successive approximations (MSA), and it is robust to undesired collisions observed in the initial guesses. We propose several techniques to address the additional numerical challenges introduced by the presence of discontinuities. The algorithm is tested on disc collision problems whose optimal solutions exhibit one or multiple collisions. Linear convergence in terms of iteration steps and asymptotic first-order accuracy in terms of time discretization are observed when the algorithm is implemented with the forward-Euler scheme. The numerical results demonstrate that the proposed algorithm has better accuracy and convergence than direct methods based on gradient descent. Furthermore, the algorithm is also simpler, more accurate, and more stable than a deep reinforcement learning method.}
}