Optimal control of non-autonomous SEIRS models with vaccination and treatment
Joaquim P. Mateus, Paulo Rebelo, Silv\'erio Rosa, C\'esar M. Silva,, Delfim F. M. Torres

TL;DR
This paper investigates optimal control strategies for a non-autonomous SEIRS epidemic model incorporating vaccination and treatment, providing theoretical existence results and simulation comparisons between autonomous and periodic models.
Contribution
It introduces a novel optimal control framework for non-autonomous SEIRS models with general incidence functions, including existence, uniqueness, and simulation analysis.
Findings
Existence and uniqueness of optimal control solutions established.
Simulation results compare autonomous and periodic models.
Controlled models show improved epidemic outcomes.
Abstract
We study an optimal control problem for a non-autonomous SEIRS model with incidence given by a general function of the infective, the susceptible and the total population, and with vaccination and treatment as control variables. We prove existence and uniqueness results for our problem and, for the case of mass-action incidence, we present some simulation results designed to compare an autonomous and corresponding periodic model, as well as the controlled versus uncontrolled models.
| Name | Description | Value |
|---|---|---|
| Initial susceptible population | 0.98 | |
| Initial exposed population | 0 | |
| Initial infective population | 0.01 | |
| Initial recovered population | 0.01 | |
| natural deaths | 0.05 | |
| infectivity rate | 0.03 | |
| rate of recovery | 0.05 | |
| loss of immunity rate | 0.041 | |
| weight for the number of infected | 1 | |
| weight for treatment | 0.01 | |
| weight for vaccination | 0.01 | |
| maximum rate of treatment | 0.1 | |
| maximum rate of vaccination | 0.4 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Optimal control
of non-autonomous SEIRS models with vaccination and treatment
Abstract.
We study an optimal control problem for a non-autonomous SEIRS model with incidence given by a general function of the infective, the susceptible and the total population, and with vaccination and treatment as control variables. We prove existence and uniqueness results for our problem and, for the case of mass-action incidence, we present some simulation results designed to compare an autonomous and corresponding periodic model, as well as the controlled versus uncontrolled models.
Key words and phrases:
Epidemic model, non-autonomous control system, vaccination and treatment control, optimal control, numerical simulations.
1991 Mathematics Subject Classification:
Primary: 34H05, 92D30; Secondary: 37B55, 49M05.
Mateus was partially supported by FCT through CMA-UBI (project UID/MAT/00212/2013), Rebelo by FCT through CMA-UBI (project UID/MAT/00212/2013), Rosa by FCT through IT (project UID/EEA/50008/2013), Silva by FCT through CMA-UBI (project UID/MAT/00212/2013), and Torres by FCT through CIDMA (project UID/MAT/04106/2013) and TOCCATA (project PTDC/EEI-AUT/2933/2014 funded by FEDER and COMPETE 2020).
∗ Corresponding author: [email protected]
Joaquim P. Mateus
Research Unit for Inland Development (UDI)
Polytechnic Institute of Guarda, 6300-559 Guarda, Portugal
Centro de Matemática e Aplicações da Universidade da Beira Interior (CMA-UBI)
Departamento de Matemática
Universidade da Beira Interior, 6201-001 Covilhã, Portugal
Paulo Rebelo
Centro de Matemática e Aplicações da Universidade da Beira Interior (CMA-UBI)
Departamento de Matemática
Universidade da Beira Interior, 6201-001 Covilhã, Portugal
Silvério Rosa
Departamento de Matemática and Instituto de Telecomunicações (IT)
Universidade da Beira Interior, 6201-001 Covilhã, Portugal
César M. Silva
Centro de Matemática e Aplicações da Universidade da Beira Interior (CMA-UBI)
Departamento de Matemática
Universidade da Beira Interior, 6201-001 Covilhã, Portugal
Delfim F. M. Torres∗
Center for Research and Development in Mathematics and Applications (CIDMA)
Department of Mathematics, University of Aveiro, 3810-193 Aveiro, Portugal
1. Introduction
Frequently, decision makers must balance the effort put in treatment and vaccination in order to give the best response to outbreaks of infectious diseases. Optimal control is an important mathematical tool that can be used to find the best strategies [16, 23, 27]. Real-world problems, under recent investigation with optimal control techniques, include Ebola [2] and Zika [6].
In [10], Gaff and Schaefer studied three distinct autonomous epidemic models, having vaccination and treatment as control variables. They established existence and, in some small interval, uniqueness of solutions for the optimal control problems. In that paper, one of the main questions under study is to know if the underlying epidemic structure has a significant impact on the obtained optimal control strategy. One of the models discussed in [10] was the SEIR, which is one of the most studied models in epidemiology. In the family of SEIRS models, it is assumed that the population is divided in four compartments: additionally to the infected class , the susceptible class and the recovered class , present in SIR models, an exposed class is also considered, in order to divide the infected population in the group of individuals that are infected and can infect others (the infective class) and the individuals that are infected but are not yet able to infect other individuals (the exposed or latent class). Such division of the population is particularity suitable to include several infectious diseases, e.g. measles and, assuming vertical transmission, rubella [17]. When there is no recovery, the model can be also used to describe diseases such as Chagas’ disease [29]. It is also appropriate to model hepatitis B and AIDS [17], and Ebola [23]. Although influenza can be modeled by a SEIRS model [5], due to the short latency period, it is sometimes better to use the simpler SIRS formulation [7].
In [10] the parameters of the considered models are assumed to be independent of time. This is not very realistic in many situations, in particular due to periodic seasonal fluctuations. A classical example of seasonal patterns of incidence, exhibited by some infectious diseases, is given by data on weekly measles notification in England and Wales during the period 1948–1968 [1]. Other examples occur in several childhood diseases such as mumps, chicken-pox, rubella and pertussis [19]. It is also worth to mention that some environmental and demographic effects can be non-periodic. For example, for some diseases like cholera and yellow fever, it is known that the size of the latency period may decrease with global warming [26]. In this work, we consider a controlled SEIRS model with vaccination and treatment as control variables but, unlike [10], we let the parameters of our model to be time dependent. One of our main objectives is to discuss the effect of seasonal behavior on the optimal strategy.
Another important aspect of our work is that we consider a model with a general incidence function given by some function of the susceptible, the infective and the total population. This allows us to prove simultaneously results on existence and uniqueness of optimal solution for models with several different incidence functions that have already been considered in the context of SEIR/SEIRS models. In particular, our setting includes not only Michaelis–Menten incidence functions, considered for instance in [4, 11, 15, 21, 30, 33], but also incidence functions that are not bilinear, which are appropriate to include saturation effects as well as other non-linear behaviors [18, 35]. Additionally, and in contrast with [10], we assume that immunity can be partial and thus a fraction of the recovered individuals return to the susceptible class.
The paper is organized in the following way. In Section 2, we describe our non-autonomous SEIRS model, including treatment and vaccination as control variables, and we formulate the optimal control problem under investigation. Then, in Section 3, we discuss the question of existence of optimal solutions. The optimal controls are characterized in Section 4 with the help of Pontryagin’s minimum principle and, in Section 5, we present a result concerning uniqueness of the optimal control. We end with Section 6 of numerical simulations.
2. The non-autonomous SEIRS model and the optimal control problem
In practice, evolution on the number of susceptible, exposed, infective and recovered, depends on some factors that can be controlled. Two of the main factors are: treatment of infective and vaccination of susceptible. For this reason, we consider a non-autonomous SEIRS model including treatment, denoted by , and vaccination, denoted by , as control variables. Namely, we consider the optimal control problem
[TABLE]
where and are non-negative, the state variables are absolutely continuous functions, i.e., , and the controls are Lebesgue integrable, i.e., . Moreover, the following conditions hold:
- 1)
are -periodic; 2. 2)
; 3. 3)
for all and ; 4. 4)
function defined in by , if , and , is continuous and bounded.
The total population , , is not constant (see Remark 1). It can be also seen, from the equations that define our control system, that we assume treatment to be applied to infective individuals only, moving a fraction of them from the infected to the recovered compartment, and that vaccination is applied to susceptible individuals only, also moving a fraction of them to the recovered class. Moreover, note that in our problem (P), besides general non-autonomous parameters, we consider a general incidence function. As examples of such incidence functions, we mention the ones obtained by , considered for instance in [25, 34], , considered in [12, 14, 18], and , considered in [13, 24]. Naturally, one needs to specify the incidence function, the other parameters and functions of the model, in order to carry out simulations and investigate particular situations. This is done in Section 6, where we compare an autonomous problem with a corresponding periodic model, as well as uncontrolled and corresponding controlled models. Before that, we prove results on existence of optimal solution (Theorem 3.2), necessary optimality conditions (Theorem 4.1), and uniqueness of solution (Theorem 5.1) for (P).
3. Existence of optimal solutions
Problem (P) is an optimal control problem in Lagrange form:
[TABLE]
In the above context, we say that a pair is feasible if it satisfies the Cauchy problem in (1). We denote the set of all feasible pairs by . Next, we recall a theorem about existence of solution for optimal control problems (1), contained in Theorem III.4.1 and Corollary III.4.1 in [9].
Theorem 3.1** (See [9]).**
For problem (1), suppose that and are continuous and there exist positive constants and such that, for , and , we have
- a)
; 2. b)
; 3. c)
* is non-empty;* 4. d)
* is closed;* 5. e)
there is a compact set such that for any state variable ; 6. f)
* is convex, , and is convex on ;* 7. g)
, for some and .
Then, there exist minimizing on .
Before applying Theorem 3.1 to obtain an existence result to our problem (P), we make a useful remark.
Remark 1**.**
Adding the equations in (P), we obtain that , which describes the behavior of the total population . Since , we have
[TABLE]
where . Thus,
[TABLE]
Consider the problem obtained by replacing function in (P) by some bounded and twice continuously differentiable function such that for (and maintaining the initial condition, the cost functional and the set of admissible controls). By (2), this new problem has exactly the same solutions as problem (P).
Theorem 3.2** (Existence of solutions for the optimal control problem (P)).**
There exists an optimal control pair and a corresponding quadruple of the initial value problem in (P) that minimizes the cost functional in (P) over .
Proof.
We show that the problem obtained from (P) by replacing the function by some of the functions in Remark 1 satisfies the conditions in Theorem 3.1. By Remark 1, using conditions C1) and C3), we immediately obtain a) and b). Conditions c) and d) are immediate from the definition of and since . By (2), we conclude that all state variables are in the compact set
[TABLE]
and condition e) follows. Since the state equations are linearly dependent on the controls, we obtain f). Finally, is convex in the controls since it is quadratic. Moreover, and we establish g) with . Thus, taking into account Remark 1, the result follows from Theorem 3.1. ∎
4. Characterization of the optimal controls
Now we address the question of how to identify the solutions predicted by Theorem 3.2. We do this with the help of the celebrated Pontryagin Maximum Principle [22]. This is possible because all control minimizers and of problem (P) are in fact essentially bounded. Indeed, Theorem 3.1 requires to be a closed set, not necessarily bounded, and it may happen, in general, that the optimal controls predicted by Theorem 3.1 are in but not in and do not satisfy the Pontryagin Maximum Principle [28]. However, in our case, is compact and we can conclude that the optimal controls of problem (P), predicted by Theorem 3.2, are in fact in , as required by the necessary optimality conditions [22]. Moreover, our optimal control problem (P) has only given initial conditions, with the state variables being free at the terminal time, that is, , , , are free. This implies that abnormal minimizers [3] are not possible in our context and we can fix the cost multiplier associated with the Lagrangian to be one: for our optimal control problem (P), the Hamiltonian is given by
[TABLE]
In what follows, we use the operator to denote the partial derivative with respect to the th variable.
Theorem 4.1** (Necessary optimality conditions for the optimal control problem (P)).**
If is a minimizer of problem (P), then there exist multipliers such that
[TABLE]
for almost all , with transversality conditions
[TABLE]
Furthermore, the optimal control pair is given by
[TABLE]
and
[TABLE]
Proof.
Direct computations show that equations (3) are a consequence of the adjoint system of the Pontryagin Minimum Principle (PMP) [22]. Similarly, (4) are directly given by the transversality conditions of the PMP. It remains to characterize the controls using the minimality condition of the PMP [22]. The minimality condition on the set is
[TABLE]
and thus, on this set,
[TABLE]
If , then the minimality condition is
[TABLE]
Analogously, if , then the minimality condition is
[TABLE]
If , then the minimality condition is
[TABLE]
Analogously, if , then the minimality condition is
[TABLE]
Therefore, we obtain (5) and (6). ∎
5. Uniqueness of the optimal control
In this section we show that the optimal solution of (P) is unique. The result is new even in the particular case where all the parameters of the model are time-invariant (autonomous case), extending the local uniqueness results in [8, 10], which are valid only in a small time interval, to uniqueness in a global sense, that is, uniqueness of solution of (P) along all the time interval where the optimal control problem is defined. The proof of Theorem 5.1 is nontrivial, lengthy and technical. It can be summarized as follows:
- (1)
By contradiction, we assume that there are two distinct optimal pairs of state and co-state variables and , which correspond to two different optimal controls and , in agreement with (5) and (6). 2. (2)
We show that both minimizing trajectories are in a positively invariant region , which is given by the total population and is independent on the controls. 3. (3)
We make a change of variable and prove that we have a contradiction unless in a small time interval ; from (5)–(6), in . 4. (4)
If contains the time range of the optimal control problem (P), then we are done. Otherwise, taking for initial conditions at time the values of the state trajectories at the right-end of the interval , we obtain uniqueness for the interval , because the estimates that allow us to obtain are only related with the maximum value of the parameters and the bounds for the state and co-state variables on the invariant region of the new control problem, and are therefore the same as the ones already obtained for 5. (5)
Iterating the procedure, we obtain uniqueness throughout the interval after a finite number of steps.
Theorem 5.1** (Uniqueness of solution for the optimal control problem (P)).**
The solution of the optimal control problem (P) is unique.
Proof.
Let us assume that we have two optimal solutions corresponding to state trajectories and adjoint variables and and and . Then, we show that the two are the same, at least in some small interval. To achieve this, we make the change of variables
[TABLE]
and
[TABLE]
Naturally, setting , we have
[TABLE]
By Proposition 1 in [20], we can assume that the trajectories lie in a compact and forward invariant set , which can be chosen independently of the control functions and . Using the differentiability assumption C2), we get
[TABLE]
where, because is compact, we have
[TABLE]
Considering the first equation in (P), we get, a.e. in , that
[TABLE]
and thus, for a.a. ,
[TABLE]
Subtracting from the above equation the corresponding barred equation, we obtain
[TABLE]
Multiplying by , integrating from [math] to , and noting that ,
[TABLE]
and, by (7), we obtain
[TABLE]
where depends on the bounds for and and (recall that is given by (8)). We now use some estimates for and that we prove later. Namely, we have
[TABLE]
where depends on and on the maximum of , and on , and
[TABLE]
where depends on and on the maximum of , and on (see (24) and (25)). Define
[TABLE]
and
[TABLE]
Observe that and for all . By (11), we obtain
[TABLE]
[TABLE]
By similar computations to the ones in (9) and (10), and using the inequality , we get
[TABLE]
where . Recalling that
[TABLE]
where depends on the bounds for and , from the third equation in (P), by similar computations to the ones in (9) and (10), and using (12), we conclude that
[TABLE]
where depends on the maximum of and on and . From the fourth equation in (P), by similar computations to the ones in (9) and (10), and using (11) and (12), we conclude that
[TABLE]
where and depend on the bounds for , , and and . From the first equation of (3), we get that
[TABLE]
for a.a. and thus
[TABLE]
for a.a. . Using C2), we get
[TABLE]
[TABLE]
where, by C1) and since is compact, we have
[TABLE]
Subtracting from equation (17) the corresponding barred equation, we get
[TABLE]
Multiplying by and integrating from [math] to , we obtain
[TABLE]
Multiplying (19) by , we obtain that
[TABLE]
and thus, by (8) and (18), we conclude that
[TABLE]
Finally, we have
[TABLE]
[TABLE]
where and depend on the bounds for , and and
[TABLE]
[TABLE]
On the other hand, from the second equation of (3), one has . Straightforward computations show that
[TABLE]
where
[TABLE]
From the third equation of (3), we conclude that
[TABLE]
and, by similar computations as the ones done for the first equation of (3),
[TABLE]
where and depend on the bounds for , and and
[TABLE]
From the fourth equation of (3),
[TABLE]
and, by similar computations as the ones done for the second equation of (3),
[TABLE]
where
[TABLE]
We now obtain the bounds for and announced in (11) and (12). We have
[TABLE]
and thus
[TABLE]
where
[TABLE]
Analogously, we obtain
[TABLE]
where
[TABLE]
Finally, we have all the bounds needed to prove our result. Adding equations (13), (14), (15), (16), (20), (21), (22) and (23), we obtain, for the sum of the left-hand sides,
[TABLE]
and thus
[TABLE]
which is equivalent to
[TABLE]
We now choose so that and note that . Subsequently, we choose such that
[TABLE]
Then,
[TABLE]
It follows that , so that inequality (26) can hold if and only if we have , , , , , , and for all . This is equivalent to , , , , , , and . With this, the uniqueness of the optimal control is established on the interval . If , then we have uniqueness on the whole interval. Otherwise, we can obtain uniqueness on for the optimal control problem whose initial conditions on time coincide with the values of , , and on the end-time of the interval (note that, by the forward invariance of the set , and since the constants and in (27) depend only on the values of the several state and co-state variables on , we still have the same ). Proceeding in the same way, we conclude, after a finite number of steps, that we have uniqueness on the interval . The proof is complete. ∎
6. Numerical simulations
In what follows, the incidence into the exposed class of susceptible individuals and the birth function are chosen, for illustrative purposes, to be
[TABLE]
and
[TABLE]
with . The remaining parameter functions, , , and , are assumed constant. Their values, as well as several other used in this section, were taken from [31] and [32] and are presented in Table 1.
Note that we are in the autonomous case when and in a periodic situation for .
The solutions to the optimal control problems (P) here considered exist (Theorem 3.2), are unique (Theorem 5.1) and can be found using the optimality conditions given in Theorem 4.1. Precisely, our method to solve the problem consists to use the state equations (the four ordinary differential equations of problem (P)), the initial conditions, the adjoint equations (3) and the transversality conditions (4) with the controls given by (5) and (6), which are substituted into the state and adjoint equations. The state equations are solved with the initial conditions of Table 1, while the adjoint system is solved backward in time, with the change of variable
[TABLE]
Then, the two systems of equations constitute an initial value problem, which is solved numerically with an explicit 4th and 5th order Runge–Kutta method through the ode45 solver of MATLAB. The procedure is briefly described in Algorithm 1.
In each plot of Figures 1 and 2, we present two sets of trajectories (distinguished by using dashed and continuous lines), in order to easily compare the uncontrolled and optimally controlled situations, the former mentioned by the suffix “-u” in the figures’ legend.
The behavior of our SEIRS model with both (autonomous case, Figure 1) and (periodic case, Figure 2), show the effectiveness of optimal control theory. Indeed, in Figures 1 and 2 we observe that, if we apply treatment and vaccination as given by Theorem 4.1 (optimally controlled case), then the number of exposed and infected individuals is significantly lower, as well as the number of susceptible individuals, while the number of recovered is significantly higher. It can be also seen that the susceptible and recovered classes have a very different behavior in the controlled and uncontrolled situations.
In Figures 3 and 4, we have the same trajectories as in Figures 1 and 2. They illustrate the effect of the periodicity of (29) and (28) in the classes , , and of individuals. The effect is perceptible in susceptible and exposed classes, since the periodic functions are present in these classes. From our results, we claim that the periodicity effect is “softened” in the transition between classes.
In Figure 5, we show the optimal controls: treatment of infective individuals (left side) and vaccination of susceptible (right side). According to the minimality conditions (5) and (6), both controls go to zero when . The periodicity effect is perceptible in , consequence of the fact that vaccination takes place in the susceptible class. Treatment occurs in the infective class and, as we have seen, in this class the periodicity is not so perceptible. As a consequence, periodicity is only slightly perceptible in the treatment control variable .
In Figures 6 to 9, we present the behavior of infected individuals , treatment and vaccination optimal controls, when we vary the parameters , , and , respectively, maintaining, in each case, the initial values and the remaining parameters as in Table 1. In all Figures 6–9, we varied the respective parameter (, , and ) from [math] to in steps of length .
Referring to Figure 6, where the variation of is analyzed, we can see that the effect of periodicity is more perceptible in vaccination than in treatment. In the infected class, for low values of (low mortality), we observe that the number of infected increases. This is justified by the difference between birth and death.
Concerning Figure 7, where we vary the rate of recovery , the effect of periodicity is analogous to the previous situation: the bigger the value of , more infected individuals recover and thus the faster the infected class decreases.
In Figure 8, one can see the effect of the variation of the infectivity rate . The effect of periodicity is also in this case analogous to the previous situations. Indeed, when we have a higher value of , we have a faster transition of exposed individuals into the infected class and this is the reason why we observe in Figure 8 that an increase on the value of leads to an increase in the infected class.
Finally, in Figure 9, the variation of the loss of immunity rate is highlighted. We conclude that the periodicity effect is similar to the previous considered scenarios. However, the variation of is the one that less influences the behavior of the three variables , and .
It is worth mentioning that, in the simulations done and in the range of parameters considered, the variation of the periodic parameter has a very small effect on the obtained cost functional . Namely, we saw numerically that
[TABLE]
for .
Acknowledgments
The authors are grateful to an anonymous Referee for valuable comments and suggestions.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] R. M. Anderson and R. M. May, Infectious diseases of humans: dynamics and control , Oxford University Press, 1991.
- 2[2] [10.3934/jimo.2017054] I. Area, F. Ndaïrou, J. J. Nieto, C. J. Silva and D. F. M. Torres, \doititle Ebola model and optimal control with vaccination constraints, J. Ind. Manag. Optim. , 14 (2018), 427–446. \ar Xiv 1703.01368
- 3[3] (MR 0947787) E. R. Avakov, The maximum principle for abnormal optimal control problems, Soviet Math. Dokl., 37 (1988), 231–234.
- 4[4] (MR 2863936) [10.1016/j.nonrwa.2011.02.008] Z. Bai and Y. Zhou, \doititle Global dynamics of an SEIRS epidemic model with periodic vaccination and seasonal contact rate, Nonlinear Anal. Real World Appl. , 13 (2012), 1060–1068.
- 5[5] [10.1016/j.epidem.2012.06.001] A. Cori, A. Valleron, F. Carrat, G. Scalia Tomba, G. Thomas and P. Boëlle, \doititle Estimating influenza latency and infectious period durations using viral excretion data, Epidemics , 4 (2012), 132–138.
- 6[6] [10.1109/Chi CC.2016.7553763] C. Ding, N. Tao and Y. Zhu, \doititle A mathematical model of Zika virus and its optimal control, Proceedings of the 35th Chinese Control Conference, July 27-29, 2016, Chengdu, China. IEEE Xplore , (2016), 2642–2645.
- 7[7] [10.1016/j.epidem.2011.04.002] S. Edlund, J. Kaufman, J. Lessler, J. Douglas, M. Bromberg, Z. Kaufman, R. Bassal, G. Chodick, R. Marom, V. Shalev, Y. Mesika, R. Ram and A. Leventhal, \doititle Comparing three basic models for seasonal influenza, Epidemics , 3 (2011), 135–142.
- 8[8] (MR 1657195) K. R. Fister, S. Lenhart and J. S. Mc Nally, Optimizing chemotherapy in an HIV model, Electron. J. Differential Equations , 1998 (1998), 12 pp.
