Global Dynamics and Optimal Control of a Dual-Target HIV Model with Latent Reservoirs
Abstract
1. Introduction
- Providing the biological feasibility and mathematical well-posedness of the proposed model, ensuring, in particular, the positivity and boundedness of the solution components.
- Providing an explicit expression for the basic reproduction number , decomposed into two additive components, and , corresponding to the contributions of both CD T cells and macrophages, respectively.
- Providing an analysis of the global asymptotic stability (GAS) of both the disease-free and endemic equilibria using Lyapunov functions and LaSalle’s invariance principle.
- Providing an optimal control strategy to evaluate the impact of antiretroviral drugs on viral suppression and treatment cost minimization.
- Providing a sensitivity analysis and numerical simulations to identify key parameters influencing the threshold dynamics.
2. Mathematical Modeling
3. Preliminaries
- Continuity and differentiability of (existence);
- Local Lipschitz continuity of (uniqueness);
- Positive invariance of (global existence).
Derivation of via Next-Generation Matrix Method
4. Equilibria of the System
5. Global Stability
6. Optimal Control Analysis
- : Drug efficacy in blocking viral infection (e.g., reverse transcriptase inhibitors).
- : Drug efficacy in reducing viral production (e.g., protease inhibitors).
- are weight constants for the infected compartments and viral load.
- are weight constants for the cost of controls.
- is the final time.
7. Numerical Simulations
7.1. Stability of Equilibria
- For and , we get , then the infection-free equilibrium point is globally asymptoticaly stable (see Figure 2). These results confirm the findings of Theorem 1, that the trajectories of the model (3) converges, for any initial value, to the infection-free equilibrium point . In this case, the susceptible CD T cells and the susceptible macrophages converge to their maximum values while the other components converge with the HIV to zero.
- For and , we get , then the infection-free equilibrium point is GAS (see Figure 3). These results confirm the findings of Theorem 2, that the trajectories of the model (3) converge, for any initial value, to the endemic equilibrium point . The system (3) becomes persistent, so that all components converge to non-zero values and the HIV disease persists.
7.2. Sensitivity Analysis
- Viral clearance rate () has the strongest negative effect (). Enhancing viral removal (e.g., via immune response or drugs) is the most effective way to reduce .
- CD T cell-related parameters () have high positive sensitivity (). This indicates that viral production and infection in CD T cells are major drivers of HIV spread.
- Macrophage-related parameters () also contribute positively (), but to a lesser extent. This supports the dual-target nature of HIV, though CD T cells dominate.
- Death rates of latent cells () have small negative effects. Increasing latent cell death can help reduce viral persistence, but the impact is limited.
- Transition rates from latent to active infection () have moderate positive effects. Slowing this transition may help control viral rebound.
- Therapies should prioritize enhancing viral clearance and reducing viral production in both cell types.
- Targeting CD T cell infection is more impactful than targeting macrophages alone.
- The analysis supports the use of dual-target strategies for a comprehensive approach to HIV treatment.
7.3. Influence of Treatments on the HIV Dynamics
- (i)
- If , then , and is GAS;
- (ii)
- If , then , and becomes GAS.
7.4. Optimal Control Problem
| Algorithm 1 Forward–Backward Sweep Method. |
|
- is the fixed time step ( days in implementation);
- State vector ;
- Right-hand side f represents the model Equation (1) with controls.
- Time Discretization: Uniform grid with step size days;
- Initialization: Zero controls initial guess ( and );
- Termination: or maximum 100 iterations;
- Memory Handling: Stores full time history of states and adjoints;
- Stability: The explicit Euler method requires small for stability.
- Superior Viral Suppression: Optimal control achieves faster and more complete viral suppression compared to constant dosing.
- Immune Preservation: The adaptive strategy better preserves CD T cells and macrophages, maintaining immune function.
- Reservoir Control: More effective reduction in latent reservoirs, crucial for long-term management.
- Treatment Efficiency: Achieves better outcomes with potentially lower cumulative drug exposure through time-varying optimization.
8. Conclusions
- Future work could incorporate stochastic elements to account for random fluctuations in viral dynamics and immune responses. Stochastic optimal control frameworks, as pioneered in epidemiological models [35], would better capture the inherent variability in HIV progression and treatment outcomes, particularly during early infection stages or near elimination thresholds.
- The current model assumes homogeneous mixing, neglecting spatial aspects of HIV infection. Partial differential equation models incorporating diffusion and spatial structure [36] could elucidate the role of tissue-specific viral reservoirs, lymphatic system dynamics, and drug penetration gradients in treatment efficacy.
- Practical treatment regimens often involve discrete intervention points rather than continuous control. Impulse control theory [37] could optimize structured treatment interruption strategies, vaccination schedules, or periodic drug administration, providing more clinically implementable protocols.
- Fractional differential equations may better capture the memory effects and anomalous diffusion phenomena observed in HIV dynamics, particularly in latent reservoir activation and drug pharmacokinetics.
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Perelson, A.S.; Neumann, A.U.; Markowitz, M.; Leonard, J.M.; Ho, D.D. HIV-1 dynamics in vivo: Virion clearance rate, infected cell life-span, and viral generation time. Science 1996, 271, 1582–1586. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Rong, L.; Gilchrist, M.A.; Feng, Z.; Perelson, A.S. Modeling within-host HIV-1 dynamics and the evolution of drug resistance: Trade-offs between viral enzyme function and drug susceptibility. J. Theor. Biol. 2007, 247, 804–818. [Google Scholar] [CrossRef] [Scilit]
- Li, Q.; Lu, F.; Wang, K. Modeling of HIV-1 Infection: Insights to the role of Monocytes/Macrophages, latently infected T4 cells, and HAART regimes. PLoS ONE 2012, 7, e46026. [Google Scholar] [CrossRef] [Scilit]
- De Boer, R.; Perelson, A. Target Cell Limited and Immune Control Models of HIV Infection: A Comparison. J. Theor. Biol. 1998, 190, 201–214. [Google Scholar] [CrossRef] [Scilit]
- Wodarz, D. Hepatitis C Virus Dynamics and Pathology: The Role of CTL and Antibody Responses. J. Gen. Virol. 2003, 84, 1743–1750. [Google Scholar] [CrossRef] [Scilit]
- Harroudi, S.; Meskaf, A.; Allali, K. Modelling the Adaptive Immune Response in HBV Infection Model with HBV DNA-Containing Capsids. Differ. Equ. Dyn. Syst. 2023, 31, 371–393. [Google Scholar] [CrossRef] [Scilit]
- Hu, Z.; Yang, J.; Li, Q.; Liang, S.; Fan, D. Mathematical Analysis of Stability and Hopf Bifurcation in a Delayed HIV Infection Model with Saturated Immune Response. Math. Methods Appl. Sci. 2024, 47, 9834–9857. [Google Scholar] [CrossRef] [Scilit]
- Nowak, M.A.; May, R.M. Virus Dynamics: Mathematical Principles of Immunology and Virology; Oxford University Press: Oxford, UK, 2000. [Google Scholar] [CrossRef] [Scilit]
- Pankavich, S. The effects of latent infection on the dynamics of HIV-1. Differ. Equ. Dyn. Syst. 2016, 24, 281–303. [Google Scholar] [CrossRef] [Scilit]
- Lv, L.; Yang, J.; Hu, Z.; Fan, D. Dynamics Analysis of a Delayed HIV Model with Latent Reservoir and Both Viral and Cellular Infections. Math. Methods Appl. Sci. 2025, 48, 6063–6080. [Google Scholar] [CrossRef] [Scilit]
- Hmarrass, H.; Qesmi, R. Global Stability and Hopf Bifurcation of a Delayed HIV Model with Macrophages, CD4+ T Cells with Latent Reservoirs and Immune Response. Eur. Phys. J. Plus 2025, 140, 335. [Google Scholar] [CrossRef] [Scilit]
- Culshaw, R.V.; Ruan, S. A Delay-Differential Equation Model of HIV Infection of CD4+ T-Cells. Math. Biosci. 2000, 165, 27–39. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Liu, Q.; Jiang, D. Dynamical behavior of a higher order stochastically perturbed HIV/AIDS model with differential infectivity and amelioration. Chaos Solitons Fractals 2020, 141, 110333. [Google Scholar] [CrossRef] [Scilit]
- Finzi, D.; Hermankova, M.; Pierson, T.; Carruth, L.M.; Buck, C.; Chaisson, R.E.; Quinn, T.C.; Chadwick, K.; Margolick, J.; Brookmeyer, R.; et al. Identification of a reservoir for HIV-1 in patients on highly active antiretroviral therapy. Science 1997, 278, 1295–1300. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Alharbi, M.H. HIV dynamics in a periodic environment with general transmission rates. AIMS Math. 2024, 9, 31393–31413. [Google Scholar] [CrossRef] [Scilit]
- El Hajji, M.; Alnjrani, R.M. Periodic Trajectories for HIV Dynamics in a Seasonal Environment with a General Incidence Rate. Int. J. Anal. Appl. 2023, 21, 96. [Google Scholar] [CrossRef] [Scilit]
- El Hajji, M.; Alnjrani, R.M. Periodic Behaviour of HIV Dynamics with Three Infection Routes. Mathematics 2024, 12, 123. [Google Scholar] [CrossRef] [Scilit]
- Peano, G. Sull’integrabilità delle equazioni differenziali di primo ordine. Atti Della R. Accad. Dei Lincei Rend. 1886, 21, 677–685. [Google Scholar]
- Teschl, G. Ordinary Differential Equations and Dynamical Systems; Graduate Studies in Mathematics; American Mathematical Society: Providence, RI, USA, 2012; Volume 140. [Google Scholar]
- den Driessche, P.V.; Watmough, J. Reproduction Numbers and Sub-Threshold Endemic Equilibria for Compartmental Models of Disease Transmission. Math. Biosci. 2002, 180, 29–48. [Google Scholar] [CrossRef] [Scilit]
- Diekmann, O.; Heesterbeek, J.; Roberts, M. The construction of next-generation matrices for compartmental epidemic models. J. R. Soc. Interface 2010, 7, 873–885. [Google Scholar] [CrossRef] [Scilit]
- Korobeinikov, A. Global properties of basic virus dynamics models. Bull. Math. Biol. 2004, 66, 879–883. [Google Scholar] [CrossRef] [Scilit]
- Hale, J.K.; Somolinos, A.S. Competition for a fluctuating nutrient. J. Math. Biol. 1983, 18, 255–280. [Google Scholar] [CrossRef] [Scilit]
- Barbashin, E.A. Introduction to the Theory of Stability; Wolters-Noordhoff: Groningen, The Netherlands, 1970. [Google Scholar]
- LaSalle, J.P. The Stability of Dynamical Systems; SIAM: Philadelphia, PA, USA, 1976. [Google Scholar]
- Lyapunov, A.M. The General Problem of the Stability of Motion; Taylor & Francis, Ltd.: Abingdon, UK, 1992; Volume 55, pp. 531–534. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Zhang, L.; Zhang, J.; Liu, S.; Peng, Z. Dynamical modeling and data analysis of HIV infection with infection-age, CTLs immune response and delayed antibody immune response. J. Math. Biol. 2025, 91, 57. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wodarz, D. Mathematical models of immune effector responses to viral infections: Virus control versus the development of pathology. J. Comput. Appl. Math. 2005, 184, 301–319. [Google Scholar] [CrossRef] [Scilit]
- Perelson, A.S.; Kirschner, D.E.; De Boer, R. Dynamics of HIV infection of CD4+ T cells. Math. Biosci. 1993, 114, 81–125. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Callaway, D.S.; Perelson, A.S. HIV-1 Infection and Low Steady State Viral Loads. Bull. Math. Biol. 2002, 64, 29–64. [Google Scholar] [CrossRef] [Scilit]
- Haase, A.T.; Henry, K.; Zupancic, M.; Sedgewick, G.; Faust, R.A.; Melroe, H.; Cavert, W.; Gebhard, K.; Staskus, K.; Zhang, Z.Q.; et al. Quantitative image analysis of HIV-1 infection in lymphoid tissue. Science 1996, 274, 985–989. [Google Scholar] [CrossRef] [Scilit]
- Nampala, H.; Luboobi, L.S.; Mugisha, J.Y.; Obua, C.; Jablonska-Sabuka, M. Modelling Hepatotoxicity and Antiretroviral Therapeutic Effect in HIV/HBV Co-Infection. Math. Biosci. 2018, 302, 67–79. [Google Scholar] [CrossRef] [Scilit]
- Marino, S.; Hogue, I.B.; Ray, C.J.; Kirschner, D.E. A Methodology for Performing Global Uncertainty and Sensitivity Analysis in Systems Biology. J. Theor. Biol. 2008, 254, 178–196. [Google Scholar] [CrossRef] [Scilit]
- Chitnis, N.; Hyman, J.M.; Cushing, J.M. Determining Important Parameters in the Spread of Malaria Through the Sensitivity Analysis of a Mathematical Model. Bull. Math. Biol. 2008, 70, 1272–1296. [Google Scholar] [CrossRef] [Scilit]
- Jaquette, D. A stochastic model for the optimal control of epidemics and pest populations. Math. Biosci. 1970, 8, 343–354. [Google Scholar] [CrossRef] [Scilit]
- Mehdaoui, M.; Alaoui, A.; Tilioua, M. Optimal control for a multi-group reaction–diffusion SIR model with heterogeneous incidence rates. Int. J. Dyn. Control 2023, 11, 1310–1329. [Google Scholar] [CrossRef] [Scilit]
- Leander, R.; Lenhart, S.; Protopopescu, V. Optimal control of continuous systems with impulse controls. Optim. Control Appl. Methods 2015, 36, 535–549. [Google Scholar] [CrossRef] [Scilit]






