Skip to main content
PLOS ONE logoLink to PLOS ONE
. 2021 Mar 5;16(3):e0247660. doi: 10.1371/journal.pone.0247660

Control strategies for COVID-19 epidemic with vaccination, shield immunity and quarantine: A metric temporal logic approach

Zhe Xu 1,*, Bo Wu 2, Ufuk Topcu 2,3
Editor: Alessandro Borri4
PMCID: PMC7935317  PMID: 33667241

Abstract

Ever since the outbreak of the COVID-19 epidemic, various public health control strategies have been proposed and tested against the coronavirus SARS-CoV-2. We study three specific COVID-19 epidemic control models: the susceptible, exposed, infectious, recovered (SEIR) model with vaccination control; the SEIR model with shield immunity control; and the susceptible, un-quarantined infected, quarantined infected, confirmed infected (SUQC) model with quarantine control. We express the control requirement in metric temporal logic (MTL) formulas (a type of formal specification languages) which can specify the expected control outcomes such as “the deaths from the infection should never exceed one thousand per day within the next three months” or “the population immune from the disease should eventually exceed 200 thousand within the next 100 to 120 days”. We then develop methods for synthesizing control strategies with MTL specifications. To the best of our knowledge, this is the first paper to systematically synthesize control strategies based on the COVID-19 epidemic models with formal specifications. We provide simulation results in three different case studies: vaccination control for the COVID-19 epidemic with model parameters estimated from data in Lombardy, Italy; shield immunity control for the COVID-19 epidemic with model parameters estimated from data in Lombardy, Italy; and quarantine control for the COVID-19 epidemic with model parameters estimated from data in Wuhan, China. The results show that the proposed synthesis approach can generate control inputs such that the time-varying numbers of individuals in each category (e.g., infectious, immune) satisfy the MTL specifications. The results also show that early intervention is essential in mitigating the spread of COVID-19, and more control effort is needed for more stringent MTL specifications. For example, based on the model in Lombardy, Italy, achieving less than 100 deaths per day and 10000 total deaths within 100 days requires 441.7% more vaccination control effort than achieving less than 1000 deaths per day and 50000 total deaths within 100 days.

1 Introduction

The COVID-19 pandemic [1] has caused over 28 million confirmed cases and over 0.91 million deaths globally as of September 12, 2020. Ever since the outbreak of COVID-19, various public health control strategies have been proposed and tested against the coronavirus SARS-CoV-2 [24].

Currently, over 90 vaccines are being developed against SARS-CoV-2 by research teams across the world [5]. Besides vaccination, other strategies have also been proposed to control the spread of SARS-CoV-2. In [6], the authors proposed shield immunity to protect the susceptible people from getting infected with SARS-CoV-2. Specifically, shield immunity works by first identifying and deploying recovered individuals who have protective antibodies to SARS-CoV-2, and then increasing the proportion of interactions with recovered individuals as opposed to other individuals. In [7], the authors analyzed how quarantine has mitigated the spread of SARS-CoV-2 based on a model that differentiates quarantined infected individuals and un-quarantined infected individuals.

Despite the fact that various promising control strategies have been proposed against SARS-CoV-2, such control strategies still suffer from several limitations. (a) The control strategies against SARS-CoV-2 often treat the control inputs (e.g., the shield strength in shield immunity and the quarantine rate in quarantine control) as parameters that stay constant during one stage of time, while in reality such parameters may change on a daily basis with more fine-tuned control. (b) The control inputs in the literature are often tuned manually through trial-and-error instead of being synthesized systematically. (c) There is a lack of specific and formal specifications for the expected effects and outcomes of the control strategies.

To address these limitations, we propose a systematic control synthesis approach for three control strategies against SARS-CoV-2. We use metric temporal logic (MTL) formulas to specify the expected control outcomes such as “the deaths from the infection should never exceed one thousand per day within the next three months” or “the population immune from the disease should eventually exceed 200 thousand within the next 100 to 120 days”. Such temporal logic formulas have been used as high-level knowledge or specifications in many applications in artificial intelligence [8], robotic control [9], power systems [10], etc.

The proposed control synthesis approach is based on three specific COVID-19 epidemic mitigation models: the susceptible, exposed, infectious, recovered (SEIR) model with vaccination control; the SEIR model with shield immunity control; and the susceptible, un-quarantined infected, quarantined infected, confirmed infected (SUQC) model with quarantine control. We develop methods for synthesizing control strategies based on the three specific COVID-19 epidemic models with MTL specifications. Specifically, we convert the synthesis problem into mixed-integer bi-linear programming or mixed-integer fractional constrained programming problems, and solve the optimization problems using highly efficient solvers [11].

We provide simulation results in three different case studies: vaccination control for COVID-19 epidemic with model parameters estimated from data in Lombardy, Italy; shield immunity control for COVID-19 epidemic with model parameters estimated from data in Lombardy, Italy; and quarantine control for COVID-19 epidemic with model parameters estimated from data in Wuhan, China. The proposed synthesis approach can generate control inputs such that the time-varying numbers of individuals in each category (e.g., infectious, immune) satisfy the MTL specifications.

Based on the simulation results, we observe that early control is essential in mitigating the spread of COVID-19, and more control effort is needed for more stringent MTL specifications. For example, based on the model in Lombardy, Italy, achieving less than 100 deaths per day and 10000 total deaths within 100 days requires 441.7% more vaccination control effort than achieving less than 1000 deaths per day and 50000 total deaths within 100 days. As the control inputs are generated on a daily basis, the proposed approach can be used to assist and provide quantitative guidelines in public health control strategies to achieve specific specifications for mitigating the spread of COVID-19.

2 Related work

COVID-19 epidemic modeling and control strategies. Ever since the outbreak of COVID-19, there has been numerous research focusing on the modeling of COVID-19 epidemic based on data collected from both the epicenters and other places [1217]. Among the various models, compartmental models such as SEIR and SUQC models have been used frequently for the analysis of COVID-19. There has also been work in analyzing or predicting the spread of COVID-19 using artificial intelligence models [17, 18], stochastic intensity models [13], etc. The models we use in this paper are based on the SEIR (both the standard and with shield immunity) and SUQC models, but we have replaced some essential parameters (e.g., the shield strength in shield immunity, the quarantine rate in quarantine control) with control inputs which can be synthesized to vary on a daily basis.

