Cover illustration: An illustration of the structure of the Karush-Kuhn-Tucker matrix for the unconstrained finite-time optimal control problems considered in this thesis. Thank you Jonas Linder for helping me with the design.Linköping studies in science and technology. Dissertations.No. 1848 Tillägnas hela min underbara familj
Structure-Exploiting Numerical Algorithms for Optimal Control
AbstractNumerical algorithms for efficiently solving optimal control problems are important for commonly used advanced control strategies, such as model predictive control (mpc), but can also be useful for advanced estimation techniques, such as moving horizon estimation (mhe). In mpc, the control input is computed by solving a constrained finite-time optimal control (cftoc) problem on-line, and in mhe the estimated states are obtained by solving an optimization problem that often can be formulated as a cftoc problem. Common types of optimization methods for solving cftoc problems are interior-point (ip) methods, sequential quadratic programming (sqp) methods and active-set (as) methods. In these types of methods, the main computational effort is often the computation of the second-order search directions. This boils down to solving a sequence of systems of equations that correspond to unconstrained finite-time optimal control (uftoc) problems. Hence, high-performing second-order methods for cftoc problems rely on efficient numerical algorithms for solving uftoc problems. Developing such algorithms is one of the main focuses in this thesis. When the solution to a cftoc problem is computed using an as type method, the aforementioned system of equations is only changed by a low-rank modification between two as iterations. In this thesis, it is shown how to exploit these structured modifications while still exploiting structure in the uftoc problem using the Riccati recursion. Furthermore, direct (non-iterative) parallel algorithms for computing the search directions in ip, sqp and as methods are proposed in the thesis. These algorithms exploit, and retain, the sparse structure of the uftoc problem such that no dense system of equations needs to be solved serially as in many other algorithms. The proposed algorithms can be applied recursively to obtain logarithmic computational complexity growth in the prediction horizon length. For the case with linear mpc problems, an alternative approach to solving the cftoc problem on-line is to use multiparametric quadratic programming (mp-qp), where the corresponding cftoc problem can be solved explicitly off-line. This is referred to as explicit mpc. One of the main limitations with mp-qp is the amount of memory that is required to store the parametric solution. In this thesis, an algorithm for decreasing the required amount of memory is proposed. The aim is to make mp-qp and explicit mpc more useful in practical applications, such as embedded systems with limited memory resources. The proposed algorithm exploits the structure from the qp problem in the parametric solution in order to reduc...