| Notation | Description |
|---|---|
| Susceptible CD T cells | |
| Latent CD T cells | |
| Infected CD T cells | |
| Susceptible macrophages | |
| Latent macrophages | |
| Infected macrophages | |
| V | Free HIV |
| Generation rate of susceptible CD T cells, | |
| Generation rate of susceptible macrophages, | |
| Incidence rate between HIV and susceptible CD T cells | |
| Incidence rate between HIV and susceptible macrophages | |
| Cell death of susceptible CD T cells | |
| Cell death of susceptible macrophages | |
| Cell death of infected CD T cells | |
| Cell death of infected macrophages | |
| Cell death of latent CD T cells | |
| Cell death of latent macrophages | |
| Viral decay | |
| Transition rate from latent to active HIV-infected CD T cells | |
| Transition rate from latent to active HIV-infected macrophages | |
| Probability that HIV particles infect CD T cells | |
| Probability that HIV particles infect macrophages | |
| Viral production rates |
| Parameter | Value | Source | Parameter | Value | Source |
|---|---|---|---|---|---|
| 10 | [28] | [29] | |||
| 10 | [28] | 6 | Assumed | ||
| [30] | 100 | Assumed | |||
| [30] | Assumed | ||||
| [31] | Assumed | ||||
| [31] | [32] | ||||
| Assumed | [32] | ||||
| Assumed |
| Parameter l | ||||||||
| Parameter l | ||||||||
| 1 |
| State Variable | Constant Drug Efficacy (Figure 5) | Optimal Adaptive Control (Figure 6) |
|---|---|---|
| Susceptible Cells () | Partial recovery only when ; slow stabilization | Rapid and significant recovery; approaches healthy levels quickly |
| Latent Cells () | Persist at reduced levels when | Dramatically reduced and progressively cleared over time |
| Infected Cells () | Maintain substantial populations when | Rapid decline to near-zero levels |
| Free Virus (V) | Persistent viral load unless | Effectively suppressed to near-undetectable levels |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Alalhareth, F.K.; Alghamdi, F.K.; Alharbi, M.H.; El Hajji, M. Global Dynamics and Optimal Control of a Dual-Target HIV Model with Latent Reservoirs. Mathematics 2025, 13, 3868. https://doi.org/10.3390/math13233868
Alalhareth FK, Alghamdi FK, Alharbi MH, El Hajji M. Global Dynamics and Optimal Control of a Dual-Target HIV Model with Latent Reservoirs. Mathematics. 2025; 13(23):3868. https://doi.org/10.3390/math13233868
Chicago/Turabian StyleAlalhareth, Fawaz K., Fahad K. Alghamdi, Mohammed H. Alharbi, and Miled El Hajji. 2025. "Global Dynamics and Optimal Control of a Dual-Target HIV Model with Latent Reservoirs" Mathematics 13, no. 23: 3868. https://doi.org/10.3390/math13233868
APA StyleAlalhareth, F. K., Alghamdi, F. K., Alharbi, M. H., & El Hajji, M. (2025). Global Dynamics and Optimal Control of a Dual-Target HIV Model with Latent Reservoirs. Mathematics, 13(23), 3868. https://doi.org/10.3390/math13233868

