<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AM</journal-id><journal-title-group><journal-title>Applied Mathematics</journal-title></journal-title-group><issn pub-type="epub">2152-7385</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/am.2015.66102</article-id><article-id pub-id-type="publisher-id">AM-57139</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  An Optimal Control Approach to HIV Immunology
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>dilson</surname><given-names>F. Arruda</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Claudia</surname><given-names>M. Dias</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Camila</surname><given-names>V. de Magalh&amp;atilde;es</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Dayse</surname><given-names>H. Pastore</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Roberto</surname><given-names>C. A. Thomé</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Hyun</surname><given-names>Mo Yang</given-names></name><xref ref-type="aff" rid="aff4"><sup>4</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff3"><addr-line>Departamento de Matem&amp;amp;aacute;tica, Centro Federal de Educa&amp;amp;ccedil;&amp;amp;atilde;o Tecnol&amp;amp;oacute;gica Celso Suckow da Fonseca, Rio de Janeiro, Brazil</addr-line></aff><aff id="aff4"><addr-line>Departamento de Matem&amp;amp;aacute;tica Aplicada, Universidade Estadual de Campinas, Campinas, Brazil</addr-line></aff><aff id="aff1"><addr-line>Instituto Alberto Luiz Coimbra de P&amp;amp;oacute;s Gradua&amp;amp;ccedil;&amp;amp;atilde;o e Pesquisa de Engenharia, Universidade Federal do Rio de Janeiro, Rio de Janeiro, Brazil</addr-line></aff><aff id="aff2"><addr-line>Instituto Multidisciplinar, Universidade Federal Rural do Rio de Janeiro, Nova Igua&amp;amp;ccedil;u, Brazil</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>efarruda@po.coppe.ufrj.br(DFA)</email>;<email>mazzaclaudia@gmail.com(CMD)</email>;<email>milamagal@yahoo.com.br(CVDM)</email>;<email>dpastore@cefet-rj.br(DHP)</email>;<email>rthome@cefet-rj.br(RCAT)</email>;<email>hyunyang@ime.unicamp.br(HMY)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>29</day><month>05</month><year>2015</year></pub-date><volume>06</volume><issue>06</issue><fpage>1115</fpage><lpage>1130</lpage><history><date date-type="received"><day>1</day>	<month>May</month>	<year>2015</year></date><date date-type="rev-recd"><day>accepted</day>	<month>12</month>	<year>June</year>	</date><date date-type="accepted"><day>15</day>	<month>June</month>	<year>2015</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  This paper introduces a mathematical model which describes the dynamics of the spread of HIV in the human body. This model is comprised of a system of ordinary differential equations that involve susceptible cells, infected cells, HIV, immune cells and immune active cells. The distinguishing feature in the proposed model with respect to other models in the literature is that it takes into account cells that represent two distinct mechanisms of the immune system in the defense against HIV: the non-HIV-activated cells and the HIV-activated cells. With a view at minimizing the side effects of a treatment that employs a drug combination designed to attack the HIV at various stages of its life cycle, we introduce control variables that represent the infected patient’s medication. The optimal control rule that prescribes the medication for a given time period is obtained by means of Pontryagin’s Maximum Principle.
 
