Abstract

We will investigate the optimal control strategy of an SIR epidemic model with time delay in state and control variables. We use a vaccination program to minimize the number of susceptible and infected individuals and to maximize the number of recovered individuals. Existence for the optimal control is established; Pontryagin’s maximum principle is used to characterize this optimal control, and the optimality system is solved by a discretization method based on the forward and backward difference approximations. The numerical simulation is carried out using data regarding the course of influenza A (H1N1) in Morocco. The obtained results confirm the performance of the optimization strategy.

1. Introduction

For a long time, infectious diseases have caused several epidemics, leaving behind them not only millions of dead and infected individuals but also severe socioeconomic consequences. Nowadays, mathematical modeling of infectious diseases is one of the most important research areas. Indeed, mathematical epidemiology has contributed to a better understanding of the dynamical behavior of infectious diseases, its impacts, and possible future predictions about its spreading. Mathematical models are used in comparing, planning, implementing, evaluating, and optimizing various detection, prevention, therapy, and control programs. Many influential results related to the development and analysis of epidemiological models have been established and can be found in many articles and books (see, e.g., [13]).

Epidemiological models often take the form of a system of nonlinear, ordinary, and differential equations without time delay. However, for various biological reasons, the real dynamic behavior of an epidemic depends not only on its current state but also on its past history. Thus, to reflect the real behavior of some diseases, many researchers have proposed and analyzed more realistic models including delays to model different mechanisms in the dynamics of epidemics like latent period, temporary immunity and length of infection (see, e.g., [48] and the references therein).

To the best of our knowledge, including time delay in both state and control variables in the context of an epidemic controlled model has not been studied. There have been some works (like [9, 10]) which study an optimal control problem with time delay but only in the state variable. In this paper, we will investigate the effect of a vaccination program in the case of an SIR (susceptible-infected-recovered) epidemic model with time delay in the control and the state variables. To do this, we will consider an optimally controlled SIR epidemic model with time delay, where the control means the percentage of susceptible individuals being vaccinated per time unit, and the time delay represents the required time so that a vaccinated susceptible person moves from the susceptibles class to the recovered class. We use optimal control approach to minimize the number of susceptible and infected individuals and to maximize the number of recovered individuals during the course of an epidemic.

This paper is organized as follows. In Section 2, we will present a mathematical model with time delay and a control term. The analysis of optimization problem is presented in Section 3. In Section 4, we will give a numerical appropriate method and the corresponding simulation results. Finally, the conclusions are summarized in Section 5.

2. Mathematical Model

We consider the SIR epidemic model with constant total population size. The population is divided into three disease-state compartments: susceptible individuals (), people who can catch the disease; infectious (infective) individuals (), people who have the disease and can transmit the disease; recovered individuals (), people who have recovered from the disease. We assume that an individual can be infected only through contacts with infectious individuals and that immunity is permanent. The transitions between different states are described by the following parameters:(i) is the recruitment rate of susceptibles; (ii) is the effective contact rate; (iii) is the natural mortality rate; (iv) is the recovery rate; (v) is the disease induced death rate. The population dynamics is given by the following system of ordinary differential equations subject to nonnegative initial conditions: where , , , and is the total population number at time .

The strategy of the control we adopt consists of a vaccination program; our goal is to minimize the level of susceptible and infected individuals and to maximize the recovered individuals. Into the model (1) we include a control that represents the percentage of susceptible individuals being vaccinated per time unit. In order to have a realistic model, we need to take into account that the movement of the vaccinated susceptible individuals from the class of susceptibles into the recovered class is subject to delay. Thus, the time delay is introduced in the system as follows: at time only a percentage of susceptible individuals that have been vaccinated time unit ago, that is, at time , are removed from the susceptible class and added to the recovered class. So the mathematical system with time delay in state and control variables is given by the nonlinear retarded differential equations: In addition, for biological reasons, we assume, for , that , , and are nonnegative continuous functions and . Note that the control is assumed to be integrable in the sense of Lebesgue, bounded with , and is a given constant.

To show the existence of solutions for the control system (2), we first prove that the system (2) is dissipative; that is, all solutions are uniformly bounded in a proper subset .

Let be any solution with nonnegative initial conditions. Adding equations of (2) we get After integration, using the constant variation formula, we have It then follows that Therefore all feasible solutions of the system (2) enter into the region Then we can rewrite (2) in the following form: where

The second term on the right-hand side of (7) satisfies where and are some positive constants, independent of the state variables , , and , and Here Moreover, we get where