Optimal control of epidemic models. There exist works in designing vaccination control for the SEIR or SIR models of epidemics [19, 20]. However, such methods have not been applied in the setting of COVID-19. Besides, there has been no work in optimal control of epidemic models with formal specifications (e.g., expressed in temporal logic formulas).

Control synthesis with temporal logic specifications. There are three main categories of approaches to designing controllers that meet temporal logic specifications [2131]. The first category of approaches abstract the system as a transition system and transform the control syntheses problem into a series of constrained reachability problems [3234]. The second category of approaches mainly focus on linear dynamical systems and they convert the control synthesis problem into a mixed-integer linear programming (MILP) problem [3540] which can be solved efficiently by MILP solvers. The third category of approaches substitute the temporal logic constraint into the objective function of the optimization problem and apply a functional gradient descent algorithm on the resulting unconstrained problem [10, 4143]. The control synthesis approach in this paper is based on the second category of approaches, but we have extended the method to non-linear dynamical systems to fit the epidemic models for COVID-19.

3 Methodology

In this section, we provide the descriptions of methodology for synthesizing control strategies based on the three specific COVID-19 epidemic models with metric temporal logic (MTL) specifications. We first review MTL in Section 3.1, then introduce three control models for COVID-19 epidemic (vaccination control, shield immunity control and quarantine control) in Section 3.2, and finally present the control synthesis methods for the three COVID-19 control models in Section 3.3.

3.1 Metric Temporal Logic (MTL)

In this subsection, we briefly review metric temporal logic (MTL) [44] interpreted over discrete-time trajectories. The state x belongs to the domain XRn. The time set is T=R0. The domain B={True,False} is the Boolean domain, and the time index set is I={0,1,}. We use t[k]T to denote the time instant at time index kI and x[k]=x(t[k]) to denote the value of x at time instant t[k]. We use ξ to denote a trajectory as a function from T to X. A set AP is a set of atomic propositions, each mapping X to B. For example, the state x can be in the form of [x1, x2], where x1 and x2 represent the number of deaths from COVID-19 and the number of recovered patients from COVID-19 in a certain geographic region, respectively. Then, an atomic proposition could be in the form of (x1 ≤ 0.01), which means “the number of deaths from COVID-19 in the region does not exceed 0.01 million”, or in the form of (x2 ≥ 6), which means “the number of recovered patients from COVID-19 in the region is at least 6 million” (in this paper we assume that the unit in the state is million, unless otherwise indicated). In such context, if x1 = 0.002 and x2 = 4, then (x1 ≤ 0.01) is True, and (x2 ≥ 6) is False.

The syntax of MTL is defined recursively as follows:

φπ¬φφ1φ2φ1φ2φ1UIφ2, (1)

where ⊤ stands for the Boolean constant True, πAP is an atomic proposition, ¬ (negation), ∧ (conjunction), ∨ (disjunction) are standard Boolean connectives, U is a temporal operator representing “until”, I is a time index interval of the form I=[i1,i2] (i1i2, i1,i2I). We can also derive two useful temporal operators from “until” (U), which are “eventually” Iφ=UIφ and “always” Iφ=¬I¬φ. Following the example of x = [x1, x2], where x1 and x2 represent the number of deaths from COVID-19 and the number of recovered patients from COVID-19 in a certain geographic region, respectively, an MTL formula can be in the form of [0,100](x10.01)[40,60](x26), which means “the number of deaths from COVID-19 should never exceed 0.01 million within the next 100 days, and the number of recovered patients from COVID-19 should be at least 6 million for at least one day within the next 40 to 60 days” (in this paper we assume that the unit in I is day in this paper, unless otherwise indicated).

We define the set of states that satisfy the atomic proposition π as O(π)X. We denote ⟨⟨φ⟩⟩(ξ, k) = ⊤ if the trajectory ξ satisfies the formula φ at discrete-time instant t[k] (kI). Then the Boolean semantics of MTL are defined recursively as follows [45]:

(ξ,k),π(ξ,k)x[k]O(π),¬φ(ξ,k)¬φ(ξ,k),φ1φ2(ξ,k)φ1(ξ,k)φ2(ξ,k),φ1UIφ2(ξ,k)k(k+I)(φ2(ξ,k)kk<kφ1(ξ,k)), (2)

where k+I={k+k˜|k˜I}.

3.2 COVID-19 models with control strategies

In this subsection, we study three models for COVID-19 epidemic [6, 7, 14] and introduce the corresponding models with vaccination control, shield immunity control and quarantine control.

COVID-19 SEIR model with vaccination control. The susceptible, exposed, infectious, recovered (SEIR) model has been frequently used in epidemic analyses. As shown in Fig 1, the total population is divided into five subgroups:

Fig 1. Block diagram of the COVID-19 SEIR model with vaccination control.

Fig 1

  • The susceptible population S: everyone is susceptible to the disease by birth since immunity is not hereditary;

  • The exposed population E: the individuals who have been exposed to the disease, but are still not infectious;

  • The infectious population I: the individuals who are infectious;

  • The immune (recovered) population R: the individuals who are vaccinated or recovered from the disease, i.e., the population who are immune to the disease;

  • The dead population D: the dead individuals from the disease.

We consider a COVID-19 SEIR model [14, 15] with vaccination control [19] as follows.

I˙=ϵE-(γ+μ+α)I;E˙=βSI/N-(μ+ϵ)E;S˙=λN-μS-βSI/N-V;R˙=γI-μR+V;D˙=αI, (3)

where the control input V is the number of vaccinated individuals per day, N = S + E + I + RN0 is the total population in the region (N0 is the initial total population in the region), S, E, I, R and D are the number of susceptible, exposed, infectious and recovered population in the region, respectively, and D is the number of deaths from SARS-CoV-2 in the region. For the parameters, λ denotes the per-capita birth rate, μ is the per-capita natural death rate (death rate from causes unrelated to SARS-CoV-2), α is the SARS-CoV-2 virus-induced average fatality rate, β is the probability of disease transmission per contact (dimensionless) times the number of contacts per unit time, ϵ is the rate of progression from exposed to infectious (the reciprocal is the incubation period), and γ is the recovery rate of infectious individuals (the reciprocal is the infectious period). In this paper, we assume that the birth rate and the natural death rate are the same for the population we are investigating, i.e., λ = μ. Hence, from (3) we can derive that D˙=I˙E˙S˙R˙ which means that I + E + S + R + D does not change over time. Therefore, we have D = N0IESR = N0N.

