Skip to main content
QUICK REVIEW

[Paper Review] Optimal control and numerical software: an overview

Helena Sofia Rodrigues, M. Teresa T. Monteiro|arXiv (Cornell University)|Jan 28, 2014
Advanced Control Systems OptimizationEngineering24 references27 citations
TL;DR

This paper provides a comprehensive overview of numerical software tools for solving optimal control (OC) problems, comparing direct and indirect methods through a rubella epidemiological model. It evaluates five software packages—MATLAB's ode45, OC-ODE, DOTcvp, IPOPT, and SNOPT—demonstrating their performance, accuracy, and robustness in solving complex OC problems using direct transcription and nonlinear programming techniques.

ABSTRACT

Optimal Control (OC) is the process of determining control and state trajectories for a dynamic system, over a period of time, in order to optimize a given performance index. With the increasing of variables and complexity, OC problems can no longer be solved analytically and, consequently, numerical methods are required. For this purpose, direct and indirect methods are used. Direct methods consist in the discretization of the OC problem, reducing it to a nonlinear constrained optimization problem. Indirect methods are based on the Pontryagin Maximum Principle, which in turn reduces to a boundary value problem. In order to have a more reliable solution, one can solve the same problem through different approaches. Here, as an illustrative example, an epidemiological application related to the rubella disease is solved using several software packages, such as the routine ode45 of Matlab, OC-ODE, DOTcvp toolbox, IPOPT and Snopt, showing the state of the art of numerical software for OC.

Motivation & Objective

  • To evaluate the state-of-the-art numerical software for solving optimal control problems in complex, real-world applications.
  • To compare the performance, accuracy, and robustness of direct and indirect methods using a practical epidemiological case study.
  • To demonstrate the effectiveness of modern nonlinear programming solvers in solving optimal control problems through a benchmark rubella transmission model.
  • To provide researchers with a practical guide on selecting appropriate software tools based on problem structure, computational cost, and convergence behavior.

Proposed method

  • The study applies direct methods by discretizing the optimal control problem into a nonlinear programming (NLP) problem using Euler's method with uniform time partitioning.
  • The rubella transmission model is formulated in Bolza form with state variables representing susceptible, infected, recovered, and vaccinated populations.
  • The performance index includes a trade-off between disease control (via infected population minimization) and intervention cost (via control effort penalty).
  • Five software packages—MATLAB’s ode45, OC-ODE, DOTcvp, IPOPT, and SNOPT—are used to solve the discretized problem, with AMPL used as the modeling language on the NEOS server.
  • IPOPT and SNOPT are employed with interior-point and sequential quadratic programming (SQP) methods, respectively, leveraging sparse derivative structures for efficiency.
  • The solution process involves automatic differentiation and sparsity exploitation to enhance convergence speed and numerical stability.

Experimental results

Research questions

  • RQ1How do different numerical software packages compare in solving optimal control problems with real-world complexity?
  • RQ2What is the relative accuracy and robustness of direct versus indirect methods when applied to a nonlinear epidemiological model?
  • RQ3How do interior-point and SQP-based solvers perform in terms of convergence speed and solution quality for optimal control problems?
  • RQ4To what extent can standard nonlinear programming tools handle complex, constrained optimal control problems with biological dynamics?
  • RQ5What role does sparsity exploitation and derivative information play in improving the efficiency of optimal control software?

Key findings

  • The direct method, when combined with modern NLP solvers like IPOPT and SNOPT, provides highly accurate and robust solutions even with poor initial guesses.
  • IPOPT and SNOPT demonstrated superior convergence behavior and computational efficiency due to effective exploitation of sparsity in the Jacobian and Hessian matrices.
  • The use of automatic differentiation in AMPL-enabled modeling environments significantly improved the reliability and speed of derivative computation.
  • The solution using IPOPT and SNOPT converged to a solution with minimal objective function value, indicating effective trade-off between disease control and intervention cost.
  • MATLAB’s ode45 was less effective for optimal control due to its lack of optimization capabilities, highlighting the need for specialized NLP solvers.
  • The study confirms that direct methods are more practical for complex, high-dimensional optimal control problems, especially when constraints and nonlinear dynamics are involved.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.