Thus, it follows that the function is uniformly Lipschitz continuous. From the definition of the control and the restriction on , , and , we see that a solution of the system (7) exists (see [11]).

3. The Optimal Control Problem

Our goal is to minimize the number of susceptible and infected individuals and to maximize the number of recovered individuals during the course of an epidemic. Mathematically, for a fixed terminal time , the problem is to minimize the objective functional where (for ) denote weights that balance the size of the terms. In other words, we seek the optimal control such that where is the set of admissible controls defined by

3.1. Existence of an Optimal Control

The existence of the optimal control can be obtained using a result by Fleming and Rishel in [12].

Theorem 1. Consider the control problem with system (2). There exists an optimal control such that

Proof. To use an existence result in [12], we must check the following properties. (1)The set of controls and corresponding state variables is nonempty. (2)The control set is convex and closed. (3)The right-hand side of the state system is bounded by a linear function in the state and control variables. (4)The integrand of the objective functional is convex on . (5)There exist constants and such that the integrand of the objective functional satisfies An existence result by Lukes [13] was used to give the existence of solution of system (2) with bounded coefficients, which gives condition 1. The control set is convex and closed by definition. Since the state system is linear in , the right side of (2) satisfies condition 3, using the boundedness of the solution. The integrand in the objective functional (14) is convex on . In addition, we can easily see that there exist a constant and positive numbers and satisfying

3.2. Characterization of the Optimal Control

In order to derive the necessary condition for the optimal control, Pontryagin’s maximum principal with delay given in [14] was used. This principal converts (2), (14), and (15) into a problem of minimizing a Hamiltonian, , defined by where is the right side of the differential equation of the th state variable.

Theorem 2. Given an optimal control and solutions , , and of the corresponding state system (2), there exist adjoint functions , , and satisfying with the transversality conditions Furthermore, the optimal control is given by where for .

Proof. The adjoint equations and transversality conditions can be obtained by using Pontryagin’s maximum principle with delay in the state and control variables [14] such that The optimal control can be solved from the optimality condition: That is, By the bounds in of the control, it is easy to rewrite in the form (23).

4. Numerical Simulation

In this section, we give a numerical method to solve the optimality system which is a two-point boundary value problem, with separated boundary conditions at times and .

Let there exist a step size and with and . For reasons of programming, we consider knots to left of and right of , and we obtain the following partition:

Then, we have . Next, we define the state and adjoint variables , , , , , , and the control in terms of nodal points , , , , , , and . Now using combination of forward and backward difference approximations, we obtain the Algorithm 1.

Step 1: For   do , , ,
End for
For   do , ,
End for
Step 2: For , do
Step 3: For 0,…, n, write
, , ,
End for

The numerical simulations were carried out using data regarding the course of the influenza A (H1N1) in Morocco. The initial conditions and parameters of the system (2) are taken from [15, 16], while the time delay value is taken from [17]: the initial conditions for the ordinary differential system were and the transversality conditions for the ordinary differential system were

Figure 1 indicates that the number of susceptible individuals () decreases more rapidly in the case with control. It reaches at the end of the vaccination period against in case without control, that is, a reduction of .

Figures 2, 3, and 4 represent the number of infected individuals () with control (solid curve) and without control (dashed curve). It shows that in the presence of a control, the number of infected individuals () decreases greatly. The maximum number of infected individuals in the case with control is and is in the case without control; then the efficiency of our strategy in reducing the spread of infection is nearly 99.52%.

Figure 5 shows that the number of people removed begins to grow notably from 24th day instead of 48th day in the absence of control. Moreover the number of recovered individuals at the end of the vaccination period is instead of , which represents an increase of cases.

Figures 6 and 7 represent, respectively, the optimal control and optimal value of the cost. The curves start to increase during the first month because of the high infection level; then they drop off steadily which is because of the constant and steady eradication of the infection.

5. Conclusion

The work in this paper contributes to a growing literature on applying optimal control techniques to epidemiology. We proposed a more realistic controlled model by including time delay which represents the needed time for the migration from the susceptible class to the recovered class after vaccination. The optimal control theory has been applied in the context of an SIR model with time delay in state and control variables, and that includes a control that represents the percentage of susceptible individuals being vaccinated per time unit. By using Pontryagin’s maximum principle, the explicit expression of the optimal controls was obtained. Simulation results indicate that the proposed control strategy is effective in reducing the number of susceptible and infected individuals and maximizing the recovered individuals.

Acknowledgment

The authors would like to thank the anonymous referee for his/her valuable comments on the first version of the paper, which have led to an improvement in this paper. Research reported in this paper was supported by the Moroccan Systems Theory Network.