Table of Contents
Fetching ...

On the numerical stability of discretised Optimal Control Problems

Ashutosh Bijalwan, Jose J Muñoz

TL;DR

This work investigates the numerical stability of time-discretised optimal control problems, focusing on MP and implicit Euler schemes applied to Hamiltonian boundary-value problems derived from indirect methods. It shows that stability and numerical oscillations depend on both the time-step $\Delta t$ and the control-cost weight $\alpha$, deriving explicit thresholds $\alpha_{th,MP}$ and $\alpha_{th,iE}$ for a linear OCP with dynamics $\dot{v}= -\tfrac{b}{m}v + \tfrac{u}{m} - a$ and cost $\mathcal{J}=\int_0^T \left[ \tfrac{1}{2}(v-v_t)^2 + \tfrac{\alpha}{2}u^2 \right] dt$. The analysis uses the discretised maps’ spectral properties to characterize oscillations and stability, and confirms the thresholds with numerical examples. Moreover, the authors show that similar oscillatory behavior persists in a nonlinear OCP, exemplified by an inverted elastic pendulum, where for small $\Delta t$ the conservative stability criterion scales as $\alpha_{th}=O(\Delta t^2)$, implying that smaller $\alpha$ requires correspondingly smaller time steps. Overall, the findings provide practical guidelines for choosing $\Delta t$ and $\alpha$ to avoid spurious numerical oscillations in discretised OCPs.

Abstract

Optimal Control Problems consist on the optimisation of an objective functional subjected to a set of Ordinary Differential Equations. In this work, we consider the effects on the stability of the numerical solution when this optimisation is discretised in time. In particular, we analyse a OCP with a quadratic functional and linear ODE, discretised with Mid-point and implicit Euler. We show that the numerical stability and the presence of numerical oscillations depends not only on the time-step size, but also on the parameters of the objective functional, which measures the amount of control input. Finally, we also show with an illustrative example that these results also carry over non-linear optimal control problems

On the numerical stability of discretised Optimal Control Problems

TL;DR

This work investigates the numerical stability of time-discretised optimal control problems, focusing on MP and implicit Euler schemes applied to Hamiltonian boundary-value problems derived from indirect methods. It shows that stability and numerical oscillations depend on both the time-step and the control-cost weight , deriving explicit thresholds and for a linear OCP with dynamics and cost . The analysis uses the discretised maps’ spectral properties to characterize oscillations and stability, and confirms the thresholds with numerical examples. Moreover, the authors show that similar oscillatory behavior persists in a nonlinear OCP, exemplified by an inverted elastic pendulum, where for small the conservative stability criterion scales as , implying that smaller requires correspondingly smaller time steps. Overall, the findings provide practical guidelines for choosing and to avoid spurious numerical oscillations in discretised OCPs.

Abstract

Optimal Control Problems consist on the optimisation of an objective functional subjected to a set of Ordinary Differential Equations. In this work, we consider the effects on the stability of the numerical solution when this optimisation is discretised in time. In particular, we analyse a OCP with a quadratic functional and linear ODE, discretised with Mid-point and implicit Euler. We show that the numerical stability and the presence of numerical oscillations depends not only on the time-step size, but also on the parameters of the objective functional, which measures the amount of control input. Finally, we also show with an illustrative example that these results also carry over non-linear optimal control problems
Paper Structure (7 sections, 29 equations, 4 figures)

This paper contains 7 sections, 29 equations, 4 figures.

Figures (4)

  • Figure 1: Mid-point (MP) and implicit Euler (iE) scheme: (a) spectral radius, and (b) eigenvalues.
  • Figure 2: State optimal velocity: (a) MP scheme and (b) iE scheme (dots: Analytical solution).
  • Figure 3: Phase diagram $(\alpha, \Delta t)$ for MP and iE schemes.
  • Figure 4: Inverted pendulum: mass $m_1$ horizontal displacement with $\alpha$ (MP Scheme)