[Paper Review] Practical Comparison of Optimization Algorithms for Learning-Based MPC with Linear Models
This paper compares optimization algorithms for learning-based model predictive control (LBMPC) with linear models, evaluating a sparse interior-point method (LBmpcIPM) against dense active-set solvers (LSSOL and qpOASES) on a quadrotor helicopter. Despite LBmpcIPM's superior asymptotic complexity, dense solvers outperform it in real-time flight experiments due to lower solve-time variance, indicating that practical system benchmarks are essential for algorithm selection in embedded MPC applications.
Learning-based control methods are an attractive approach for addressing performance and efficiency challenges in robotics and automation systems. One such technique that has found application in these domains is learning-based model predictive control (LBMPC). An important novelty of LBMPC lies in the fact that its robustness and stability properties are independent of the type of online learning used. This allows the use of advanced statistical or machine learning methods to provide the adaptation for the controller. This paper is concerned with providing practical comparisons of different optimization algorithms for implementing the LBMPC method, for the special case where the dynamic model of the system is linear and the online learning provides linear updates to the dynamic model. For comparison purposes, we have implemented a primal-dual infeasible start interior point method that exploits the sparsity structure of LBMPC. Our open source implementation (called LBmpcIPM) is available through a BSD license and is provided freely to enable the rapid implementation of LBMPC on other platforms. This solver is compared to the dense active set solvers LSSOL and qpOASES using a quadrotor helicopter platform. Two scenarios are considered: The first is a simulation comparing hovering control for the quadrotor, and the second is on-board control experiments of dynamic quadrotor flight. Though the LBmpcIPM method has better asymptotic computational complexity than LSSOL and qpOASES, we find that for certain integrated systems (like our quadrotor testbed) these methods can outperform LBmpcIPM. This suggests that actual benchmarks should be used when choosing which algorithm is used to implement LBMPC on practical systems.
Motivation & Objective
- To evaluate the practical performance of different optimization algorithms for learning-based model predictive control (LBMPC) with linear dynamics and linear learning updates.
- To assess whether the theoretically superior computational complexity of sparse solvers translates to real-world advantages in embedded control systems.
- To compare the performance of a newly implemented sparse interior-point method (LBmpcIPM) against established dense active-set solvers (LSSOL and qpOASES) on a real quadrotor testbed.
- To determine whether the choice of optimization algorithm significantly affects control performance and real-time feasibility in dynamic, constrained flight scenarios.
Proposed method
- Implemented a primal-dual infeasible start interior-point method (LBmpcIPM) that exploits the sparsity structure inherent in LBMPC problems with linear models.
- Designed the LBmpcIPM solver to handle online learning updates to the system dynamics model while maintaining robustness and stability guarantees.
- Compared LBmpcIPM against two dense active-set solvers, LSSOL and qpOASES, using identical LBMPC formulations and system constraints.
- Conducted simulations and real-time onboard experiments on a quadrotor helicopter with a 25ms control sampling period and a prediction horizon of N=5.
- Measured and analyzed solve times, trajectory tracking performance, and variance in computation time across all three solvers.
- Used the LSSOL solver’s trajectory as a reference to quantify differences between solvers, ensuring consistency with prior experimental work.
Experimental results
Research questions
- RQ1Does the sparse interior-point method (LBmpcIPM) achieve faster solve times than dense active-set solvers (LSSOL and qpOASES) in real-time LBMPC applications on embedded platforms?
- RQ2How do the solve-time variances of different optimization algorithms affect real-time control feasibility in a 25ms sampling period?
- RQ3To what extent do differences in solver performance manifest in actual quadrotor flight trajectories, and are they within acceptable bounds of aerodynamic noise?
- RQ4Does the theoretically superior asymptotic computational complexity of LBmpcIPM translate into measurable performance gains in practice when using a 2009-era on-board computer?
- RQ5Can the structural similarity between learned and nominal system models in LBMPC be exploited to further improve solver efficiency?
Key findings
- The LBmpcIPM solver demonstrated better asymptotic computational complexity than dense solvers, as expected from its sparse, interior-point formulation.
- Despite superior theoretical complexity, LBmpcIPM exhibited higher solve-time variance and occasionally exceeded the 25ms real-time control deadline, unlike the dense solvers.
- The dense active-set solvers (LSSOL and qpOASES) achieved lower solve-time variance, enabling more reliable real-time performance on the quadrotor testbed.
- Trajectory differences between solvers were within 6.5cm (LBmpcIPM vs. LSSOL) and 9.8cm (qpOASES vs. LSSOL), which are within expected bounds of aerodynamic noise and experimental variability.
- The performance gap between solvers was negligible in practice, indicating that all three solvers delivered comparable control accuracy under real flight conditions.
- Future hardware upgrades with ~10× better performance could unlock the full potential of LBmpcIPM, enabling longer horizons (e.g., N≈30) that would better leverage its sparse structure.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.