Remark 1. Note that one difference between this model and the vaccination control model in [19] is that we control V as the number of vaccinated individuals per day (constrained to be less than the susceptible population S), while in [19] the control input is the ratio of the vaccinated individuals per day to the average born population per day. We found it more convenient this way for computational convenience in the control synthesis in Section 3.3.

COVID-19 SEIR model with shield immunity control. Shield immunity is a strategy recently proposed in [6] to limit the transmission of SARS-CoV-2. The basic idea of this strategy is to increase the proportion of interactions with recovered individuals as opposed to the other individuals in the population. The effectiveness of this strategy is based on the assumption that recovered individuals (virus-negative and antibody-positive) can safely interact with both susceptible and infectious individuals without getting infected with the disease.

As the model used in [6] is modified from an SIR model, we consider a corresponding SEIR model with shield immunity control as follows (see Fig 2 as an illustration).

I˙=ϵE-(γ+μ+α)I;E˙=βSI/(N+χR)-(μ+ϵ)E;S˙=λN-μS-βSI/(N+χR);R˙=γI-μR;D˙=αI, (4)

where the states and parameters are the same as in (3), while χ(⋅) is the shield strength [6] as control input to be synthesized for the recovered population to substitute the contact for the susceptible population.

Fig 2. Block diagram of the COVID-19 SEIR model with shield immunity control.

Fig 2

COVID-19 SUQC model with quarantine control. The susceptible, un-quarantined infected, quarantined infected, confirmed infected (SUQC) model was recently proposed in [7] based on the COVID-19 data in Wuhan, China. As shown in Fig 3, we consider four subgroups in the population:

Fig 3. Block diagram of the COVID-19 SUQC model with quarantine control.

Fig 3

  • The susceptible population S: everyone is susceptible to the disease by birth since immunity is not hereditary;

  • The un-quarantined infected population U: the individuals who are infected and un-quarantined, and they can be either asymptomatic or symptomatic;

  • The quarantined infected population Q: the individuals who are infectious and quarantined (the un-quarantined infected become quarantined infected by isolation or hospitalization, and the quarantined infected lose the ability of infecting the susceptible individuals);

  • The confirmed infected population C: the individuals who are confirmed to be infected with the disease (i.e., the positive cases).

We consider the SUQC model with quarantine control as follows.

S˙=-β0US/N;U˙=β0US/N-qU;Q˙=qU-(γ2+(1-γ2)σ)Q;C˙=(γ2+(1-γ2)σ)Q, (5)

where q is the quarantine rate (for an un-quarantined infected to be quarantined) as control input to be synthesized, S, U, Q and C are the number of susceptible, un-quarantined infected, quarantined infected and confirmed infected population in the region, respectively, β0 is the infection rate (i.e., the mean number of new infected caused by an un-quarantined infected per day), γ2 is the confirmation rate of Q (i.e., the probability that the quarantined infected are identified to be confirmed cases through conventional methods such as laboratory diagnosis), σ is the subsequent confirmation rate of those infected that are not confirmed by the conventional methods, but confirmed with additional tests.

3.3 Control synthesis of COVID-19 epidemic with metric temporal logic specifications

In this subsection, we present the control synthesis methods for the three COVID-19 epidemic models in Section 3.2 with vaccination control, shield immunity control and quarantine control, respectively.

Vaccination control. For the COVID-19 SEIR model with vaccination control, we discretize the model in (3) as follows.

I[k+1]=I[k]+TsϵE[k]-Ts(γ+μ+α)I[k];E[k+1]=E[k]+TsβS[k]I[k]/N[k]-Ts(μ+ϵ)E[k];S[k+1]=S[k]+TsλN[k]-TsμS[k]-TsβS[k]I[k]/N[k]-TsV[k];R[k+1]=R[k]+TsγI[k]-TsμR[k]+TsV[k];D[k+1]=D[k]+TsαI[k], (6)

where Ts is the sampling period. We also use ΔD[k] = D[k] − D[k − 1] to denote the number of deaths from the infection at day k.

Following the notations in Section 3.1, we use xV = [I, E, S, R, D] to denote the state of (6) and ξ·;xVinit,VV to denote the trajectory of (6) starting from xVinit=[I[0],E[0],S[0],R[0],D[0]] and vaccination control input V[⋅].

Problem 1 (Vaccination control). Given the SEIR model with vaccination control in (6) and an MTL specification φV, compute the control input V[⋅] that minimizes the vaccination control effortsV[⋅]‖ while satisfying φV(ξ·;xVinit,VV,0)=, i.e., the trajectory ξ·;xVinit,VV satisfies the MTL specification φV.

The vaccination control synthesis problem can be formulated as a constrained optimization problem as follows.

minV[·]V[·]s.t.I[k+1]=I[k]+TsϵE[k]-Ts(γ+μ+α)I[k],k=0,,T-1,E[k+1]=E[k]+TsβS[k]I[k]/N[k]-Ts(μ+ϵ)E[k],k=0,,T-1,S[k+1]=S[k]+TsλN[k]-TsμS[k]-TsβS[k]I[k]/N[k]-TsV[k],k=0,,T-1,R[k+1]=R[k]+TsγI[k]-TsμR[k]+TsV[k],k=0,,T-1,D[k+1]=D[k]+TsαI[k],k=0,,T-1,0V[k]S[k],k=0,,T,φV(ξ·;xVinit,VV,0)=, (7)

where TI is the maximal time index we consider.

The above optimization problem is generally a mixed-integer non-linear programming problem. We refer the readers to [38] for a detailed description of how the constraint φV(ξ·;xVinit,VV,0)= is encoded to satisfy an MTL specification φV. The integer variables are introduced when a big-M formulation [46] is needed to satisfy MTL specifications such as ♢[0,10] φ (φ should hold true for at least one day during the first 10 days) or φ1φ2 (at least one of the MTL formulas φ1, φ2 should hold true). As the change of total population is relatively small compared to the multiplication of the susceptible population and the infectious population, we approximate the term Ts βS[k]I[k]/N[k] with Ts βS[k]I[k]/N0. With such an approximation, the optimization problem becomes a mixed-integer bi-linear programming problem, which can be more efficiently solved using techniques such as McCormick’s relaxation [47, 48]. Furthermore, if the MTL specification φ consists of only conjunctions (∧) and the always operator (□), the integers in the optimization problem can be eliminated [38] and the problem becomes a bi-linear programming problem.

