Numerical Optimal Control of HIV Transmission in Octave/MATLAB
Carlos Campos, Cristiana J. Silva, Delfim F. M. Torres

TL;DR
This paper presents accessible GNU Octave/MATLAB code for simulating HIV transmission models and solving optimal control problems to identify effective prevention strategies using Pontryagin's maximum principle.
Contribution
It introduces a clear implementation of HIV transmission modeling and optimal control solutions in Octave/MATLAB, including algorithms for both uncontrolled and controlled scenarios.
Findings
Numerical solutions for HIV transmission dynamics using ode45 and Runge-Kutta methods.
Optimal control strategies that maximize uninfected individuals with minimal infections.
Algorithms compatible with MATLAB and GNU Octave for practical application.
Abstract
We provide easy and readable GNU Octave/MATLAB code for the simulation of mathematical models described by ordinary differential equations and for the solution of optimal control problems through Pontryagin's maximum principle. For that, we consider a normalized HIV/AIDS transmission dynamics model based on the one proposed in our recent contribution (Silva, C.J.; Torres, D.F.M. A SICA compartmental model in epidemiology with application to HIV/AIDS in Cape Verde. Ecol. Complex. 2017, 30, 70--75), given by a system of four ordinary differential equations. An HIV initial value problem is solved numerically using the ode45 GNU Octave function and three standard methods implemented by us in Octave/MATLAB: Euler method and second-order and fourth-order Runge-Kutta methods. Afterwards, a control function is introduced into the normalized HIV model and an optimal control problem is…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
