key: cord-0993485-u32aaet7 authors: Couras, Juliana; Area, Ivan; Nieto, Juan J.; Silva, Cristiana J.; Torres, Delfim F. M. title: Optimal control of vaccination and plasma transfusion with potential usefulness for COVID-19 date: 2020-10-08 journal: Infosys Science Foundation Series in Mathematical Sciences DOI: 10.1007/978-981-16-2450-6_23 sha: 01093000a04ba9aa3efcc1e81e9ddde017280b8c doc_id: 993485 cord_uid: u32aaet7 The SEIR model is a compartmental model used to simulate the dynamics of an epidemic. In this chapter, we introduce two control functions in the compartmental SEIR model representing vaccination and plasma transfusion. Optimal control problems are proposed to study the effects of these two control measures, on the reduction of infected individuals and increase of recovered ones, with minimal costs. Up to our knowledge, the plasma transfusion treatment has never been considered as a control strategy for epidemics mitigation. The proposed vaccination and treatment strategies may have a real application in the challenging and hard problem of controlling the COVID-19 pandemic. Like many other physical and biological processes, epidemics can be modelled mathematically. Epidemic mathematical modelling is important, not only to understand the disease progression, but also to provide predictions about the epidemics evolution and insights about the dynamics of the transmission rate and the effectiveness of control measures. There are several compartmental models in epidemiology, like the , , and the model, see, e.g., [3, 14, 28] and references cited therein. In this chapter, we consider the SEIR model, where the human population is divided into four mutually exclusive compartments: susceptible , latent , infected , and a recovered or removed (dead) . We assume that the population is homogeneous and the various classes are uniformly mixed. We consider the case of constant total population , that is, ( ) + ( ) + ( ) + ( ) = for every time in the time window ∈ [0, ] under study. In this case, the fraction of individuals in each compartment is defined as = / , = / , = / and = / . The balance condition becomes + + + = 1. The assumptions made about the transmission of the infection and incubation period are reflected in the equations and parameters [14] and are explained below. We consider the following parameters: • transmission coefficient -; • infectious rate -; • recovery rate -. Then the model is given by the following system of ordinary differential equations: in the exposed class, which is proportional to the fraction of infective (and infectious) and susceptible individuals, where the transmission coefficient > 0 is a constant parameter. Individuals are transferred from the susceptible class to the exposed at this rate . The incubation period is of 1/ days, with > 0, and after that time exposed individuals become infectious. The rate of removal of infective to the removed class is proportional to the number of infective, , with > 0, where 1/ is a measure of the time spent in the infectious state [14] . [10, 11] , where the class of exposed (latent) individuals is considered. SEIR type compartmental models have been extensively used to model the COVID-19 pandemic, see, e.g., [7, 22] , and researchers have shown that it can describe the spread of COVID-19 in different countries: see [5] for a simulation of the COVID-19 spread in Lombardy (Italy) and also modifications of the SEIR model in [13, 17, 19] . Namely, in [13] three classes are added for confined, under quarantine and COVID-19 induced deaths. The model in [17] considers the age of the population, time delay on the development of the pandemic, and resusceptibility to COVID-19 with temporal immune response. An age-structured SEIR model is proposed in [19] considering 5-year bands until the age of 70 years and a single category aged 75 and older (resulting in 16 age categories for each class of individuals). Optimal control theory is a branch of mathematics that involves finding optimal ways of controlling a dynamic system [6, 18] . Optimal control has been applied to epidemiological models for many different infectious diseases, such as HIV/AIDS, malaria, Ebola, tuberculosis and cholera [2, 12, 24, 27] , and also non communicable diseases like cancer: see [21] and references cited therein. Optimal control theory allows the study of the most cost-effective intervention strategy that changes the dynamics of a controlled system while minimizing a socalled objective function. In this chapter, we introduce two control functions in the model (1) that represent vaccination and plasma transfusion. Although vaccination has been widely studied from an optimal control point of view applied to epidemiological models, up to our knowledge, the plasma transfusion treatment has never been considered before. Plasma transfusion has been considered as a possible treatment for COVID-19, although it is still under study [1] . We propose five objective cost functionals and five corresponding optimal control problems for the three control systems that correspond to vaccination only, plasma transfusion treatment only, and combination of vaccination and plasma transfusion. This chapter is organized as follows. In Section 2, the vaccination and plasma transfusion are introduced in the model, isolated and in combination, giving rise to three control systems that will be part of the optimal control problems proposed in Section 3. In Section 4, the solutions of the optimal control problems are compared numerically. We end with Section 5 of discussion and conclusions. In this section, in order to control the spread of the infection, two types of interventions are introduced into the model (1): vaccination and plasma transfusion . Instead of representing the vaccination and plasma transfusion by constant positive parameters, we assume that vaccination and plasma transfusion are given by two functions (·) and (·), respectively, that change in time and that modify the dynamical behavior of model (1) . In optimal control theory, functions (·) and (·) are usually called controls. Starting by the vaccine, we introduce a control (·) that represents the vaccination rate. By definition, it only makes sense to vaccinate people if they are susceptible to the disease. After being vaccinated, these people would become immune to the disease. In terms of the model states, this means that an individual in the state would jump to the state after being vaccinated. Thus, the model must be rewritten in the following way: where the control function (·) is bounded between 0 and max ≤ 1. Regarding treatment, the aim is to emulate a serological treatment, that is, a plasma transfusion. A plasma transfusion consists on infusing sick individuals with the blood plasma harvested from the immune individuals. Thus, in terms of the model, it requires that a recovered individual donates plasma to an infectious individual . The control is the rate at which this transfusion happens. Let the control be (·). Then, the model (1) is rewritten in the following way: where the control (·) satisfies the control constraint 0 ≤ (·) ≤ max ≤ 1. Finally, the two previous controls are considered simultaneously, being the resulting model the following: The set of admissible controls functions is given by Consider non-negative initial conditions for the state variables ( , , , ) ∈ + 0 4 : where the state variables satisfy ( )+ ( )+ ( )+ ( ) = 1, for all ∈ [0, ]. In order to formulate an optimal control problem, a cost functional needs to be proposed, which in our case we intend to maximize. We propose an optimal control problem for the control systems given by (2), (3) or (4), with five different 2 objective functionals, denoted for simplicity by , = 1, . . . , 5. All of them are obtained from as follows: 1 = J (0,1,1,0) , 2 = J (1,1,1,0) , 3 = J (0,1,0,1) , 4 = J (1,1,0,1) , and 5 = J (0,1,1,1) . Other cases of cost functionals are obviously possible, but we found these five to be the most interesting. We also do not consider all possible combinations between the three control systems and the five costs to be maximized, restricting ourselves to five optimal control problems. Regarding the vaccination based control (2), we consider the two objective functionals and When the cost functional is considered to be 1 , the main goal of maximizing the functional is to minimize the fraction of infected individuals and, at the same time, the vaccination costs. We compare the solution to this optimal control problem with the one that maximizes 2 , that is, the one that maximize the fraction of recovered (immune) individuals and, simultaneously, minimizes the fraction of infected individuals and the vaccination costs. The numerical solutions are compared in Section 4. When only the treatment by plasma transfusion is considered, that is, when we focus ourselves on the control system (3), we use the objective functionals 3 and 4 : where maximizing 3 corresponds to minimizing the fraction of infected individuals and the costs associated with plasma transfusion treatment, and for maximizing 4 the main goal is to maximize the fraction of recovered individuals, by treatment, and, at the same time, minimize the fraction of infected individuals with less treatment cost as possible. Finally, when both controls are considered simultaneously, modelled by the vaccination and plasma transfusion based control system (4), the objective functional considered to be maximized was 5 : with the main goal to minimize the fraction of infected individuals and the costs associated with vaccination and plasma transfusion treatment. Associated to each of the cost functionals , = 1, . . . , 5, we propose an optimal control problem of determining the state trajectories ( * (·), * (·), * (·), * (·)), associated to an admissible control * (·) ∈ Ω and/or * (·) ∈ Ω on the time interval [0, ], satisfying one of the control systems (2)-(4), as explained, the initial conditions (6) , and maximizing the corresponding functional. The five optimal control problems are denoted by ( ), = 1, . . . 5, and are now summarized. Vaccination based control system (2) and maximizing the cost functional 1 : Vaccination based control system (2) and maximizing the cost functional 2 : Plasma transfusion based control system (3) and maximizing the cost functional 3 : Plasma transfusion based control system (3) and maximizing the cost functional 4 : Vaccination and plasma transfusion control system (4) and maximizing the cost functional 5 : Note that all optimal control problems have a 2 -cost functional, in other words, the integrand of the cost , = 1, . . . , 5, is always convex with respect to the controls and . Moreover, the control systems (2)-(4) are Lipschitz with respect to the state variables ( , , , ). These properties ensure the existence of an optimal control ( * (·), * (·)) for the optimal control problems ( 1 )-( 5 ). Moreover, we apply the Pontryagin Maximum Principle (see, e.g., [18] ), which is a first order necessary optimality condition. The obtained result, here formulated and proved for the optimal control problem ( 1 ), can be trivially extended to the other optimal control problems ( ), = 2, . . . , 5. The optimal control problem ( 1 ) with fixed final time admits a unique optimal solution ( * (·), * (·), * (·), * (·)) associated to the optimal control * (·) given by * ( ) = min max 0, on [0, ], where the adjoint functions satisfy with the transversality conditions ( ) = 0, = 1, . . . , 4. Proof The existence of an optimal control * (·) of the optimal control problem ( 1 ) is due to the convexity of the 2 -cost functional 1 and to the fact that the vaccinated based control system (2) is Lipschitz with respect to the state variables ( , , , ): see, e.g., [6] . The uniqueness of the optimal control * comes from the boundedness of the state and adjoint functions and the Lipschitz property of system (2) (see [9, 26] and references cited therein). According to the Pontryagin Maximum Principle, if * (·) is optimal for the problem ( hold. Furthermore, from the maximality condition, we have * ( ) = min max 0, The proof is concluded. To solve optimal control problems numerically, two approaches are possible: direct and indirect. Indirect methods are based on Pontryagin's Maximum Principle but not very much widespread since they are not immediately available by software packages. We refer the reader to [4] for the implementation of Pontryagin's Maximum Principle using Octave/MATLAB. Direct methods consist in the discretization of the optimal control problem, reducing it to a nonlinear programming problem [15, 20] . In the next section, we use the Applied Modeling Programming Language AMPL [8] to discretize the optimal control problems ( ), = 1, . . . , 5. Then, the resulting nonlinear programming problems are solved using the Interior-Point optimization solver developed by Wächter and Biegler [29] , through the NEOS Server [16] . For more details on the numerical aspects see [25] . In this section, we provide numerical simulations for the solutions of the optimal control problems ( ), = 1, . . . , 5, proposed in Section 3. The following values for the initial conditions are considered: and the parameter values The initial conditions (14) were chosen arbitrarily, considering an hypothetical situation where 88% of the total population is susceptible to the disease and there is a relatively small percentage of infected population and no recovered individuals. The parameter values are chosen in such a way that model (1) simulates an epidemic outbreak, caused by a communicable disease. Moreover, we consider the control constraints with max = 0.5 and max = 0.3, that is, the admissible controls ( , ) ∈ Ω must satisfy 0 ≤ ( ) ≤ 0. The model differential equations were integrated using the ode45 MATLAB routine, which is based on an explicit Runge-Kutta method [23] . For the parameter values (15) , the dynamic evolution of the uncontrolled system (1) is described in Figures 2-3 . We observe that although the fraction of infected and exposed individuals tends to 0, after 100 units of time, more than 40 per cent of the population recovered or was removed (possible died from the disease). It is desirable to minimize the fraction of infected individuals that get infected by the disease with minimal costs. Firstly, we consider the effect of vaccinating the population at the first 20 time units, aiming at maximizing 1 subject to the vaccination based control system (2), the initial conditions (14) , and the control constraint 0 ≤ ( ) ≤ 0.5. The results obtained are given in Figures 4 and 5 . We see that in both evolutions, the susceptible and recovered states seem to interchange, as expected by the vaccination based control system (2) . Further, looking at the vaccination control (·) evolution, it is possible to see that in both Figures 4 and 5 its value starts at a maximum and then decays as time passes. This makes sense, since at the beginning of the epidemic there are more susceptible individuals . Thus, it is expected that the rate of vaccination is larger at this time in order to try to vaccinate the most susceptible individuals as possible before they start getting infected. Further, comparing the vaccination control of Figure 4 and Figure 5 , one can see that applying the condition of maximizing the fraction of recovered individuals with the cost functional 2 translates into keeping the rate of vaccination at its maximum for 3 units of time before starting to decay with a less steeper slope than its analogue in 1 . Regarding the plasma transfusion treatment, one can see that, in contrast to the vaccine control, here the control (·) peaks later in time (see Figures 6 and 7) . Again, this is something that makes sense since, in order for the treatment to be applied, there must be not only individuals in the infected state, that are able to received the plasma, but also individuals in the recovered state, that are able to donate the plasma. Evidently, these recovered individuals must have been in the infected state before. Because this is an intervention that presupposes that the disease has evolved for some time, then a larger time window could allow one to visualize a stronger impact in the fractions of the and states. That said, a simulation for optimal control problems ( 3 ) and ( 4 ) is performed using = 100. The simulation that made the control increase the most with the time change was the one for the optimal control problem ( 3 ) (Figure 8 ). Further, the control peak at Figure 8 also occurs before the control peak at Figure 9 . This is expected since ( 4 ) requires maximizing the state, which implies again that more individuals must get into the state so that they can get into the state after recovering. It is also interesting to note that, according to the ( 4 ) optimal control problem, one should not proceed with plasma transfusion to any infected individual during the beginning of the epidemic, in order to obtain the optimal control. Finally, the combined effect of the two controls for the optimal control problem ( 5 ) is presented in Figure 10 . As expected, the peak of the vaccination rate occurs before the peak of the plasma transfusion rate. Apparently, the results in minimizing the fraction of individuals in the infected state are better, when comparing Figure 10a with Figures 4a and 6a, but Figure 11 gives us a better understanding of the controls effects in the dynamics. Figure 11 shows the effect of the controls in the individual , , , states. Since the main objective of the control functionals is to minimize the number of individuals in the infected state , then, by looking at Figure 11c , one can see that the control that minimizes the fraction the most is the conjugation of both vaccination and plasma transfusion. This is also an intuitive result, since the vaccination makes more people jumping into the state, which is the pool of individuals from where the plasma comes. On the other hand, the plasma transfusion by itself seems to be the less effective control in minimizing the infected fraction (Figure 11c ). This is expected since, as explained above, the plasma transfusion control needs more time to kick in the absence of a larger pool of recovered individuals . Furthermore, if the aim is to maximize the recovered state or to minimize the susceptible and exposed states, then the vaccination is the best control (Figure 11d) , a result also predicted by system (2) . By analysing the control comparison at Figure 12 , one can see that the control that benefits the most with the combined approach of both vaccination and plasma transfusion is the plasma control. This can be explained since one can think that if we apply vaccination in the beginning of the epidemics, then the fraction of recovered individuals increases faster, providing a bigger substract to do plasma transfusion sooner and at a higher rate. All the optimal control simulations were carried out using NEOS Server 6.0, their duration varying between 0.508 and 1.149 seconds, for 20 units of time, and between 24.431 and 30.702 seconds, for 100 units of time. The model (1) was solved numerically in both uncontrolled and controlled conditions. Of the controls employed, the combined action of vaccination and plasma transfusion seems to have the higher impact in reducing the fraction of infectious individuals. Moreover, the plasma transfusion acquires a more important role as the fraction of individuals in the recovered state increases, which explains why whether joining the vaccination or increasing the duration of the simulations leads to an higher peak of the plasma transfusion rate. In fact, by joining the vaccination, one can not only increase the plasma transfusion rate peak but also anticipate it. To sum up, controls can act at different timings of the epidemics dynamics and one control can be more adequate in the beginning of the epidemic whilst other might be more appropriated in a later state. The code is available from the authors on request. Silva is also supported by national funds (OE), through FCT, I.P., in the scope of the framework contract foreseen in the numbers 4, 5 and 6 of the article 23, of the Decree-Law 57/2016, of August 29, changed by Law 57/2017, of July 19. The authors are grateful to two anonymous reviewers for helpful comments and suggestions. COVID-19 and Convalescent Plasma: Frequently Asked Questions Ebola Model and Optimal Control with Vaccination Constraints Mathematical Models in Population Biology and Epidemiology Numerical Optimal Control of HIV Transmission in Octave/MATLAB A Simulation of a COVID-19 Epidemic Based on a Deterministic SEIR Model Optimization -Theory and Applications COVID-19 Projections Using Machine Learning AMPL: A Modeling Language for Mathematical Programming Optimal control of treatments in a two-strain tuberculosis model A Contribution to the Mathematical Theory of Epidemics Contributions to the mathematical theory of epidemics I Optimal Control of Aquatic Diseases: A Case Study of Yemen's Cholera Outbreak A Modified SEIR Model to Predict the COVID-19 Outbreak in Spain and Italy: Simulating Control Scenarios and Multi-Scale Epidemics Mathematical Biology A numerical approach for solving fractional optimal control problems using modified hat functions COVID-19: Development of a robust mathematical model and simulation package with consideration for ageing population and time delay for control action and resusceptibility The Mathematical Theory of Optimal Processes The effect of control strategies to reduce social mixing on outcomes of the COVID-19 epidemic in Wuhan, China: a modelling study Direct transcription methods based on fractional integral approximation formulas for solving nonlinear fractional optimal control problems Optimal Control for Mathematical Models of Cancer Therapies, An Application of Geometric Methods SEIR Model for the COVID-19 Epidemic The MATLAB ODE Suite Optimal control of HIV treatment and immunotherapy combination with state and control delays Optimal control of a tuberculosis model with state and control delays Optimal control for a tuberculosis model with reinfection and post-exposure interventions A TB-HIV/AIDS coinfection model and optimal control treatment On SICA models for HIV transmission On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming Acknowledgements This research was partially supported by the Portuguese Foundation for Science and Technology (FCT) within "Project n. 147 -Controlo Ótimo e Modelação Matemática da Pandemia COVID-19: contributos para uma estratégia sistémica de intervenção em saúde na comunidade", in the scope of the "RESEARCH 4 COVID-19" call financed by FCT. The work of Silva and Torres was also partially supported within project UIDB/04106/2020 (CIDMA). Moreover,