Shield immunity control. For the COVID-19 SEIR model with shield immunity control, we discretize the model in (4) as follows.

I[k+1]=I[k]+TsϵE[k]-Ts(γ+μ+α)I[k];E[k+1]=E[k]+TsβS[k]I[k]/(N[k]+χ[k]R[k])-Ts(μ+ϵ)E[k];S[k+1]=S[k]+TsλN[k]-TsμS[k]-TsβS[k]I[k]/(N[k]+χ[k]R[k]);R[k+1]=R[k]+TsγI[k]-TsμR[k];D[k+1]=D[k]+TsαI[k], (8)

where Ts is the sampling period.

Following the notations in Section 3.1, we use xS = [I, E, S, R, D] to denote the state of (8) and ξ·;xSinit,χS to denote the trajectory of (8) starting from xSinit=[I[0],E[0],S[0],R[0],D[0]] and shield immunity control input χ[⋅].

Problem 2 (Shield immunity control). Given the SEIR model with shield immunity control in (8) and an MTL specification φS, compute the control input χ[⋅] that minimizes the shield immunity control effortsχ[⋅]‖ while satisfying φS(ξ·;xSinit,χS,0)=, i.e., the trajectory ξ·;xSinit,χS satisfies the MTL specification φS.

The shield immunity control synthesis problem can be formulated as a constrained optimization problem as follows.

minχ[·]χ[·]s.t.I[k+1]=I[k]+TsϵE[k]-Ts(γ+μ+α)I[k],k=0,,T-1,E[k+1]=E[k]+TsβS[k]I[k]/(N[k]+χ[k]R[k])-Ts(μ+ϵ)E[k],k=0,,T-1,S[k+1]=S[k]+TsλN[k]-TsμS[k]-TsβS[k]×I[k]/(N[k]+χ[k]R[k]),k=0,,T-1,R[k+1]=R[k]+TsγI[k]-TsμR[k],k=0,,T-1,D[k+1]=D[k]+TsαI[k],k=0,,T-1,0χ[k]χmax,k=0,,T,φS(ξ·;xSinit,χS,0)=, (9)

where TI is the maximal time index we consider, and χmax is the maximal shield strength.

The above optimization problem is generally a mixed-integer fractional constrained programming problem. If the MTL specification φ consists of only conjunctions (∧) and the always operator (□), the integers in the optimization problem can be eliminated [38] and the problem becomes a fractional constrained programming problem.

Quarantine control. For the COVID-19 SUQC model with quarantine control, we discretize the model in (5) as follows.

S[k+1]=S[k]-Tsβ0U[k]S[k]/N[k];U[k+1]=U[k]+Tsβ0U[k]S[k]/N[k]-q[k]U[k];Q[k+1]=Q[k]+Tsq[k]U[k]-Ts(γ2+(1-γ2)σ)Q[k];C[k+1]=C[k]+Ts(γ2+(1-γ2)σ)Q[k], (10)

where Ts is the sampling period. We also use ΔC[k] = C[k] − C[k − 1] to denote the number of confirmed infected individuals at day k.

Following the notations in Section 3.1, we use xQ = [S, U, Q, C] to denote the state of (10) and ξ·;xQinit,qQ to denote the trajectory of (10) starting from xQinit=[S[0],U[0],Q[0],C[0]] and quarantine control input q[⋅].

Problem 3 (Quarantine control). Given the SUQC model with quarantine control in (10) and an MTL specification φQ, compute the control input q[⋅] that minimizes the quarantine control effortsq[⋅]‖ while satisfying φQ(ξ·;xQinit,qQ,0)=, i.e., the trajectory ξ·;xQinit,qQ satisfies the MTL specification φQ.

The quarantine control synthesis problem can be formulated as a constrained optimization problem as follows.

minq[·]q[·]s.t.S[k+1]=S[k]-Tsβ0U[k]S[k]/N[k],k=0,,T-1,U[k+1]=U[k]+Tsβ0U[k]S[k]/N[k]-q[k]U[k],k=0,,T-1,Q[k+1]=Q[k]+Tsq[k]U[k]-Ts(γ2+(1-γ2)σ)Q[k],k=0,,T-1,C[k+1]=C[k]+Ts(γ2+(1-γ2)σ)Q[k],k=0,,T-1,0q[k]qmax,k=0,,T,φQ(ξ·;xQinit,qQ,0)=, (11)

where TI is the maximal time index we consider, and qmax is the maximal quarantine rate.

The above optimization problem is generally a mixed-integer non-linear programming problem. As the change of total population is relatively small compared to the multiplication of the susceptible population and the un-quarantined infectious population, we approximate the term Ts β0 U[k]S[k]/N[k] with Tsβ0U[k]S[k]/N^0 (we use N^0 to denote the initial population in the region in the scenario with quarantine control). With such an approximation, the optimization problem becomes a mixed-integer bi-linear programming problem, which can be more efficiently solved using techniques such as McCormick’s relaxation [47, 48]. Furthermore, if the MTL specification φ consists of only conjunctions (∧) and the always operator (□), the integers in the optimization problem can be eliminated [38] and the problem becomes a bi-linear programming problem.

4 Results

In this section, we implement the proposed control synthesis methods in the COVID-19 models estimated from data in Lombardy, Italy and Wuhan, China.

4.1 COVID-19 SEIR model with vaccination control

