Moving horizon state estimation (MHE) has emerged as a powerful optimisation-based technique for reconstructing the internal states of nonlinear dynamical systems from noisy and partial measurements.