</p></abstract><kwd-group><kwd>HIV</kwd><kwd> Mathematical Modelling</kwd><kwd> Optimal Control</kwd><kwd> Pontryagin’s Maximum Principle</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Belonging to the family of retroviruses, the Human Immunodeficiency Virus (HIV) is responsible for AIDS. HIV infection results in a chronic, progressive disease that can lead to the destruction of the immune system. The disease is characterized by a high rate of viral replication, which results in the emergence of more virulent variants. HIV infection is currently characterized by the count of CD4+ T cells, by the amount of viral particles in the blood (viral load) and also by the clinical symptoms. Not all patients develop every stage of the disease, and the time elapsed between the infection and the manifestation of different clinical symptoms is highly variable, even though the causes of such a variation remain partly unknown.</p><p>To reproduce, HIV joins the membrane of the T4 cell, which is vital to the immune response. The virus releases its RNA and an enzyme, which produces the DNA of the virus. Then, the DNA of the virus enters the nucleus and joins to the DNA of the cell, taking full control. The result of this union is the pro-viral DNA, that produces the messenger RNA, which contains the genetic code of the virus. The messenger RNA then reaches the cytoplasm and produces virions, which leave the host cell as newly formed HIV’s. Thus, when joined to a T4 cell, a single virus produces many potential threats to other cells.</p><p>By making quantification possible and unfolding non-trivial equilibrium points, the analysis of viral load in HIV infection has facilitated the management of the disease. It turns out that an exponential decrease in viral levels in plasma can be attained by the reverse transcriptase inhibitors and protease that are included in Anti- retroviral Therapy (ART) [<xref ref-type="bibr" rid="scirp.57139-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.57139-ref2">2</xref>] .</p><p>When HIV viruses invade the human body, they attack the CD4+ T cells in their way. When attacked, these auxiliary cells signal the presence of an invader to other immune cells (CD8+ T cells). The CD8+ T cells then respond to this signal and become Cytotoxic T Lymphocytes (CTL) by attempting to destroy the infected cells [<xref ref-type="bibr" rid="scirp.57139-ref3">3</xref>] - [<xref ref-type="bibr" rid="scirp.57139-ref6">6</xref>] . This process, which is not exploited in typical HIV models, plays an important role in the proposed approach. Indeed, a novel feature of the present work is the introduction of a variable to represent the CD8+ T cells. Such a variable is extremely important to the model, since it enables the decision maker to evaluate the interaction between the CD8+ T cells, CTL and the other variables in the model, such as the virus load.</p><p>This work proposes a simple mathematical model to describe the dynamics of the HIV taking into account the immune response. The proposed model introduces changes to several existing models in the literature [<xref ref-type="bibr" rid="scirp.57139-ref7">7</xref>] - [<xref ref-type="bibr" rid="scirp.57139-ref10">10</xref>] . As mentioned above, one such change is the introduction of a new variable to provide a more detailed des- cription of the defense of the immune system. This variable represents the number of unactivated CD8+ T defense cells, which can become activated (i.e. HIV-specific, or CTL) after being warned by some CD4+ T cell. In contrast to the formulation proposed by [<xref ref-type="bibr" rid="scirp.57139-ref4">4</xref>] , which accounts for the activated cells but does not model the activation mechanism, the proposed model keeps track of both the unactivated CD8+ T cells and the activated cells, thus taking into account the dynamics of the activation process.</p><p>Even though ART has produced undisputed advances in the treatment of HIV infection, it has been argued that the inhibitors that comprise ART may cause adverse effects; see for example [<xref ref-type="bibr" rid="scirp.57139-ref11">11</xref>] - [<xref ref-type="bibr" rid="scirp.57139-ref13">13</xref>] . Hence, one can argue that a compromise should be reached between the benefits obtained from ART and the adverse effects that it may cause. The ideal treatment should keep the benefits to a maximum degree while also minimizing the adverse effects. It is the development of such a treatment that we address in this paper, making use of the optimal control theory framework. We propose a dynamic model to represent the dynamics of the HIV infection, which takes into account the effects of the ART therapy and introduces control parameters that determine the intensity of the medication. An optimal control problem is then proposed to determine the optimal medication levels in such a way to maximize the benefits of the therapy, while keeping the medication to a minimum efficient level. The side effects assessment is another novelty of the paper, which also strives to provide insights into the effects in the optimal treatment by changing the parameters of the optimal control problem. In order to achieve our goal and minimize the side effects, optimal control theory is applied to the HIV infection model encompassing drug treatments. That, on the other hand, produces a problem whose solution is numerically obtained by standard algorithms, such as the gradient descent method; for more details on these algorithms we refer to [<xref ref-type="bibr" rid="scirp.57139-ref14">14</xref>] . The gradient algorithm makes use of both the solution to the system’s dynamics under a given control sequence, i.e., the medication levels for the complete treatment, and the solution of the co-state equations under the same medication, to generate an improved control sequence, and so on, until convergence is attained. The solutions to both the system’s dynamics and the co-state equations are obtained by means of finite diffe- rence algorithms.</p><p>This work is organized as follows. Section 2 introduces the model, while Section 3 derives the trivial equi- librium point and analyzes the stability of the model. Section 4 introduces the optimal control problem, which derives the optimal medication levels. In Section 5, numerical experiments are proposed to illustrate the proposed approach and shed light into the behavior of the controlled system. Finally, Section 6 concludes the paper.</p></sec><sec id="s2"><title>2. Model Formulation</title><p>Let x represent the susceptible cells, i.e. the cells that can be infected with HIV, and define y as the cells that are already infected. In addition, assume that v represents the free viruses in the body, z denotes the defense cells (CD8+ T and B) and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x5.png" xlink:type="simple"/></inline-formula> corresponds to the activated defense cells, i.e., cytotoxic T cells and plasma (activated CD8+ T and B cells). In the proposed model, the interaction of these variables is represented by the following set of differential equations:</p><disp-formula id="scirp.57139-formula304"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x6.png"  xlink:type="simple"/></disp-formula><p>with initial conditions: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x11.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x10.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x9.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x8.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x7.png" xlink:type="simple"/></inline-formula></p><p>The parameters in the above equations are described in <xref ref-type="table" rid="table3">Table 3</xref>. Note that uninfected cells x are produced at a constant rate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x12.png" xlink:type="simple"/></inline-formula>, and decay at rate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x13.png" xlink:type="simple"/></inline-formula>. In addition, these cells are infected by the free viruses at rate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x14.png" xlink:type="simple"/></inline-formula>. As for the infected cells y, they are produced from the interaction of their uninfected counterparts and the viruses, at rate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x15.png" xlink:type="simple"/></inline-formula>, decay at rate <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x16.png" xlink:type="simple"/></inline-formula> and are eliminated by the activated defense cells at rate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x17.png" xlink:type="simple"/></inline-formula>. Free viruses v are generated from infected cells at rate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x18.png" xlink:type="simple"/></inline-formula>, decay at rate <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x19.png" xlink:type="simple"/></inline-formula> and are eliminated by means of the activated defense cells<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x20.png" xlink:type="simple"/></inline-formula>, at rate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x20.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x21.png" xlink:type="simple"/></inline-formula>. The defense cells, in turn, are generated at a constant rate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x20.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x22.png" xlink:type="simple"/></inline-formula>, and decay at rate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x20.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x23.png" xlink:type="simple"/></inline-formula>. Furthermore, they become activated by the viruses at rate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x20.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x24.png" xlink:type="simple"/></inline-formula>. The activated defense cells are generated from the defense cells in the presence of the virus, at rate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x20.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x25.png" xlink:type="simple"/></inline-formula>, and decay at rate<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x20.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x26.png" xlink:type="simple"/></inline-formula>. It is worth stressing that these cells fight against the infected cells y and the free viruses v, as previously mentioned in the description of the model dynamics.</p><p>The virus replication mechanism is depicted in <xref ref-type="fig" rid="fig1">Figure 1</xref>. Observe that free viruses (v) and uninfected cells (x, CD4+ T) produce infected cells (y) that, in turn, produce new free viruses. <xref ref-type="fig" rid="fig2">Figure 2</xref> illustrates the activation of the defense cells (z, CD8+ T). Note that they are activated in the presence of free viruses.</p><p>In the model, one can notice the introduction of two variables z and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x27.png" xlink:type="simple"/></inline-formula> to represent the defense cells (CD8+ T) and the HIV activated defense cells (CTL), respectively. <xref ref-type="fig" rid="fig3">Figure 3</xref> illustrates the action of the activated defense cells, which eliminate infected cells y and free viruses v.</p><p>It is worth point out that, in the proposed model, the immune CTL cells are activated directly by the free viruses. In contrast, some previous works in the literature assume they are activated by infected cells, healthy cells and also CTL cells [<xref ref-type="bibr" rid="scirp.57139-ref15">15</xref>] . Observe that this is a simplification of the proposed model, which takes advantage of the fact that all elements that act to activate the immune CTL cells are mediated directly or indirectly by the virus. This hypothesis in our model simplifies the complex phenomena of activation and inactivation of the immune system by cytokines and dendritic cells (antigen presenting cells) [<xref ref-type="bibr" rid="scirp.57139-ref15">15</xref>] . Such a simplification is very useful in the optimal control formulation, which results in a larger and more complex set of equations.</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> Virus replication</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/21-7402738x28.png"/></fig><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> CD8+ T response</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/21-7402738x29.png"/></fig><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> CTL response</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/21-7402738x30.png"/></fig></sec><sec id="s3"><title>3. Equilibrium Points and Stability</title><sec id="s3_1"><title>3.1. Trivial Equilibrium Point</title><p>For a non-HIV-infected person, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x31.png" xlink:type="simple"/></inline-formula>(not virus), it is logical to conclude that we have no infected cells <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x32.png" xlink:type="simple"/></inline-formula> and no activated defense cells<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x33.png" xlink:type="simple"/></inline-formula>. Upon fixing these values in (1) and solving for the remaining unknowns, one finds the trivial equilibrium point of the dynamic system in Equation (1), described below:</p><disp-formula id="scirp.57139-formula305"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x34.png"  xlink:type="simple"/></disp-formula></sec><sec id="s3_2"><title>3.2. Stability of Trivial Equilibrium Point</title><p>By Hartman-Grobman’s theorem [<xref ref-type="bibr" rid="scirp.57139-ref16">16</xref>] , one can say that an equilibrium point is stable if the sign of the real part of the eigenvalues of the Jacobian matrix, evaluated at this point, is negative. Making use of this theorem, it is possible to show that if the basic reproduction number of the virus <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x35.png" xlink:type="simple"/></inline-formula> is less than one unit, the trivial equi- librium point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x36.png" xlink:type="simple"/></inline-formula> in (2) is stable. In such a scenario the infection does not propagate in the human body.</p><p>The Jacobian matrix of the system (1), <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x37.png" xlink:type="simple"/></inline-formula>, is given by:</p><disp-formula id="scirp.57139-formula306"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x38.png"  xlink:type="simple"/></disp-formula><p>evaluated at values corresponding to the equilibrium points.</p><p>The Jacobian matrix evaluated at the point of trivial equilibrium (2) is given by:</p><disp-formula id="scirp.57139-formula307"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x39.png"  xlink:type="simple"/></disp-formula><p>The eigenvalues of the matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x40.png" xlink:type="simple"/></inline-formula> are the roots r of the characteristic polynomial <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x41.png" xlink:type="simple"/></inline-formula> given by:</p><disp-formula id="scirp.57139-formula308"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x42.png"  xlink:type="simple"/></disp-formula><p>It can be noted that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x43.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x44.png" xlink:type="simple"/></inline-formula> are negative eigenvalues of the Jacobian matrix<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x45.png" xlink:type="simple"/></inline-formula>. The other eigenvalues are obtained through the solution of the quadratic equation given by:</p><disp-formula id="scirp.57139-formula309"><graphic  xlink:href="http://html.scirp.org/file/21-7402738x46.png"  xlink:type="simple"/></disp-formula><p>i.e.,</p><disp-formula id="scirp.57139-formula310"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x47.png"  xlink:type="simple"/></disp-formula><p>Applying Routh-Hurwitz criterion [<xref ref-type="bibr" rid="scirp.57139-ref17">17</xref>] , one can see that the system is stable if the last term in Equation (6) is positive. Hence, the system is stable if</p><disp-formula id="scirp.57139-formula311"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x48.png"  xlink:type="simple"/></disp-formula><p>Lets assume that one virus infects one person. During its average survival time<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x49.png" xlink:type="simple"/></inline-formula>, the possibility of en-</p><p>countering and infecting one target cell <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x50.png" xlink:type="simple"/></inline-formula> in a completely susceptible population of CD4+ T cells <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x51.png" xlink:type="simple"/></inline-formula> is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x52.png" xlink:type="simple"/></inline-formula>. This infected cell, releases on average <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x52.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x53.png" xlink:type="simple"/></inline-formula> viruses. Hence, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x52.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x54.png" xlink:type="simple"/></inline-formula>is the average number of secondary</p><p>viruses produced by one virus infecting a cell in a completely susceptible population of CD4+ T cells.</p><disp-formula id="scirp.57139-formula312"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x55.png"  xlink:type="simple"/></disp-formula><p>So, if <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x56.png" xlink:type="simple"/></inline-formula> (basic reproduction number of the virus), as it can be seen in (7), the trivial equilibrium point <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x56.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x57.png" xlink:type="simple"/></inline-formula> given in (2) is stable. That is, in this case, the infection does not propagate in the body.</p></sec><sec id="s3_3"><title>3.3. Non-Trivial Equilibrium Points</title><p>Equating to zero all the differential equations given in (1), one comes up to the following general formulation for the equilibrium points of the dynamical system:</p><disp-formula id="scirp.57139-formula313"><label>(9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x58.png"  xlink:type="simple"/></disp-formula><p>where:</p><disp-formula id="scirp.57139-formula314"><label>(10)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x59.png"  xlink:type="simple"/></disp-formula><p>or</p><disp-formula id="scirp.57139-formula315"><label>(11)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x60.png"  xlink:type="simple"/></disp-formula><p>It is possible to observe that when <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x61.png" xlink:type="simple"/></inline-formula> in (9), and (10) or (11), we obtain the trivial equilibrium point given in (2). However, if<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x62.png" xlink:type="simple"/></inline-formula>, i.e, for an HIV infected individual, equaling Equation (10) and (11) it is possible to obtain, after some numerical manipulation, the following polynomial equation of degree 3:</p><disp-formula id="scirp.57139-formula316"><label>(12)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x63.png"  xlink:type="simple"/></disp-formula><p>where the coefficients are:</p><disp-formula id="scirp.57139-formula317"><label>(13)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x64.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.57139-formula318"><label>(14)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x65.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.57139-formula319"><label>(15)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x66.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.57139-formula320"><label>(16)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x67.png"  xlink:type="simple"/></disp-formula><p>The coefficients of Equation (12) are positive when<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x68.png" xlink:type="simple"/></inline-formula>, implying that there is no positive solution; hence <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x69.png" xlink:type="simple"/></inline-formula> is a solution. When<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x70.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x71.png" xlink:type="simple"/></inline-formula>, and as <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x72.png" xlink:type="simple"/></inline-formula> increases, the coefficient <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x73.png" xlink:type="simple"/></inline-formula> becomes negative, followed by<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x74.png" xlink:type="simple"/></inline-formula>. Hence, for<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x68.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x69.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x70.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x71.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x72.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x73.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x74.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x75.png" xlink:type="simple"/></inline-formula>, a unique change of sign occurs between successive coefficients, and according to Descartes rule of signs, there is a unique positive solution.</p></sec></sec><sec id="s4"><title>4. Optimal Control Formulation</title><p>In order to study the effect of treating HIV infection with the use of a cocktail of drugs, we introduce two control variables (<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x76.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x77.png" xlink:type="simple"/></inline-formula>) in the dynamic system described in Equation (1). The control variable <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x78.png" xlink:type="simple"/></inline-formula> represents the effect of inhibitors of reverse transcriptase, integrase and input. These drugs protect the uninfected cells x, preventing their infection, i.e., keeping them from turning into infected cells y. To account for this effect, we introduce in the basic model of Equation (1) a new state variable<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x79.png" xlink:type="simple"/></inline-formula>, which represents the cells that are protected by the action of the inhibitors. The control variable <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x79.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x80.png" xlink:type="simple"/></inline-formula> simulates the effect of the protease inhibitor, which blocks infected cells y, preventing them from releasing new viruses v in the body. To account for this action, we introduce a new variable <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x76.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x77.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x78.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x79.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x80.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x81.png" xlink:type="simple"/></inline-formula> in our model. This variable describes the infected cells that are blocked by the action of the protease inhibitor. With the modifications described above, the studied dynamic system (1) can be reformulated as:</p><disp-formula id="scirp.57139-formula321"><label>(17)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x82.png"  xlink:type="simple"/></disp-formula><p>The initial conditions were obtained by running the uncontrolled model from Equation (1) for a period of 365 days. Note that the second and fourth equations are decoupled.</p><p>We point out that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x83.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x84.png" xlink:type="simple"/></inline-formula> are dynamic variables in continuous time, which prescribe the medication dosages at each time<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x84.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x85.png" xlink:type="simple"/></inline-formula>, where T is the total length of the planned treatment. Thus, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x84.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x86.png" xlink:type="simple"/></inline-formula>represents the dosage of inhibitors of reverse transcriptase, integrase and input at time<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x84.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x87.png" xlink:type="simple"/></inline-formula>; whereas <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x84.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x88.png" xlink:type="simple"/></inline-formula> indi- cates the dosage of the protease inhibitor at time<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x84.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x88.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x89.png" xlink:type="simple"/></inline-formula>. To simplify the treatment, doctors can apply a sub- optimal treatment, with regular dosages of medication corresponding to the combined medication prescribed by continuous variables <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x84.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x88.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x89.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x90.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x84.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x88.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x89.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x90.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x91.png" xlink:type="simple"/></inline-formula> for each regular interval. For example, if the treatment is prescribed daily for a period of 365 days, the sub-optimal treatment would be comprised of a discrete sequence of dosages <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x84.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x88.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x89.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x90.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x91.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x92.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x83.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x84.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x85.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x86.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x87.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x88.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x89.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x90.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x91.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x92.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x93.png" xlink:type="simple"/></inline-formula>, such that</p><disp-formula id="scirp.57139-formula322"><label>(18)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x94.png"  xlink:type="simple"/></disp-formula><p>Alternatively, doctors could prescribe average values of the sequences <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x95.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x95.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x96.png" xlink:type="simple"/></inline-formula> over predetermined inter- vals, such as monthly intervals for example, re-evaluating the treatment between successive intervals.</p><p>Observe that, if the dosages <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x97.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x97.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x98.png" xlink:type="simple"/></inline-formula> were to be kept constant, one could replace <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x97.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x98.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x99.png" xlink:type="simple"/></inline-formula> for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x97.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x98.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x99.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x100.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x97.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x98.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x99.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x100.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x101.png" xlink:type="simple"/></inline-formula> for <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x97.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x98.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x99.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x100.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x101.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x102.png" xlink:type="simple"/></inline-formula> in terms involving <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x97.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x98.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x99.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x100.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x101.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x102.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x103.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x97.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x98.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x99.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x100.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x101.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x102.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x103.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x104.png" xlink:type="simple"/></inline-formula>, and all the results regarding the equilibrium points and their stability obtained in the foregoing section would be retrieved here. In that case, the number of primary virus replication after treatment (control), represented by<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x97.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x98.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x99.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x100.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x101.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x102.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x103.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x104.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x105.png" xlink:type="simple"/></inline-formula>, is given by:</p><disp-formula id="scirp.57139-formula323"><label>(19)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x106.png"  xlink:type="simple"/></disp-formula><p>Note that the terms multiplying <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x107.png" xlink:type="simple"/></inline-formula> in the above equation arise due to the (now constant) control variables<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x107.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x108.png" xlink:type="simple"/></inline-formula>, and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x107.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x108.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x109.png" xlink:type="simple"/></inline-formula>. Note also that, if <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x107.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x108.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x109.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x110.png" xlink:type="simple"/></inline-formula> (no treatment), then<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x107.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x108.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x109.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x110.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x111.png" xlink:type="simple"/></inline-formula>, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x107.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x108.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x109.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x110.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x111.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x112.png" xlink:type="simple"/></inline-formula> was defined in (8).</p><p>In the remainder of this paper, we analyze the system’s dynamics with <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x113.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x113.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x114.png" xlink:type="simple"/></inline-formula> varying over time, and strive to obtain an optimal treatment, prescribing the values of these variables at each time in such a way that an optimal compromise between the efficiency of the treatment and its side effects is obtained.</p><p>It is worth reinforcing that, in relation to typical HIV models that simulate the production rates and infect- ability of the virus, the proposed model includes two new variables in the dynamics: protected uninfected cells <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x115.png" xlink:type="simple"/></inline-formula> and blocked infected cells<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x115.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x116.png" xlink:type="simple"/></inline-formula>, which do not release new viruses. This modeling choices are explained partly by the fact that the antiretroviral treatment stops the cell transcription process. The cell becomes healthy and the virus is destroyed, but that happens only after the contact between the cell and the virus. Bearing that in mind, instead of having the control be set in the infection force by a mass action law, we assume that the cells became resistant to infection (or protected). We also assume that the effect of the protease inhibitor is to prevent the release of viable viruses. Consequently, only infected but untreated cells release viable viruses. Upon being treated, the infected cell becomes blocked and does not release viable viruses thereafter.</p><p>The introduction of the new variables, namely protected uninfected cells <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x117.png" xlink:type="simple"/></inline-formula> and blocked infected cells<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x117.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x118.png" xlink:type="simple"/></inline-formula>, allows a better understanding of the dynamics. Moreover, taking into account the number of such cells is important to assess the effects of the prescribed treatment. Another innovation is the introduction of the control variables, which enables us to model the compromise between medication and side-effects.</p><p>Observing the model we note that the defense cells CD8+ T (z) produce the activated cells CTL<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x119.png" xlink:type="simple"/></inline-formula>, while the latter contribute to the reduction of infected cells (y) and free viruses (v). Moreover, the control variable<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x119.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x120.png" xlink:type="simple"/></inline-formula>, corresponding to the reverse transcriptase inhibitor, protects the cells CD4+ T (x) from being infected, thus producing protected cells<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x119.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x120.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x121.png" xlink:type="simple"/></inline-formula>. In addition, the control variable <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x119.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x120.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x121.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x122.png" xlink:type="simple"/></inline-formula> corresponds to the integrase inhibitor and keeps the infected cells y from producing viruses v. The infected cells under the effect of this inhibitor are called blocked cells, and are denoted by<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x119.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x120.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x121.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x122.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x123.png" xlink:type="simple"/></inline-formula>. <xref ref-type="table" rid="table1">Table 1</xref> provides a description of the variables that were added to the model. <xref ref-type="fig" rid="fig4">Figure 4</xref> illustrates the dynamics of the system described by Equation (17).</p><sec id="s4_1"><title>4.1. Objective Function</title><p>System (17) is now optimized with respect to control parameters <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x124.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x124.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x125.png" xlink:type="simple"/></inline-formula>. For this reason, both are allowed to vary with time. To reach a compromise between medication and side effects, we introduce an optimal control problem aimed at maximizing the number of protected cells while also mitigating the side effects. The optimal control problem is defined as follows:</p><disp-formula id="scirp.57139-formula324"><label>(20)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x126.png"  xlink:type="simple"/></disp-formula><p>In the expression above, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x127.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x127.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x128.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x127.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x128.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x129.png" xlink:type="simple"/></inline-formula> are non-negative scalars. The functional J in equation (20) has the following objective: we maximize the protected cells <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x127.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x128.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x129.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x130.png" xlink:type="simple"/></inline-formula> while also trying to minimize the drug admini- strations (<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x127.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x128.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x129.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x130.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x131.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x127.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x128.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x129.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x130.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x131.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x132.png" xlink:type="simple"/></inline-formula>). We are assuming that the higher <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x127.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x128.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x129.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x130.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x131.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x132.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x133.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x127.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x128.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x129.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x130.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x131.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x132.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x133.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x134.png" xlink:type="simple"/></inline-formula>, the higher the side effects.</p></sec><sec id="s4_2"><title>4.2. The Hamiltonian</title><p>To find the optimal control variables <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x135.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x135.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x136.png" xlink:type="simple"/></inline-formula> that solve Problem (20), we make use of Pontryagin’s maximum</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> New variables after control</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Control variables</th><th align="center" valign="middle" >Label</th></tr></thead><tr><td align="center" valign="middle" >Reverse transcriptase reverse, integrase and entrance inhibitors</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x137.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >Protease inhibitors</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x138.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >New state variables</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >Protected susceptible cells due to treatment with inhibitors <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x139.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x140.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >Infected cells blocked due to treatment with inhibitor <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x141.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x142.png" xlink:type="simple"/></inline-formula></td></tr></tbody></table></table-wrap><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Virus replication with antiretroviral therapies</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/21-7402738x143.png"/></fig><p>principle [<xref ref-type="bibr" rid="scirp.57139-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.57139-ref18">18</xref>] [<xref ref-type="bibr" rid="scirp.57139-ref19">19</xref>] , and derive the Hamiltonian of our optimal control problem, which is given by:</p><disp-formula id="scirp.57139-formula325"><graphic  xlink:href="http://html.scirp.org/file/21-7402738x144.png"  xlink:type="simple"/></disp-formula><p>where<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x145.png" xlink:type="simple"/></inline-formula>, are the co-state variables, that determine the adjoint systems. It is well known that the optimal solution must satisfy both the original and the adjoint system of equations.The variables <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x145.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x146.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x145.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x146.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x147.png" xlink:type="simple"/></inline-formula> are penalty multipliers (slack variables), added to the model to ensure that the constraints <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x145.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x146.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x147.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x148.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x145.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x146.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x147.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x149.png" xlink:type="simple"/></inline-formula> are satisfied. For the optimal controls <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x145.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x146.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x147.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x150.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x145.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x146.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x147.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x150.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x151.png" xlink:type="simple"/></inline-formula>, it holds that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x145.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x146.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x147.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x150.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x151.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x152.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x145.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x146.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x147.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x150.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x151.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x152.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x153.png" xlink:type="simple"/></inline-formula>. In the remainder of this section, we will consider all possible values for the control variables, including the lower limits <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x145.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x146.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x147.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x150.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x151.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x152.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x153.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x154.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x145.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x146.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x147.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x148.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x149.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x150.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x151.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x152.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x153.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x154.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x155.png" xlink:type="simple"/></inline-formula>.</p><p>1) Considering the set: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x156.png" xlink:type="simple"/></inline-formula></p><p>It follows from Pontryagin’s maximum principle that the optimal control variables <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x157.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x157.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x158.png" xlink:type="simple"/></inline-formula> must satisfy:</p><disp-formula id="scirp.57139-formula326"><graphic  xlink:href="http://html.scirp.org/file/21-7402738x159.png"  xlink:type="simple"/></disp-formula><p>Then,</p><disp-formula id="scirp.57139-formula327"><graphic  xlink:href="http://html.scirp.org/file/21-7402738x160.png"  xlink:type="simple"/></disp-formula><p>Thus, isolating <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x161.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x161.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x162.png" xlink:type="simple"/></inline-formula>, we obtain,</p><disp-formula id="scirp.57139-formula328"><label>(21)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x163.png"  xlink:type="simple"/></disp-formula><p>As in this case we necessarily have<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x164.png" xlink:type="simple"/></inline-formula>, since<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x164.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x165.png" xlink:type="simple"/></inline-formula>, the optimal control can be expressed as:</p><disp-formula id="scirp.57139-formula329"><label>(22)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x166.png"  xlink:type="simple"/></disp-formula><p>2) Considering the set: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x167.png" xlink:type="simple"/></inline-formula></p><p>It follows from Equation (21), that</p><disp-formula id="scirp.57139-formula330"><label>(23)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x168.png"  xlink:type="simple"/></disp-formula><p>Since, by definition, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x169.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x169.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x170.png" xlink:type="simple"/></inline-formula>, it follows from Equation (23) that</p><disp-formula id="scirp.57139-formula331"><label>(24)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x171.png"  xlink:type="simple"/></disp-formula><p>Therefore, to ensure that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x172.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x172.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x173.png" xlink:type="simple"/></inline-formula> do not take negative values, we summarize the results obtained in (22) and (24) by:</p><disp-formula id="scirp.57139-formula332"><label>(25)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x174.png"  xlink:type="simple"/></disp-formula><p>Hence, the optimal control for Problem (20) is characterized by (25).</p></sec><sec id="s4_3"><title>4.3. The Co-State Equations</title><p>The necessary conditions of the Pontryagin’s maximum principle [<xref ref-type="bibr" rid="scirp.57139-ref14">14</xref>] also establish that the adjoint variables satisfy:</p><disp-formula id="scirp.57139-formula333"><label>(26)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/21-7402738x175.png"  xlink:type="simple"/></disp-formula><p>Finally, we analyze the conditions of transversality. In our case, there is no terminal value for the state variables. Therefore, the transversal conditions to the adjoint variables are given by</p><disp-formula id="scirp.57139-formula334"><graphic  xlink:href="http://html.scirp.org/file/21-7402738x176.png"  xlink:type="simple"/></disp-formula><p>Observe that the optimal control values in (25) depend directly on the co-state variables and, through these variables, on the dynamics described in (17). Hence, they cannot be analytically determined. Consequently, to solve Problem (20), one searches for optimal control values <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x177.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x177.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x178.png" xlink:type="simple"/></inline-formula> that simultaneously solve the initial value problem in Equation (17) and the final value problem in Equation (26). In this paper, we find the optimal control trajectories iteratively, employing a classical specialized gradient algorithm [<xref ref-type="bibr" rid="scirp.57139-ref14">14</xref>] and solve the diffe- rential equation systems by means of finite difference methods.</p></sec></sec><sec id="s5"><title>5. Numerical Results</title><p>For the numerical simulations we have used the dataset described in <xref ref-type="table" rid="table2">Table 2</xref> and <xref ref-type="table" rid="table3">Table 3</xref>, which was also studied in [<xref ref-type="bibr" rid="scirp.57139-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.57139-ref9">9</xref>] [<xref ref-type="bibr" rid="scirp.57139-ref20">20</xref>] . For this data set, the reproduction number <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x179.png" xlink:type="simple"/></inline-formula> indicates an infection.</p><sec id="s5_1"><title>5.1. The Uncontrolled System</title><p><xref ref-type="fig" rid="fig5">Figure 5</xref> conveys a numerical simulation of the uncontrolled model in Equation (1), solved by means of the Finite Difference Method, for a one year period. Note that the solution represents the typical behavior of the immune system in the presence of HIV [<xref ref-type="bibr" rid="scirp.57139-ref9">9</xref>] [<xref ref-type="bibr" rid="scirp.57139-ref21">21</xref>] - [<xref ref-type="bibr" rid="scirp.57139-ref23">23</xref>] . The system rapidly approaches the non-trivial equilibrium point.</p><p>In <xref ref-type="fig" rid="fig5">Figure 5</xref>, one can see a steep increase in the number of viruses and infected cells in the first month. In contrast, the number of susceptible cells presents a substantial decrease over the same period. In the subsequent</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Initial conditions</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >State variables</th><th align="center" valign="middle" >Label</th><th align="center" valign="middle" >Value</th></tr></thead><tr><td align="center" valign="middle" >CD4+ T cells in body (susceptible)</td><td align="center" valign="middle" >x</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x180.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >CD4+ T cells infected by HIV</td><td align="center" valign="middle" >y</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x181.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >Free HIV in the body</td><td align="center" valign="middle" >v</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x182.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >Defense cells CD8+ T HIV specific</td><td align="center" valign="middle" >z</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x183.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >Activated defense cells</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x184.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x185.png" xlink:type="simple"/></inline-formula></td></tr></tbody></table></table-wrap><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Parameters</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Parameters and constants</th><th align="center" valign="middle" >Variable</th><th align="center" valign="middle" >Value</th></tr></thead><tr><td align="center" valign="middle" >Mortality of susceptible cells</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x186.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x187.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >Mortality of infected cells</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x188.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x189.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >Mortality of the virus</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x190.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x191.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >Mortality of defense cells</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x192.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x193.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >Average number of free virus from infected cells</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x194.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >360</td></tr><tr><td align="center" valign="middle" >Activation of immunologic response rate</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x195.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x196.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >Virus infection rate</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x197.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x198.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >Infected cells destruction rate</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x199.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x200.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >Virus destruction rate</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x201.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x202.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >Susceptible cells supply rate</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x203.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x204.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >Defense cells supply rate</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x205.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x206.png" xlink:type="simple"/></inline-formula></td></tr></tbody></table></table-wrap><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> Numerical experiment without control</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/21-7402738x207.png"/></fig><p>periods, these variables stabilize and gradually approach a non-trivial equilibrium point. As previously men- tioned, the proposed model describes the typical behavior of the immune system in the presence of HIV. The difference is that it also allows a separate analysis of the activated defense cells. In <xref ref-type="fig" rid="fig5">Figure 5</xref>, one can notice a migration of immune cells into the compartment of activated defense cells. We believe that this could lead, over the years, to the saturation of the immune system. Furthermore, the results seem to suggest a trend for a regular non-trivial dynamical system balance.</p></sec><sec id="s5_2"><title>5.2. Adding Medication: The Optimal Control Problem</title><p>The optimal control problem in Equation (20) was solved for a one year treatment period. The initial condition for the state variables was obtained by running the uncontrolled system in Equation (1) for a one year period. The last value of each variable (after 365 days) was taken as the initial value for the same variable in the controlled problem. In this work, we first consider Case 1, with<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x208.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x208.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x209.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x208.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x209.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x210.png" xlink:type="simple"/></inline-formula>, which will be used as our benchmark for model evaluation. Note that, under such parameters, the objective function in (20) evaluates the number of protected cells versus the side effects attained from the medication to be taken to accomplish such a number. The small value of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x208.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x209.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x210.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x211.png" xlink:type="simple"/></inline-formula> is due to the large number of immune cells, which render the first term in Equation (20) quite significant. The optimal trajectories of the system for the selected parameters are depicted in <xref ref-type="fig" rid="fig6">Figure 6</xref>.</p><p>Note in <xref ref-type="fig" rid="fig6">Figure 6</xref> that the first week of treatment causes a substantial decrease in the unprotected (susceptible) CD4+ T cells, with an increase in the number of protected cells. That is because the treatment makes most of these cells become protected cells. Note that, since the medication efficiently fights the infection, the number of HIV-specific CD8+ T cells can be reduced with respect to the uncontrolled dynamics in <xref ref-type="fig" rid="fig5">Figure 5</xref>. That leaves the imune system free to combat other infections. With regards to the infected cells, blocked and unblocked, they rapidly vanish. Note that the unblocked cells vanish more rapidly than their blocked counterparts. Note also that the number of remaining viruses rapidly decays to zero, its trivial equilibrium point. It is also noteworthy that the optimal dosage of the transcriptase inhibitor <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x212.png" xlink:type="simple"/></inline-formula> is significantly higher than that of the integrase inhibitor<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x212.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x213.png" xlink:type="simple"/></inline-formula>. In the next section we verify how the variation in the parameters of the optimal control problem affects the dynamics. It is also noteworthy that the medication levels are much higher in the early treatment period, and are stabilized to lower levels in a very short time span.</p></sec><sec id="s5_3"><title>5.3. Sensitivity Analysis</title><p>In this section we examine the effects of the parameters of the optimal control problem in Equation (20). We vary the parameters <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x214.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x214.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x215.png" xlink:type="simple"/></inline-formula> and verify the effects of the variations in the controlled system dynamics. The</p><fig id="fig6"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> Optimal trajectories for Case 1:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x217.png" xlink:type="simple"/></inline-formula></title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/21-7402738x216.png"/></fig><p>objective is to verify the implications of different compromises between immune response and side effects into the medication levels as time elapses.</p><p>In Case 2, we examine the influence of parameter<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x218.png" xlink:type="simple"/></inline-formula>, making<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x218.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x219.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x218.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x219.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x220.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x218.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x219.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x220.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x221.png" xlink:type="simple"/></inline-formula>. In this case, we assume that the reverse transcriptase inhibitor presents more side effects than the protease inhibitor, thus causing an augmented value of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x218.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x219.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x220.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x221.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x222.png" xlink:type="simple"/></inline-formula> with respect to Case 1. The results are conveyed in <xref ref-type="fig" rid="fig7">Figure 7</xref>. It can be noted that, with the increase of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x218.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x219.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x220.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x221.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x222.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x223.png" xlink:type="simple"/></inline-formula> there is a decrease in both the number of protected cells <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x218.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x219.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x220.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x221.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x222.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x223.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x224.png" xlink:type="simple"/></inline-formula> and unprotected cells (x). The evolution of the virus shows that, in this case, the viruses get extinct more slowly than in Case 1. The same applies to the infected cells y and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x218.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x219.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x220.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x221.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x222.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x223.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x224.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x225.png" xlink:type="simple"/></inline-formula>. Apparently, the changes do not cause significant changes in the values of z and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x218.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x219.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x220.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x221.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x222.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x223.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x224.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x225.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x226.png" xlink:type="simple"/></inline-formula>. With regards to the control variables, i.e. the medication levels, the levels of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x218.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x219.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x220.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x221.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x222.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x223.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x224.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x225.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x226.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x227.png" xlink:type="simple"/></inline-formula> are reduced in this example.</p><p>In Case 3 we make<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x228.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x228.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x229.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x228.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x229.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x230.png" xlink:type="simple"/></inline-formula>, assuming that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x228.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x229.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x230.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x231.png" xlink:type="simple"/></inline-formula> produces more side effects than<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x228.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x229.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x230.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x231.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x232.png" xlink:type="simple"/></inline-formula>. The results are depicted in <xref ref-type="fig" rid="fig8">Figure 8</xref>. One notes that the viruses get extinct slightly slower than in Case 1, with the same applying to infected cells y. Once again, the changes do not cause significant changes in the values of z and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x228.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x229.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x230.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x231.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x232.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x233.png" xlink:type="simple"/></inline-formula>. The medication levels <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x228.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x229.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x230.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x231.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x232.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x233.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x234.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x228.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x229.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x230.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x231.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x232.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x233.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x234.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x235.png" xlink:type="simple"/></inline-formula> are similar to those in Case 1. The increase in <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x228.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x229.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x230.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x231.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x232.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x233.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x234.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x235.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x236.png" xlink:type="simple"/></inline-formula> does not seem to affect the levels of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x228.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x229.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x230.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x231.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x232.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x233.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x234.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x235.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x236.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x237.png" xlink:type="simple"/></inline-formula> significantly, for these levels were already very reduced in Case 1.</p><p>In Case 4 we make <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x238.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x238.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x239.png" xlink:type="simple"/></inline-formula>. In this case, in addition to <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x238.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x239.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x240.png" xlink:type="simple"/></inline-formula> being very harmful, we assume that <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x238.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x239.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x240.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x241.png" xlink:type="simple"/></inline-formula> has reduced side effects. The results are presented in <xref ref-type="fig" rid="fig9">Figure 9</xref>. One notices that the dynamics of the system remains similar to that in the other cases. One difference is that the viruses and the unblocked infected cells y get extinct much faster. Another significant difference is that, in this case, the levels of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x238.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x239.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x240.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x241.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x242.png" xlink:type="simple"/></inline-formula> exceed those of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x238.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x239.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x240.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x241.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x242.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x243.png" xlink:type="simple"/></inline-formula>.</p></sec></sec><sec id="s6"><title>6. Concluding Remarks</title><p>This paper introduces a novel model of HIV dynamics. In contrast to typical HIV dynamics models, the pro- posed model explicitly describes the protected CD4+ T cells and the HIV-specific CD8+ T cells. That allows us to explicitly understand and quantify these effects, thus providing a better understanding of the system’s dynamics.</p><p>The dynamics of the proposed model can be influenced by the use of Anti-retroviral Therapy (ART), which has produced significant advances in the treatment of HIV infection. Such a therapy, however, is associated to side effects, which should be avoided whenever possible. To take account of the side effects and produce a desirable compromise between treatment effectiveness and side effects, we propose an optimal control approach</p><fig id="fig7"  position="float"><label><xref ref-type="fig" rid="fig7">Figure 7</xref></label><caption><title> Optimal trajectories for Case 2:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x245.png" xlink:type="simple"/></inline-formula></title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/21-7402738x244.png"/></fig><fig id="fig8"  position="float"><label><xref ref-type="fig" rid="fig8">Figure 8</xref></label><caption><title> Optimal trajectories for Case 3:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x247.png" xlink:type="simple"/></inline-formula></title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/21-7402738x246.png"/></fig><fig id="fig9"  position="float"><label><xref ref-type="fig" rid="fig9">Figure 9</xref></label><caption><title> Optimal trajectories for Case 4:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x249.png" xlink:type="simple"/></inline-formula></title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/21-7402738x248.png"/></fig><p>which prescribes an optimal treatment aimed at maximizing the benefits of the treatment, while also minimizing the side effects. The optimal control problem is solved by means of Pontryagin’s maximum principle and the optimal medication levels are numerically found by a standard gradient algorithm.</p><p>The proposed optimal control formulation is analyzed in the light of selected numerical examples, which provide insight into the behavior of the system under different compromises between medication effectiveness and side effects. We evaluate the sensitivity of the method with respect to the parameters in the optimal control functional by means of a series of examples, which shed light on the optimal trajectories of the variables with respect to different compromises between efficiency and side-effects. We analyze four different cases with distinct levels of side effect introduced by drugs <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x250.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x250.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/21-7402738x251.png" xlink:type="simple"/></inline-formula>, which give rise to different treatment policies that take into account the prescribed compromises between these side effects, with a view at keeping the drug benefits while keeping the side effects to the minimum.</p></sec><sec id="s7"><title>Acknowledgements</title><p>The authors would like to thank FAPESP (Projeto tem&#225;tico Fapesp, 09/15098-0), and the Carlos Chagas Filho Foundation for Research Support of the State of Rio de Janeiro, FAPERJ, for supporting the research by means of grants APQ1 E-26/111.940/2012, E-26/110.379/2014 and E-26/110.087/2014. This work was partially sup- ported by the Coordination for the Improvement of Higher Education Personnel of Brazil―CAPES, under grant No. BEX2025/14-0, and by the National Council for Scientific and Technological Development―CNPq, under grant No.302716/2011-4.</p></sec></body><back><ref-list><title>References</title><ref id="scirp.57139-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Eisele, E. and Siliciano, R. (2012) Redefining the Viral Reservoirs That Prevent HIV-1 Eradication. Immunity, 37, 377-388. http://dx.doi.org/10.1016/j.immuni.2012.08.010</mixed-citation></ref><ref id="scirp.57139-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Finzi, D., Blankson, J., Siliciano, J., Margolick, J., Chadwick, K., Pierson, T., Smith, K., Lisziewicz, J., Lori, F., Flexner, C., Quinn, T., Chaisson, R., Rosenberg, E., Walker, B., Gange, S., Gallant, J. and Siliciano, R. (1999) Latent Infection of CD4+ T Cells Provides a Mechanism for Lifelong Persistence of HIV-1, Even in Patients on Effective Combination Therapy. Nature Medicine, 5, 512-517. http://dx.doi.org/10.1038/8394</mixed-citation></ref><ref id="scirp.57139-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Balamurali, M., Petravic, J., Loh, L., Alcantara, S., Kent, S.J. and Davenport, M.P. (2010) Does Cytolysis by CD8+ T Cells Drive Immune Escape in HIV Infection? The Journal of Immunology, 185, 5093-5101. 
http://dx.doi.org/10.4049/jimmunol.1002204</mixed-citation></ref><ref id="scirp.57139-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Nowak, M. and Bangham, C. (1996) Population Dynamics of Immune Responses to Persistent Viruses. Science, 272, 74-79. http://dx.doi.org/10.1126/science.272.5258.74</mixed-citation></ref><ref id="scirp.57139-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Perelson, A. (2002) Modelling Viral and Immune System Dynamics. Nature Reviews Immunology, 2, 28-36.  
http://dx.doi.org/10.1038/nri700</mixed-citation></ref><ref id="scirp.57139-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Siewe, B., Wallace, J., Rygielski, S., Stapleton, J.T., Martin, J., Deeks, S.G. and Landay, A. (2014) Regulatory B Cells Inhibit Cytotoxic t Lymphocyte (CTL) Activity and Elimination of Infected CD4 T Cells after in Vitro Reactivation of HIV Latent Reservoirs. PLoS ONE, 9, e92934. http://dx.doi.org/10.1371/journal.pone.0092934</mixed-citation></ref><ref id="scirp.57139-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Grégio, J., Caetano, M. and Yoneyama, T. (2009) State Estimation and Optimal Long Period Clinical Treatment of HIV Seropositive Patients. Anais da Academia Brasileira de Ciências, 81, 3-12.  
http://dx.doi.org/10.1590/S0001-37652009000100002</mixed-citation></ref><ref id="scirp.57139-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Nowak, M. and May, R. (2000) Virus Dynamics: Mathematical Principles of Immunology and Virology. Oxford University Press, Oxford.</mixed-citation></ref><ref id="scirp.57139-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Perelson, A. and Nelson, P. (1999) Mathematical Analysis of HIV-1 Dynamics in Vivo. SIAM Review, 41, 3-44.  
http://dx.doi.org/10.1137/S0036144598335107</mixed-citation></ref><ref id="scirp.57139-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Perelson, A. and Ribeiro, R. (2013) Modeling the Within-Host Dynamics of HIV Infection. BMC Biology, 11, 96. 
http://dx.doi.org/10.1186/1741-7007-11-96</mixed-citation></ref><ref id="scirp.57139-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Daugas, E. and Rougier, J. (2005) HAART-Related Nephropathies in HIV-Infected Patients. Kidney International, 67, 393-403. http://dx.doi.org/10.1111/j.1523-1755.2005.67096.x</mixed-citation></ref><ref id="scirp.57139-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Sreenivasan, S. and Dasegowda, V. (2010) Adverse Effects after HAART Initiation in Resource-Limited Settings: A Prospective Study from Mysore, India. The Journal of Infection in Developing Countries, 4, 750-753. 
http://dx.doi.org/10.3855/jidc.934</mixed-citation></ref><ref id="scirp.57139-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Torres, R. and Lewis, W. (2014) Aging and HIV/AIDS: Pathogenetic Role of Therapeutic Side Effects. Laboratory Investigation, 94, 120-128. http://dx.doi.org/10.1038/labinvest.2013.142</mixed-citation></ref><ref id="scirp.57139-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Kirk, D. (1970) Optimal Control Theory: An Introduction. Prentice-Hall, Englewood Cliff.</mixed-citation></ref><ref id="scirp.57139-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Adkinson Jr., N.F., Bochner, B.S., Busse, W.W., Holgate, S.T., Lemanske, R.F. and Simons, F.E. (2003) Middleton’s Allergy—Principles and Practice. Vol. 1, Mosby, Philadelphia.</mixed-citation></ref><ref id="scirp.57139-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Kreysig, E. (1978) Introductory Functional Analysis with Applications. Wiley, New York.</mixed-citation></ref><ref id="scirp.57139-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Dorf, R.C. and Bishop, R.H. (2001) Modern Control Systems. 9th Edition, Prentice Hall, Upper Saddle River.</mixed-citation></ref><ref id="scirp.57139-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Lewis, F. and Syrmos, V. (1995) Optimal Control. John Wiley and Sons, New York.</mixed-citation></ref><ref id="scirp.57139-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Pontryagin, L., Boltyanskij, V., GamKrelidze, R. and Mishchenko, E. (1961) The Mathematical Theory of Optimal Processes. Interscience Publishers, New York.</mixed-citation></ref><ref id="scirp.57139-ref20"><label>20</label><mixed-citation publication-type="book" xlink:type="simple">Mclean, A. (2013) Infectious Disease Modeling. In: Kanki, P. and Grmes, D.J., Eds., Infectious Diseases, Springer, New York, 99-115. http://dx.doi.org/10.1007/978-1-4614-5719-0_5</mixed-citation></ref><ref id="scirp.57139-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Chun, T., Carruth, L., Finzi, D., Shen, X., Digiuseppe, J., Taylor, H., Hermankova, M., Chadwick, K., Margolick, J., Kuo, Y., Brookmeyer, R., Zeiger, M., Barditch-Crovo, P. and Siliciano, R. (1997) Quantification of Latent Tissue Reservoirs and Total Body Viral Load in HIV-1 Infection. Nature, 387, 183-188. 
http://dx.doi.org/10.1038/387183a0</mixed-citation></ref><ref id="scirp.57139-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Ho, P., Neumann, A., Perelson, A., Chew, W., Leonardo, J. and Markowitz, M. (1995) Rapid Turnover of Plasma Virions and CD4 Lymphocytes in HIV-1 Infection. Nature, 373, 123-126. http://dx.doi.org/10.1038/373123a0</mixed-citation></ref><ref id="scirp.57139-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Lafeuillade, A., Poggi, C., Profizi, N., Tamalet, C. and Costes, O. (1996) Human Immunodeficiency Virus Type 1 in Lymph Nodes Compared with Plasma. Journal of Infectious Diseases, 174, 404-407. 
http://dx.doi.org/10.1093/infdis/174.2.404</mixed-citation></ref></ref-list></back></article>