Primal-Dual iLQR (2403.00748v5)
Abstract: We introduce a new algorithm for solving unconstrained discrete-time optimal control problems. Our method follows a direct multiple shooting approach, and consists of applying the SQP method together with an $\ell_2$ augmented Lagrangian primal-dual merit function. We use the LQR algorithm to efficiently solve the primal-dual Newton-KKT system. As our algorithm is a specialization of NPSQP, it inherits its generic properties, including global convergence, fast local convergence, and the lack of need for second order corrections or dimension expansions, improving on existing direct multiple shooting approaches such as acados, ALTRO, GNMS, FATROP, and FDDP. The solutions of the LQR-shaped subproblems posed by our algorithm can be be parallelized to run in time logarithmic in the number of stages, states, and controls. Moreover, as our method avoids sequential rollouts of the nonlinear dynamics, it can run in $O(1)$ parallel time per line search iteration. Therefore, this paper provides a practical, theoretically sound, and highly parallelizable (for example, with a GPU) method for solving nonlinear discrete-time optimal control problems. An open-source JAX implementation of this algorithm can be found on GitHub (joaospinto/primal_dual_ilqr).
- Dunn, Joseph C., and Dimitri P. Bertsekas. 1989. “Efficient Dynamic Programming Implementations of Newton’s Method for Unconstrained Optimal Control Problems.” Journal of Optimization Theory and Applications 63: 23–38. https://doi.org/10.1007/BF00940728.
- Frison, Gianluca, and Moritz Diehl. 2020. “HPIPM: A High-Performance Quadratic Programming Framework for Model Predictive Control.” In 21st IFAC World Congress. Vol. 53. https://doi.org/10.1016/j.ifacol.2020.12.073.
- Giftthaler, Markus, Michael Neunert, Stäuble Markus, Jonas Buchli, and Moritz Diehl. 2018. “A Family of Iterative Gauss-Newton Shooting Methods for Nonlinear Optimal Control.” In IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 1–9. https://doi.org/10.1109/IROS.2018.8593840.
- Howell, Taylor A., Brian E. Jackson, and Zachary Manchester. 2019. “ALTRO: A Fast Solver for Constrained Trajectory Optimization.” In IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 7674–79. https://doi.org/10.1109/IROS40897.2019.8967788.
- Mastalli, Carlos, Rohan Budhiraja, Wolfgang Merkt, Guilhem Saurel, Bilal Hammoud, Maximilien Naveau, Justin Carpentier, Ludovic Righetti, Sethu Vijayakumar, and Nicolas Mansard. 2020. “Crocoddyl: An Efficient and Versatile Framework for Multi-Contact Optimal Control.” In IEEE International Conference on Robotics and Automation (ICRA), 2536–42. https://doi.org/10.1109/ICRA40945.2020.9196673.
- Mayne, David. 1966. “A Second-Order Gradient Method for Determining Optimal Trajectories of Non-Linear Discrete-Time Systems.” International Journal of Control 3 (1): 85–95. https://doi.org/10.1080/00207176608921369.
- Pavlov, Andrei, Iman Shames, and Chris Manzie. 2020. “Interior Point Differential Dynamic Programming.” arXiv. https://doi.org/10.48550/arXiv.2004.12710.
- Rao, Christopher V., Stephen J. Wright, and James B. Rawlings. 1998. “Application of Interior-Point Methods to Model Predictive Control.” Journal of Optimization Theory and Applications 99 (3): 723–57.
- Shoemaker, Christine A., and Li-Zhi Liao. 1991. “Convergence in Unconstrained Discrete-Time Differential Dynamic Programming.” IEEE Transactions on Automatic Control 36 (6): 692–706. https://doi.org/10.1109/9.86943.
- Singh, Sumeet, Jean-Jacques Slotine, and Vikas Sindhwani. 2022. “Optimizing Trajectories with Closed-Loop Dynamic SQP.” In 2022 International Conference on Robotics and Automation (ICRA), 5249–54. https://doi.org/10.1109/ICRA46639.2022.9811562.
- Todorov, Emanuel, and Weiwei Li. 2004. “Iterative Linear Quadratic Regulator Design for Nonlinear Biological Movement Systems.” In Proceedings of the First International Conference on Informatics in Control, Automation and Robotics, 1:222–29. https://doi.org/10.5220/0001143902220229.
- Vanroye, Lander, Ajay Sathya, Joris De Schutter, and Wilm Decré. 2023. “FATROP: A Fast Constrained Optimal Control Problem Solver for Robot Trajectory Optimization and Control.” arXiv. https://doi.org/10.48550/arXiv.2303.16746.
- Verschueren, Robin, Gianluca Frison, Dimitris Kouzoupis, Jonathan Frey, Niels van Duijkeren, Andrea Zanelli, Branimir Novoselnik, Thivaharan Albin, Rien Quirynen, and Moritz Diehl. 2022. “Acados—a Modular Open-Source Framework for Fast Embedded Optimal Control.” In Mathematical Programming Computation, 14:147–83. https://doi.org/10.1007/s12532-021-00208-8.
- Wächter, Andreas, and Lorenz Biegler. 2006. “On the Implementation of an Interior-Point Filter Line-Search Algorithm for Large-Scale Nonlinear Programming.” Mathematical Programming 106: 25–57. https://doi.org/10.1007/s10107-004-0559-y.
- Zanelli, Andrea, Alexander Domahidi, Juan Jerez, and Manfred Morari. “FORCES NLP: An Efficient Implementation of Interior-Point Methods for Multistage Nonlinear Nonconvex Programs.” International Journal of Control 93 (1): 13–29. https://doi.org/10.1080/00207179.2017.1316017.