The parameters of the COVID-19 SEIR model are shown in Table 1. They were estimated using the data from February 23 to March 16, 2020 in Lombardy, Italy with no isolation measures (see Section 4.1 in [14] for details). Specifically, in Table 1, the values of λ and μ are from “μ−1 ≈ 83 years” (as 83 years = 30295 days) in Section 4 in [14] and our assumption that λ = μ, the values of α, β, ϵ and γ are from the initial values listed in Table 1 in [14], and the value of N0 is from Lombardy’s population listed in Wikipedia (https://en.wikipedia.org/wiki/Lombardy). The start time for the simulations in this subsection is February 23, 2020. We consider three MTL specifications as shown in Table 2. For example, φV1=[0,100](ΔD0.001)[0,100](D0.05)[40,60](R6), which means “the deaths from COVID-19 should never exceed 0.001 million (i.e., one thousand) per day and 0.05 million (i.e., 50 thousand) in total within the next 100 days, and the immune population should eventually exceed 6 million within the next 40 to 60 days”. Following Section 4.1 in [14, we choose the initial values of the states as I[0] = 1000 (people), E[0] = 0.02 million, S[0] = 9.979 million, R[0] = 0 and D[0] = 0, with S[0] + E[0] + I[0] + R[0] + D[0] = N0 = 10 million. Fig 4 shows the simulation results without any vaccination. It can be seen that the three MTL specifications φV1, φV2 and φV3 are all violated in such a situation. Note that as isolation measures (i.e., home isolation, social distancing and partial national lockdown) were taken since March 16 in Lombardy, Italy, the real situation was better than those shown in Fig 4. Now we investigate the hypothetical scenario where the isolation measures are replaced by vaccination.

Table 1. Parameters of COVID-19 SEIR model estimated from data from Lombardy, Italy from February 23 to March 16 (2020) with no isolation measures [14].

parameter value parameter value
λ 1/30295 ϵ 0.2/day
μ 1/30295 γ 0.2/day
α 0.006/day N0 10 million
β 0.75/day Ts 1 day

Table 2. MTL specifications and simulation results for vaccination control (Section 4.1).

MTL specification control effort computation time
φV1=[0,100](ΔD0.001)[0,100](D0.05)[40,60](R6) 1.28 1.365 s
φV2=[0,100](ΔD0.0005)[0,100](D0.02)[40,60](R6) 1.927 2.276 s
φV3=[0,100](ΔD0.0001)[0,100](D0.01)[40,60](R6) 6.934 3.289 s

Fig 4. Simulation results for COVID-19 SEIR model estimated from data from Lombardy, Italy with no isolation measures.

Fig 4

We use the solver GEKKO [11] to solve the optimization problems formulated in Section 3.3. Fig 5 and Table 2 show the simulation results for vaccination control of COVID-19 SEIR model with MTL specifications φV1, φV2 and φV3, respectively. The results show that the MTL specifications φV1, φV2 and φV3 are satisfied with the synthesized vaccination control inputs respectively. It can be seen that vaccination within the first 40 days after the outbreak can mitigate the spread of SARS-CoV-2 in the most efficient manner. The results also show that the control effort for satisfying φV1 is less than that for satisfying φV2, which is still less than that for satisfying φV3. This is consistent with the fact that φV2 implies φV1, and φV3 implies both φV1 and φV2. For all three specifications, the computations are completed within 4 seconds on a MacBook laptop with 1.40-GHz Core i5 CPU and 16-GB RAM.

Fig 5. Simulation results for the COVID-19 SEIR model with vaccination control and MTL specifications φV1 (first row), φV2 (second row) and φV3 (third row).

Fig 5

The red dotted lines indicate the thresholds in the atomic propositions of the MTL specifications φV1, φV2 and φV3.

4.2 COVID-19 SEIR model with shield immunity control

We use the same parameters of the COVID-19 SEIR model as shown in Table 1 (in the same setting as in Section 4.1 for Lombardy, Italy, with no isolation measures). Following Section 4.1 in [14], we choose the initial values of the states as I[0] = 1000 (people), E[0] = 0.02 million, S[0] = 9.979 million, R[0] = 0 and D[0] = 0, with S[0] + E[0] + I[0] + R[0] + D[0] = N0 = 10 million. We set χmax = 100. The start time for the simulations in this subsection is February 23, 2020. We set the three MTL specifications φS1, φS2 and φS3 (as shown in Table 3) to be less stringent than the MTL specifications with the vaccination control, as shield immunity is generally less effective than vaccination. It can be shown that without any control strategies the three MTL specifications φS1, φS2 and φS3 are all violated. Now we investigate the hypothetical scenario where the isolation measures are replaced by shield immunity control.

Table 3. MTL specifications and simulation results for shield immunity control (Section 4.2).

MTL specification control effort computation time
φS1=[0,100](ΔD0.003)[0,100](D0.01)[40,60](R1) 16879.53 2.112 s
φS2=[0,100](ΔD0.002)[0,100](D0.07)[40,60](R1) 45595.10 2.881 s
φS3=[0,100](ΔD0.002)[0,100](D0.06)[40,60](R1) 67786.88 5.323 s

Fig 6 and Table 3 show the simulation results for shield immunity control of the COVID-19 SEIR model with MTL specifications φS1, φS2 and φS3, respectively. The results show that the MTL specifications φS1, φS2 and φS3 are satisfied with the synthesized shield immunity control inputs respectively. We observe that with the three MTL specifications, the synthesized shield immunity control inputs all increase to a peak after approximately 20 to 40 days and then gradually decrease. These observations indicate that shield immunity at early days of COVID-19 is more efficient than shield immunity at later days. The results also show that the control effort for satisfying φS1 is less than that for satisfying φS2, which is still less than that for satisfying φS3. This is consistent with the fact that φS2 implies φS1, and φS3 implies both φS1 and φS2.

Fig 6. Simulation results for the COVID-19 SEIR model with shield immunity control and MTL specifications φS1 (first row), φS2 (second row) and φS3 (third row).

Fig 6

The red dotted lines indicate the thresholds in the atomic propositions of the MTL specifications φS1, φS2 and φS3.

4.3 COVID-19 SUQC model with quarantine control

The parameters of the COVID-19 SUQC model are shown in Table 4. In Table 4, the value of the infection rate β0 is from “Methods/Parameter inference” in [7] (the authors in [7] used α to denote the infection rate), the value of N^0 is from Wuhan’s urban population listed in Wikipedia (https://en.wikipedia.org/wiki/Wuhan), the value of the confirmation rate γ2 is from the confirmation rate listed under Stage I (January 20 to January 30, 2020) of Wuhan in Table 1 in [7], and the value of σ is from “Methods/SUQC model” in [7] when no other special approaches are used for additional tests. We choose the initial values of the states as S[0] = 8.9 million, U[0] = 0.001 million, Q[0] = 0 and C[0] = 0. We set qmax = 1. We consider three MTL specifications as shown in Table 5. For example, φQ1=[0,200](ΔC0.001)[0,200](C0.1) means “the confirmed infected population should never exceed 0.001 million (i.e., one thousand) per day and 0.1 million (i.e., 100 thousand) in total within the next 200 days”. The start time for the simulations in this subsection is January 20, 2020. Fig 7 shows the simulation results for the COVID-19 SUQC model with parameters in Table 4 (estimated from data in Stage I of Wuhan, China). It can be seen that the three MTL specifications φQ1, φQ2 and φQ3 are all violated in such a situation (with quarantine rate being always 0.063). Now we investigate the scenario where the quarantine rate can be controlled to satisfy the MTL specifications.

Table 4. Parameters of the COVID-19 SUQC model estimated from data in Stage I (January 20 to January 30, 2020) of Wuhan, China [7].

parameter value parameter value
β0 0.2967 γ2 0.05
N^0 8.9 million σ 0
Ts 1 day

Table 5. MTL specifications and simulation results for quarantine control (Section 4.3).

MTL specification control effort computation time
φQ1=[0,200](ΔC0.001)[0,200](C0.01) 15.146 2.296 s
φQ2=[0,200](ΔC0.0005)[0,200](C0.05) 15.638 2.598 s
φQ3=[0,200](ΔC0.0005)[0,200](C0.03) 15.894 4.578 s

Fig 7. Simulation results for the COVID-19 SUQC model estimated from data in Stage I of Wuhan, China.

Fig 7

Fig 8 and Table 5 show the simulation results for quarantine control of the COVID-19 SUQC model with MTL specifications φQ1, φQ2 and φQ3, respectively. The results show that the MTL specifications φQ1, φQ2 and φQ3 are satisfied with the synthesized quarantine control inputs respectively. The results also show that the control effort for satisfying φQ1 is less than that for satisfying φQ2, which is still less than that for satisfying φQ3. This is consistent with the fact that φQ2 implies φQ1, and φQ3 implies both φQ1 and φQ2. We observe that with φQ1, the synthesized quarantine control inputs first increase to a peak at approximately 90 days and then gradually decrease for most of the time; with φQ2, the synthesized quarantine control inputs first increase to a peak at approximately 50 days and then gradually decrease for most of the time; and with φQ3, the synthesized quarantine control inputs are at a peak from the beginning and gradually decrease for most of the time. These observations indicate that quarantine in the early days of COVID-19 can reduce the number of confirmed infected cases more efficiently than quarantine in the later days, and more stringent control specifications require stronger quarantine measures to be implemented.

Fig 8. Simulation results for the COVID-19 SUQC model with quarantine control and MTL specifications φQ1 (first row), φQ2 (second row) and φQ3 (third row).

Fig 8

The red dotted lines indicate the thresholds in the atomic propositions of the MTL specifications φQ1, φQ2 and φQ3.

5 Discussion

In this paper, we proposed a systematic control synthesis approach for mitigating the COVID-19 epidemic based on three control models with vaccination, shield immunity and quarantine, respectively. We used metric temporal logic (MTL) formulas to formally specify the required performance of the control strategies. The proposed approach can synthesize control inputs that lead to satisfaction of the MTL specifications. The methodology and results in this paper contribute to several useful suggestions on limiting the spread of COVID-19.

Firstly, from the results with three control strategies (vaccination, shield immunity and quarantine) we observe the unanimous trend that the computed optimal control values are larger in the earlier days after the outbreak. This indicates that early intervention is essential and the most efficient (in comparison with late intervention) in controlling the spread of COVID-19.

Secondly, while it is obvious that more control efforts are needed to achieve more stringent control specifications, we observe that the required control efforts are not linear with respect to the “stringency” of the control specifications. For example, based on the model in Lombardy, Italy, achieving less than 20000 total deaths and 500 deaths per day within 100 days requires 50.55% more vaccination control effort than achieving less than 50000 total deaths and 1000 deaths per day within 100 days. However, achieving less than 10000 total deaths and 100 deaths per day within 100 days requires 259.83% more vaccination control effort than achieving less than 20000 total deaths and 500 deaths per day within 100 days. This “diminishing return” kind of property indicates that the same amount of additional (vaccination) control efforts will generally achieve less improvement for the control performance when the control specifications are increasingly more stringent.

The work in this paper opens the door to the formal synthesis of control strategies based on epidemic models. We believe that the methodology we developed in this paper can be readily used in controlling COVID-19 (and potentially other epidemic diseases) in various places where the control outcome needs to be specified in precise manners. In the following, we list several future directions that may readily derive from the work in this paper.

Firstly, the validity of the results depends on the accuracy of the model parameters (e.g., the recovery rate γ of infectious individuals). However, as the computation time is relatively short (within 6 seconds for all the scenarios in this paper), the user (or decision maker) can always change the model parameters to the latest estimated parameters and compute the optimal controls in a short time. The work in this paper can be readily extended to online control synthesis so that control inputs can be generated in real-time based on the latest information (e.g., using online parameter identification and receding horizon control).

Secondly, as we investigated the three control strategies separately in this paper, we will study the benefits and costs of joint control of different control strategies (vaccination, shield immunity and quarantine) so that the specifications can be satisfied with coordinated efforts. For example, to study the coordinated control of vaccination and shield immunity, we can use an integrated SEIR model with both V and N + χR. By selecting a cost function being the weighted sum of ‖V[⋅]‖ and ‖χ[⋅], we can achieve coordinated control of vaccination and shield immunity where the weights for ‖V[⋅]‖ and ‖χ[⋅] represent the relative costs of vaccination and shield immunity. To further include quarantine control, we can resort to more detailed models that differentiate between quarantined and un-quarantined population (e.g., as described in [49]).

Thirdly, the results in this paper focus on the control of COVID-19 in one specific region (i.e., Lombardy, Italy and Wuhan, China). Due to different geographic and demographic characteristics, the parameters in the COVID-19 models in different regions may be different, and the specifications in different regions may also be different (more stringent specifications for regions where the policy focuses more on mitigating the spread of COVID-19 than other factors such as the impact on the economy). The methodology in this paper can be readily applied to synthesizing coordinated regional control strategies for multiple different yet somewhat connected regions (e.g., as described in [49]).

Data Availability

All relevant data are within the paper, and the codes for generating the data are deposited to the GitHub repository (https://github.com/david00710/Covid-19-control).

Funding Statement

This study was funded by the National Science Foundation (https://nsf.gov) in the form of a grant (No. NSF 1652113) awarded to all authors. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1. Fauci AS, Lane HC, Redfield RR. COVID-19—Navigating the Uncharted. New England Journal of Medicine. 2020;382(13):1268–1269. 10.1056/NEJMe2002387 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2. Stewart G, Heusden K, Dumont GA. How control theory can help us control COVID-19. IEEE Spectrum. 2020;57(6):22–29. 10.1109/MSPEC.2020.9099929 [DOI] [Google Scholar]
  • 3. Yang P, Qi J, Zhang S, Wang X, Bi G, Yang Y, et al. Feasibility study of mitigation and suppression strategies for controlling COVID-19 outbreaks in London and Wuhan. PLOS ONE. 2020;15(8):1–19. 10.1371/journal.pone.0236857 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4. Zhang L, Tao Y, Shen M, Fairley CK, Guo Y. Can self-imposed prevention measures mitigate the COVID-19 epidemic? PLOS Medicine. 2020;17(7):1–4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5. Callaway E. The race for coronavirus vaccines: a graphical guide. Nature. 2020;580:576–577. 10.1038/d41586-020-01221-y [DOI] [PubMed] [Google Scholar]
  • 6. Weitz J, Beckett S, Coenen A, David D, Dominguez-Mirazo M, Dushoff J, et al. Intervention Serology and Interaction Substitution: Modeling the Role of ‘Shield Immunity’ in Reducing COVID-19 Epidemic Spread. Nature Medicine. 2020; p. 849–854. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7. Zhao S, Chen H. Modeling the epidemic dynamics and control of COVID-19 outbreak in China. Quantitative biology (Beijing, China). 2020; p. 1–9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Xu Z, Topcu U. Transfer of Temporal Logic Formulas in Reinforcement Learning. In: Proc. IJCAI’2019; 2019. p. 4010–4018. [DOI] [PMC free article] [PubMed]
  • 9.Verginis CK, Vrohidis C, Bechlioulis CP, Kyriakopoulos KJ, Dimarogonas DV. Reconfigurable Motion Planning and Control in Obstacle Cluttered Environments under Timed Temporal Tasks. In: 2019 International Conference on Robotics and Automation (ICRA); 2019. p. 951–957.
  • 10. Xu Z, Julius A, Chow JH. Energy Storage Controller Synthesis for Power Systems With Temporal Logic Specifications. IEEE Systems Journal. Early access on IEEE Xplore;. [Google Scholar]
  • 11. Beal L, Hill D, Martin R, Hedengren J. GEKKO Optimization Suite. Processes. 2018;6(8):106. 10.3390/pr6080106 [DOI] [Google Scholar]
  • 12. Bertozzi AL, Franco E, Mohler G, Short MB, Sledge D. The challenges of modeling and forecasting the spread of COVID-19. Proceedings of the National Academy of Sciences. 2020;117(29):16732–16738. 10.1073/pnas.2006520117 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13. Chen Z, Dassios A, Kuan V, Lim JW, Qu Y, Surya B, et al. A two-phase dynamic contagion model for COVID-19. London School of Economics and Political Science, LSE Library; 2020. 105064. [Google Scholar]
  • 14. Carcione JM, Santos JE, Bagaini C, Ba J. A Simulation of a COVID-19 Epidemic Based on a Deterministic SEIR Model. Frontiers in Public Health. 2020;8:230. 10.3389/fpubh.2020.00230 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15. Elie R, Hubert E, Turinici G. Contact rate epidemic control of COVID-19: an equilibrium view. 2020;. [Google Scholar]
  • 16. Ediriweera DS, de Silva NR, Malavige GN, de Silva HJ. An epidemiological model to aid decision-making for COVID-19 control in Sri Lanka. PLOS ONE. 2020;15(8):1–10. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17. Liu F, Wang J, Liu J, Li Y, Liu D, Tong J, et al. Predicting and analyzing the COVID-19 epidemic in China: Based on SEIRD, LSTM and GWR models. PLOS ONE. 2020;15(8):1–22. 10.1371/journal.pone.0238280 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18. Zheng N, Du S, Wang J, Zhang H, Cui W, Kang Z, et al. Predicting COVID-19 in China Using Hybrid AI Model. IEEE Transactions on Cybernetics. 2020;50(7):2891–2904. 10.1109/TCYB.2020.2990162 [DOI] [PubMed] [Google Scholar]
  • 19. Alonso-Quesada S, De la Sen M, Agarwal R, Ibeas A. An observer-based vaccination control law for a SEIR epidemic model based on feedback linearization techniques for nonlinear systems. Advances in Difference Equations. 2012;2012. [Google Scholar]
  • 20.de Pinho MdR, Kornienko I, Maurer H. Optimal Control of a SEIR Model with Mixed Constraints and L1 Cost. In: Moreira AP, Matos A, Veiga G, editors. CONTROLO’2014 – Proceedings of the 11th Portuguese Conference on Automatic Control. Cham: Springer International Publishing; 2015. p. 135–145.
  • 21. Kress-Gazit H, Fainekos GE, Pappas GJ. Temporal-Logic-Based Reactive Mission and Motion Planning. Robotics, IEEE Trans. 2009;25(6):1370–1381. 10.1109/TRO.2009.2030225 [DOI] [Google Scholar]
  • 22.Raman V, Finucane C, Kress-Gazit H. Temporal logic robot mission planning for slow and fast actions. In: Intelligent Robots and Systems (IROS), 2012 IEEE/RSJ International Conference on; 2012. p. 251–256.
  • 23.Lin KH, Lam KM, Siu WC. A new approach using modified Hausdorff distances with eigenface for human face recognition. In: Control, Automation, Robotics and Vision, 2002. ICARCV 2002. 7th International Conference on. vol. 2; 2002. p. 980–984 vol.2.
  • 24. Hibbard M, Savas Y, Xu Z, Julius AA, Topcu U. Minimizing the Information Leakage of High-Level Task Specifications. In: 21st IFAC World Congress; 2020. [Google Scholar]
  • 25.Smith SL, Tumova J, Belta C, Rus D. Optimal path planning under temporal logic constraints. In: Intelligent Robots and Systems (IROS), 2010 IEEE/RSJ Int. Conf.; 2010. p. 3288–3293.
  • 26.Ulusoy A, Smith SL, Ding XC, Belta C, Rus D. Optimal multi-robot path planning with temporal logic constraints. In: Intelligent Robots and Systems (IROS), 2011 IEEE/RSJ Int. Conf.; 2011. p. 3087–3092.
  • 27.Liu Z, Wu B, Dai J, Lin H. Distributed communication-aware motion planning for multi-agent systems from STL and spatel specifications. In: 2017 IEEE 56th Annual Conference on Decision and Control (CDC). IEEE; 2017. p. 4452–4457.
  • 28. Djeumou F, Xu Z, Topcu U. Probabilistic Swarm Guidance with Graph Temporal Logic Specifications. In: Proc. Robotics: Science and Systems (RSS); 2020. [Google Scholar]
  • 29.Liu Z, Dai J, Wu B, Lin H. Communication-aware motion planning for multi-agent systems from signal temporal logic specifications. In: 2017 American Control Conference (ACC). IEEE; 2017. p. 2516–2521.
  • 30. Liu Z, Wu B, Dai J, Lin H. Distributed Communication-aware Motion Planning for Networked Mobile Robots under Formal Specifications. IEEE Transactions on Control of Network Systems. 2020;. [Google Scholar]
  • 31.Cubuktepe M, Xu Z, Topcu U. Policy Synthesis for Factored MDPs with Graph Temporal Logic Specifications. In: Proc. International Conference on Autonomous Agents and Multiagent Systems (AAMAS); 2020.
  • 32.Wolff EM, Topcu U, Murray RM. Automaton-guided controller synthesis for nonlinear systems with temporal logic. In: Proc. IEEE/RSJ Int. Conf. Intell. Robots and Syst.; 2013. p. 4332–4339.
  • 33. Nikou A, Tumova J, Dimarogonas DV. Cooperative Task Planning of Multi-Agent Systems Under Timed Temporal Specifications. CoRR. 2015;abs/1509.09137. [Google Scholar]
  • 34. Coogan S, Gol EA, Arcak M, Belta C. Traffic Network Control From Temporal Logic Specifications. IEEE Transa Control of Network Systems. 2016;3(2):162–172. 10.1109/TCNS.2015.2428471 [DOI] [Google Scholar]
  • 35.Donze A, Raman V. BluSTL: Controller Synthesis from Signal Temporal Logic Specifications. In: Frehse G, Althoff M, editors. ARCH14-15. 1st and 2nd International Workshop on Applied veRification for Continuous and Hybrid Systems. vol. 34 of EPiC Series in Computing. EasyChair; 2015. p. 160–168.
  • 36.Xu Z, Zegers FM, Wu B, Dixon W, Topcu U. Controller Synthesis for Multi-Agent Systems With Intermittent Communication. A Metric Temporal Logic Approach. In: Allerton’19;. p. 1015–1022.
  • 37.Xu Z, Yazdani K, Hale MT, Topcu U. Differentially Private Controller Synthesis With Metric Temporal Logic Specifications. In: To appear in Proc. International Conference on Autonomous Agents and Multiagent Systems (AAMAS); 2020.
  • 38.Saha S, Julius AA. An MILP approach for real-time optimal controller synthesis with Metric Temporal Logic specifications. In: Proc. IEEE Amer. Control Conf.; 2016. p. 1105–1110.
  • 39. Xu Z, Saha S, Hu B, Mishra S, Julius AA. Advisory Temporal Logic Inference and Controller Design for Semiautonomous Robots. IEEE Trans Autom Sci Eng. 2018; p. 1–19. [Google Scholar]
  • 40.Xu Z, Julius AA, Chow JH. Coordinated Control of Wind Turbine Generator and Energy Storage System for Frequency Regulation under Temporal Logic Specifications. In: Proc. Amer. Control Conf.; 2018. p. 1580–1585.
  • 41.Winn AK, Julius AA. Optimization of human generated trajectories for safety controller synthesis. In: Proc. IEEE Amer. Control Conf.; 2013. p. 4374–4379.
  • 42.Abbas H, Winn A, Fainekos G, Julius AA. Functional gradient descent method for Metric Temporal Logic specifications. In: Proc. IEEE Amer. Control Conf.; 2014. p. 2312–2317.
  • 43.Xu Z, Julius A, Chow JH. Optimal energy storage control for frequency regulation under temporal logic specifications. In: 2017 American Control Conference (ACC); 2017. p. 1874–1879.
  • 44. Fainekos GE, Pappas GJ. Robustness of temporal logic specifications. In: Formal Approaches to Testing and Runtime Verification, in: LNCS, vol. 4262, Springer, 2006;. [Google Scholar]
  • 45. Fainekos GE, Pappas GJ. Robustness of temporal logic specifications for continuous-time signals. Theoretical Computer Science. 2009;410(42):4262–4291. 10.1016/j.tcs.2009.06.021 [DOI] [Google Scholar]
  • 46. Schrijver A. Theory of Linear and Integer Programming. John Wiley & Sons, Chichester; 1986. [Google Scholar]
  • 47. McCormick GP. Computability of global solutions to factorable nonconvex programs: Part I—Convex underestimating problems. Mathematical Programming. 1976;. 10.1007/BF01580665 [DOI] [Google Scholar]
  • 48. Gupte A, Ahmed S, Cheon MS, Dey SS. Solving Mixed Integer Bilinear Problems Using MILP Formulations. SIAM J Optim. 2013;23:721–744. 10.1137/110836183 [DOI] [Google Scholar]
  • 49. Rossa FD, Salzano D, Meglio AD, Lellis FD, Coraggio M, Calabrese C, et al. Intermittent yet coordinated regional strategies can alleviate the COVID-19 epidemic: a network model of the Italian case. Nature Communications. 2020;11 (5106). [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

All relevant data are within the paper, and the codes for generating the data are deposited to the GitHub repository (https://github.com/david00710/Covid-19-control).


Articles from PLoS ONE are provided here courtesy of PLOS

RESOURCES