1 INTRODUCTION

Modelling can be a most valuable tool in the investigation of phenomena involving biological systems. This is all the more true when the phenomena in question cannot be reproduced in the laboratory, for practical or ethical reasons. Prominent among the aforementioned are epidemics. Considered as a sub-branch of population dynamics, epidemics lend themselves perfectly to mathematical modelling. The history of such approaches goes back to the 18th century and D. Bernoulli who, in 1760, presented a work [1] on the mortality rate due to smallpox and the advantages presented by vaccination. Mathematical tools for the study of epidemics have been developed decades ago and are being constantly refined since.

The current pandemic sweeping the globe has rekindled the interest in epidemics. Modelling is one of the approaches used in order to identify the best strategy for the mitigation of the devastating effects. The present paper is an attempt at answering, in a modelling framework, the fundamental question of how to implement efficiently a population confinement. Several works have recently addressed the same question from various perspectives. Four recent papers are the product of the Centre for the Mathematical Modelling of Infectious Diseases (COVID-19 Working Group) of the London School of Hygiene and Tropical Medicine. A stochastic transmission model was used first to estimate the daily reproduction number before and after confinement measures, from data obtained from the Wuhan province. Based on this estimate, the authors of [2] conclude that even a small number of infections introduced in a previously unaffected area may lead to an epidemic outbreak. In the second paper [3], based on the same model, the authors conclude that what plays a major role in determining whether an outbreak is controllable is the delay between the onset of symptoms and the introduction of social distancing measures based on contact tracing. However, the necessity of an efficient contact tracing increases with the value of the daily reproduction rate making its practical implementation particularly arduous. Quantifying contacts was the object of the third paper [4] of the team based on a large-scale data collection concerning the possible (albeit self-reported) contacts of a population of 36000 volunteers. In the fourth paper [5] the authors identify the role of the moment for the relaxation of the physical distancing measures claiming that the benefit of a somewhat delayed relaxation is the reduction of the height of the first epidemic peak. Their projections also show that a premature lifting of the measures may lead to a secondary peak which may be higher than the first one. A team of Imperial College led by N. Ferguson examined the two strategies of suppression versus mitigation. While the latter aims at just slowing down the epidemic so as not to overwhelm the healthcare system, the former’s objective is to reduce the number of infected to a very low level and maintain it there permanently. Mitigation is a more palatable solution (although the authors consider a five-month duration of the measures), but it may still lead to a staggering number of deaths and an epidemic resurgence when the interventions are relaxed. The studies [6] of the Imperial College team show that the timely adoption of measures (be they mitigation or suppression) are of the utmost importance as far as the consequences of the epidemic are concerned. Any unwarranted delay may result in a huge number of additional infections and deaths. The team of Stanford under E. Mordecai constructed an interactive model [7] which simulates the effects of social distancing. Just as in the previous studies, a resurgence of the epidemic is predicted if the controls are lifted too quickly. They also model what they call the “light-switch” approach where confinement is turned on and off in response to the seriousness of the epidemic resurgences. A team of the University of Oxford [8] applied modelling techniques to the data collected in Italy and the UK. Their conclusion is that the epidemic has started at least a month before the first reported death and would have an approximate duration of 2-3 months, in the absence of any intervention. On the positive side, their analysis seems to indicate an accumulation of significant levels of herd immunity.

The particularity of our modelling approach resides in the fact that we are using the simplest possible model for this, namely, an adaptation of the venerable SIR. The deterministic SIR model was proposed by Kermack and McKendrick [9], inspired by the works of Ross [10]. The basic model consists in a population split into three groups: “healthy” individuals that are susceptible to infection (\(S\)), “infected” individuals who can transmit the disease (\(I\)), and the “removed” (\(R\)) who either died from the disease or, having recovered, are immune to it. The differential model built on the assumption of a fully mixed population has the form

$$\begin{gathered}\displaystyle{dS\over dt}=-aSI,\\ \displaystyle{dI\over dt}=aSI-\lambda I,\\ \displaystyle{dR\over dt}=\lambda I\end{gathered}$$
(1.1)

with \(a\) being the infection rate and \(\lambda\) the removal rate of the infected individuals. The main assumption here is that the number of infected individuals increases at a rate proportional to the number of both infected and healthy. The model Eqs. (1.1) are such that the total population \(S+I+R\) is constant. By introducing the appropriate scaling of the time \(t\) it is possible to set the parameter \(\lambda\) to 1. In this case the value of \(a\) defines what is called the basic reproduction number, i. e., the expected number of infections in the susceptible population resulting from a single infection.

There exist a slew of versions of the SIR model [11], introducing more subsets of the population and/or different interactions among them. Hethcote [12] presents a pedagogical review of the matter. Of particular interest to our approach is the fact that the SIR model can be modified so as to model vaccination. As explained clearly in [13], a vaccination policy presents a challenge. If a large proportion of the population is already immune, then the risk, even a small one, associated with vaccination will be perceived as more significant than the risk from infection. This resonates with the perceived risks of social distancing measures, where a lockdown, although offering protection from infection, also entails economical and psychological downsides.

In what follows we shall introduce our version of the SIR model, particularly tailored for the investigation of the effect of lockdown and its eventual relaxation. We shall derive our special discrete version of the model and will use it to perform the numerical simulations. Based on the latter, we shall discuss the effect of lockdown and its relaxation scenarios.

2 THE MODEL

The classical SIR model introduces three groups: susceptible \(S\), infective \(I\), and removed \(R\). Given the conservation of the total population, the equation for the removed is superfluous. In view of the investigation of confinement strategies we separate the susceptible group into two sub-groups, the confined-susceptible, \(C\), and the unconfined-susceptible, \(U\). The equations become now

$$\begin{gathered}\displaystyle C^{\prime}=-aCI,\\ \displaystyle U^{\prime}=-bUI,\\ \displaystyle I^{\prime}=aCI+bUI-\lambda I,\end{gathered}$$
(2.1)

where \(a,b>0\) and where by scaling time we can put \(\lambda=1\). Here \(C\) and \(U\) are to be understood as percentages of the total population, with \(C(0)+U(0)\approx 1\) (no “removed” and a low number of infective at the beginning of the epidemic). The condition for the number of infective to grow is \(aC(0)+bU(0)>1\), otherwise the epidemic fizzles out. Practically, since the measures to curb the epidemic are taken once the latter has manifested itself, there is initially no confined sub-group. In this case the condition for an epidemic outbreak is simply \(b>1\). A fixed point of Eqs. (2.1) has necessarily \(I_{*}=0\), but we can have \(C_{*}U_{*}\neq 0\). The fixed point is attractive provided \(aC_{*}+bU_{*}<1\). Practically this means that the epidemic stops when there are no more infective persons, while a non-infected fraction of the population may exist.

Since we are dealing with populations, the quantities \(C\), \(U\) and \(I\) are a priori non-negative. Given the structure of Eqs. (2.1), positivity is guaranteed provided one starts from non-negative initial conditions [12]. Taking this into account, we shall proceed now to the construction of a discrete version of (2.1). Our approach is inspired by the works of Mikens [14]. His recommendations are that “nonlinear terms must be, in general, replaced by nonlocal discrete representations” and “a property that holds for the differential equation should also be present in the discrete model”. Our rule of thumb in this is [15] that “since all quantities are non-negative, no minus sign should appear anywhere”. We introduce thus a forward difference of the time derivative, with time step \(\delta\), and, what is more important, the staggering below

$$\begin{gathered}\displaystyle{C_{n+1}-C_{n}\over\delta}=-aI_{n}C_{n+1},\\ \displaystyle{U_{n+1}-U_{n}\over\delta}=-bI_{n}U_{n+1},\\ \displaystyle{I_{n+1}-I_{n}\over\delta}=aI_{n}C_{n+1}+bI_{n}U_{n+1}-\lambda I_{n+1}.\end{gathered}$$
(2.2)

Solving for the points at \((n+1)\), we obtain

$$\begin{gathered}\displaystyle C_{n+1}={C_{n}\over 1+a\delta I_{n}},\\ \displaystyle U_{n+1}={U_{n}\over 1+b\delta I_{n}},\\ \displaystyle I_{n+1}={I_{n}(1+a\delta C_{n+1}+b\delta U_{n+1})\over 1+\lambda\delta}.\end{gathered}$$
(2.3)

This system has the very same properties as the differential one, i. e., the same fixed points and the same stability properties, and, had we kept the “removed” group we would have provided a discretisation conserving the total population. In what follows we shall use it in order to integrate the differential system (2.1). Moreover, (2.3) is a very robust scheme which gives a realistic answer for any time step, even a very large one. This is the definite advantage of tailored integrators as compared to ready-made, black-box, routines. Our simulations will be performed with a time step \(\delta=10^{-3}\) so as to be as close as possible to the differential system.

Before proceeding to the examination of the various confinement strategies it is interesting to apply our model to a simple situation, that of hunting for the “patient zero”. We have first performed a simulation of (2.1) assuming a wholly unconfined population, i. e., \(C(0)=0,U(0)=1-I(0)\), with an infection rate \(b=2\). The results of the simulation with a “reasonable” percentage of infective \(I(0)=10^{-3}\) are those shown in Fig. 1, where the time is given in units of \(1/\lambda\).

Fig. 1
figure 1

The infective fraction of the population (full line) and the fraction of the population that is or has been infected \(1-(C+U)\) (dashed line) as a function of time.

Next we performed a simulation assuming that one person on Earth was infected, the patient zero. The corresponding initial condition is \(I(0)\approx 10^{-10}\). The result of the simulation is shown in Fig. 2 where again the time is given in units of \(1/\lambda\).

Fig. 2
figure 2

The infective fraction of the population (full line) and the fraction of the population that is or has been infected (dashed line) as a function of time starting from initial conditions corresponding to the “patient zero”.

The comparison is quite interesting: the profile of the epidemic, i. e., the evolution of the infective over time, is the same with both initial conditions, just shifted in time. Thus, by following the evolution of the epidemic one cannot go back in time and guess when the first infection took place. This has to be assessed by other methods which lie beyond the modelling approach. Put in a different way, by observing the evolution of the epidemic starting at a given time one cannot be sure where the genesis of the epidemic is situated in time.

3 MODEL PREDICTIONS

In what follows we shall apply our model to situations where a population is totally or partially confined and where the lockdown is lifted progressively or abruptly. In order for our simulations to be as realistic as possible, it is important that we calibrate our model, introduce the proper time scale, choose the proper parameters and initial conditions, and, finally consider the adequate confinement strategies.

Time scale. The time scale, given by \(1/\lambda\), is set to 5 days. This is a typical time for the duration of infectiousness, according to Ferguson and collaborators [6]. In the results presented hereafter, time is counted in units of \(1/\lambda\), i. e., 5 days.

Parameter values. The value of the basic reproduction number without confinement \(R_{0}={b/\lambda}\) is still not known with precision. In [16], the \(R_{0}\) was estimated to be around 2.2, and in [17], \(R_{0}\) ranges from 2.24 to 3.58. In what follows (having taken \(\lambda=1\)) we shall choose \(R_{0}=b=2.6\). The goal of confinement is to reduce \(R_{0}\) to a value close or even below 1, which is the threshold for an epidemic outbreak [6]. The infection rate for strictly confined people \(a=a_{0}\leqslant 1\) was set to 1. Since it is very difficult to obtain a precise value of \(a_{0},\) we chose 1 as a characteristic value(choosing 0.8 could have been equally possible, and it would not have changed our conclusions).

Initial conditions. We set the fraction of confined people to 0.7. This value seems reasonable, since some people go to their workplace every day. These people are more exposed to the virus and belong to the category of unconfined people. In France, for example, it is estimated that around a quarter of active people still go to work.

The initial value of the fraction of infected people is set to \(10^{-5}\), and the confinement is applied after a time interval, \(T_{0}\). Since we are interested here in the different strategies of ending the confinement, \(T_{0}\) is fixed in all the simulations, \(T_{0}=4\) (or 20 days). The time step used in the simulations is \(\delta=10^{-3}\).

We tested our choice of parameters and initial conditions by comparing the evolution of the fraction of infected people to the real evolution of active cases in Italy, Fig. 3. The confinement started in Italy on March 8th in the north of the country, so we report here the data of the active cases from 20 days before this date (February 19, 2020, to April 16, 2020) [18]. We divided these numbers by the population of the four most impacted regions of northern Italy (Lombardia, Piemonte, Emilia Romagna, Veneto), which is around 20 millions of people, so as to get the fraction of the population. In order to get a good match with the model, we had to correct this value by a factor of 9, which is consistent with the fact that a large fraction of cases are actually unreported or asymptomatic cases [19].

Fig. 3
figure 3

Comparison between the temporal evolution of the fraction of infective population obtained by simulation (the confinement starts at t=20 days and lasts until the end of the simulation) and of the real number of active cases in Italy, between February 19th, 2020 and April 16th, 2020.

The agreement between the real data and our model is satisfactory. Thus, we can conclude that our parameters and initial conditions are realistic.

Different strategies for lifting confinement. Once the model is calibrated, we are ready to address the question of population confinement. The first simulation is performed so as to compare the two extreme cases, one where there is no lockdown and one where the duration of the lockdown is extended till the practical disappearance of the epidemic. The results are presented in Fig. 4.

Fig. 4
figure 4

The lines represent the temporal evolution of the infective fraction of population, with confinement (full line) and for the absence of any measure of confinement (dashed line). The confinement starts after \(T_{0}=0\) and lasts for the whole time of the simulation.

They correspond in fact to the curves repeatedly shown by the media. With an absence of confinement the epidemic is of short duration, but of high intensity: a sizeable part of the population is infected. The positive side of such a strategy is that the herd immunity of the population is reached in a short time. The downside is that the healthcare system can easily be overwhelmed by the sheer number of infected people. The prolonged confinement has the advantage of making the number of infected people (hopefully) manageable. On the downside, such a prolonged lockdown may have untenable social and financial repercussions. Thus, alternative strategies must be investigated.

The confinement strategies we are going to investigate in what follows have to do with the lifting of lockdown measures. We shall not delve into the initial application of lockdown. The only visible strategy adopted universally is to enforce such a measure when it is clear that the epidemic cannot be ignored any more. However, exiting the confinement is particularly delicate and thus we are going to focus our analysis on this.

Three different scenarios will be examined. They correspond to an abrupt, instantaneous exit, to a gradual one with a linear profile, and to a gradual exit by steps. We model the effect of confinement by changing the infection rate of the confined population \(a\) during time. Before the onset of confinement, this population has the same infection rate as the unconfined one, so \(a(t)=b\). During strict confinement, \(a(t)=a_{0}\) with \(a_{0}<b\). This period of strict confinement lasts for a period of time \(T_{1}\). After this time interval, the lockdown starts to be lifted and a period of lighter confinement starts. The duration of this period of time is defined as \(T_{2}\). Different strategies of confinement lifting can be tested: the abrupt ending of confinement, where \(a(t)\) changes instantaneously from \(a_{0}\) to \(b\) and \(T_{2}=0\); the gradual linear ending of confinement, where \(a(t)\) increases linearly during \(T_{2}\) and the stepwise ending, where \(a(t)\) takes an intermediate value \(a_{1}\), between \(a_{0}\) and \(b\) during \(T_{2}\). The function \(a\) and the time intervals \(T_{0}\), \(T_{1}\) and \(T_{2}\) are shown graphically in Fig. 5.

In our simulations, the parameters \(b,a_{0}\) and \(T_{0}\) are fixed: \(b=2.6\), \(a_{0}=1\) and \(T_{0}=4\). The parameters \(a_{1}\), \(T_{1}\) and \(T_{2}\) can vary.

Fig. 5
figure 5

The lines represent the temporal evolution of the infection rate of confined people, \(a(t)\), for the different strategies of exit of confinement. The full line is for the linear exit, the dashed-dotted one for the abrupt exit, the dotted one for the stepwise exit. The dashed line is for the case without any confinement. The time intervals of no confinement \(T_{0}\), strict confinement, \(T_{1}\), and of the gradual exit of confinement \(T_{2}\) are indicated.

Figure 6 presents the results of a simulation where we compare an abrupt confinement exit to a gradual one with a linear profile. This is a most interesting result, since it shows that misjudging the appropriate moment for the exit may result in a second wave of the epidemic worse than the first one.

Fig. 6
figure 6

The black lines represent the temporal evolution of the infective fraction of population, for the linear and abrupt exit of confinement. The grey lines in the lower part of the figure represent the temporal evolution of the infection rate of confined people, \(a(t)\) (with \(T_{1}=10\) and \(T_{2}=8\)). The full lines (black and grey) are for the linear exit of confinement and the dashed-dotted ones (black and grey) are for the abrupt exit of confinement.

On the other hand, choosing the same moment for the relaxation of the lockdown measures, but applying a gradual scenario keeps everything manageable despite a slight recurrence of the increase in the number of infected people. A second peak of infection does appear, but it is lower than the first one. This, of course, depends on the values of \(T_{1},T_{2}\): opting for a too short confinement duration or too fast an exit may result in a second peak larger than the first.

A stepwise exit from confinement is shown in Fig. 7, in comparison with the gradual (linear profile) exit.

Fig. 7
figure 7

The black lines represent the temporal evolution of the infective fraction of population, for the linear and stepwise exit of confinement. The grey lines in the lower part of the figure represent the temporal evolution of the infection rate of confined people, \(a(t)\) (with \(a_{1}=1.5,T_{1}=10\) and \(T_{2}=8\)). The full lines (black and grey) are for the linear exit of confinement and the dotted ones (black and grey) are for the stepwise exit of confinement.

The stepwise strategy has the particularity to lead to a non-negligible increase in the number of infected people right after the first, partial, exit, but, on the other hand, it presents the advantage that by the time the exit is total the level of the epidemic can be considered as wholly manageable. In the case of the stepwise strategy, there are actually three peaks in the infection curve, each one corresponding to a discontinuity of function \(a\). However, the third peak is always much smaller than the first two. Thus, in what follows, we will compare only the first peak to the second one.

In Fig. 8 we show the variation of the (fractions of the) populations of the confined and unconfined susceptible as a function of time for two exit scenarios. As expected, an abrupt exit has as a consequence a sharp decline in the population of those who were previously confined. Being now in contact with the infective, they can become infected, which explains the sharp increase observed in Fig. 6. A gradual exit, although also leading to increased infections, has a much smaller effect and a definitely smoother variation of the susceptible population.

Fig. 8
figure 8

The black lines represent the temporal evolution of the confined and unconfined fraction of population, for abrupt and linear exit of confinement. The thick lines (full and dashed-dotted) correspond to the confined fraction of population, and the thin lines to the unconfined one. The grey lines in the lower part of the figure represent the temporal evolution of the infection rate of confined people, \(a(t)\) (with \(T_{1}=10\) and \(T_{2}=8\)). The full lines (thick black, thin black and grey) are for the linear exit of confinement and the dashed-dotted ones (thick black, thin black and grey) are for the abrupt exit of confinement.

Figure 9 summarises the behaviour of the total population of infected people for the four scenarios considered here, no-confinement, confinement with abrupt exit, linear exit and stepwise exit. As expected, the number of globally infected people is larger in a no-confinement scenario. This is the one offering the most efficient “herd immunity”, but the price to pay is a high number of infections concentrated in time. The abrupt exit scenario has a relatively smaller number of infected people but, as we saw, it presents the danger of a second epidemic wave being worse than the first. The gradual strategies are the ones leading to the smallest number of infected people. While this has the advantage of keeping the epidemic manageable all along, it is not optimal if what was sought to begin with was an as large as possible immunisation of the population.

Fig. 9
figure 9

The black lines represent the temporal evolution of the fraction of population that is or has been infected \((1-C-U)\), for the different lockdown exit strategies. The grey lines in the lower part of the figure represent the temporal evolution of the infection rate of confined people, \(a(t)\) (with \(a_{1}=1.5,T_{1}=10\) and \(T_{2}=8\)). The dashed lines (black or grey) correspond to the absence of any measure of confinement, the dashed-dotted lines (black or grey) correspond to the abrupt exit of confinement, the dotted lines (black or grey) to the stepwise exit and the full lines (black or grey) to the linear exit.

The effects of the lockdown duration as well as that of the exit strategy are better represented in a figure summarising a broad collection of values. Thus, in Fig. 10 we show the ratio of the second to the first epidemic peak, i. e., the one reached after the exit from lockdown to the one obtained during the confinement, as a function of the duration of the strict confinement, \(T_{1}\). The curves labelled as (a), (b) etc. correspond to increasing durations of the gradual lockdown exit \(T_{2}\), while the dashed curve is the one obtained for an abrupt exit. Clearly, the latter would require a more prolonged confinement period for the second epidemic peak not to be higher than the first. Note that, since we study the different scenarios of ending confinement, the height of the first peak, reached during confinement, before starting to lift the constraints, is the same for all values of \(T_{1},T_{2}\) and all the strategies of confinement exit.

Fig. 10
figure 10

The curves represent the variation of the ratio of the second to the first peak of the infection curve as a function of the duration of the strict lockdown \(T_{1}\). Curve (a) corresponds to the duration of the linear exit \(T_{2}=1\), curve (b) to \(T_{2}=3\), curve (c) to \(T_{2}=5\) and curve (d) to \(T_{2}=7\). The dashed curve corresponds to the abrupt exit (equivalent to \(T_{2}=0\)). For all the curves, \(T_{0}=4\).

Figure 11 concerns the stepwise strategy. In this case, the infection rate of confined people takes an intermediate value before going back to unconfined value. In Fig. 11, we show the ratio of the second to the first peak in the infection curve, as a function of the intermediate value of the infection rate of confined people \(a_{1}\).

Fig. 11
figure 11

The curves represent the variation of the ratio of the second to the first peak of the infection curve as a function of the intermediate value of the infection rate for confined people, \(a_{1}\). Curve (a) corresponds to the duration of confinement \(T_{1}=8\), curve (b) to \(T_{1}=9\), curve (c) to \(T_{1}=10\), curve (d) to \(T_{1}=11\), curve (e) to \(T_{1}=12\), curve (f) to \(T_{1}=13\). For all the curves, \(T_{0}=4\) and \(T_{2}=8\).

The different curves (a)–(f) correspond to different values of the confinement duration, \(T_{1}\). The duration of the intermediate state of confinement, \(T_{2}\), where \(a=a_{1}\), is constant for all the curves of the figure and is equal to \(8\) (since the height of the third peak is not studied, this value is not important, as long as the duration is long enough so that the third peak does not interfere with the second one). Let’s consider curve (c), which corresponds to \(T_{1}=10\). Since \(T_{2}=8\), the values of the parameters \(T_{1}\) and \(T_{2}\) are the same as in Fig. 7. In Fig. 7, \(a_{1}=1.5\) and the second peak is much smaller than the first one. In Fig. 11, curve (c), we can see that the ratio of the second to the first peak is smaller than \(1\) as long as \(a_{1}<1.83\).

4 CONCLUSIONS

In this paper we have introduced a variant of the SIR model in order to study, in the simplest possible way, without unnecessary assumptions, the effect of population confinement on the evolution of an epidemic. The motivation for this is, obviously, the current COVID-19 epidemic, which in a matter of a few months has evolved into a pandemic. The gravity of the situation has made mandatory the introduction, in most countries, of lockdown measures aiming at containing the epidemic, so as not to overwhelm fragile healthcare systems. Our model is a classical SIR one, where the population of the susceptible is split into two subgroups, one which is essentially confined and one, which, due to specific duties, cannot follow strictly the social distancing directives. The infectiveness of the second population, the presence of which is crucial for the functioning of society, is sufficient in order to spread the epidemic.

Our model was formulated as a system of three coupled differential equations. We discussed the conditions for an epidemic to evolve, the existence of fixed points as well as their stability. A discrete form of the equations was introduced which was subsequently used as an integrator of the differential system.

The model focused mainly on the impact of various lockdown-exit strategies on the evolution of the epidemic. However, before addressing this question, we studied the epidemic onset and its evolution in the case where a substantial nucleus of infected persons does exist compared to the case where one starts with a single infected person. It turned out that the observed evolution was the same in the two cases. The practical implication of this is that one cannot tell when the first infections made their appearance. This observation resonates with the speculation [20] that there may have been COVID-19 cases in Italy as early as November 2019.

In order to apply our model in an as realistic as possible way, we started by calibrating it and choosing properly initial conditions. We studied different scenarios of lifting confinement: an abrupt one, a linear one (where the infection rate of confined people goes back to the value of the unconfined linearly), and a stepwise one (where the infection rate of confined people takes an intermediate value, between the confined and the unconfined values, before going back to the unconfined value). First, we show that an abrupt end of confinement can lead to a second peak of the epidemic higher than the first one, for a confinement that lasts for 10 units of time in the model (50 days). However, even with an abrupt end, the ratio between the two peaks of epidemic can be smaller than 1. This requires a long confinement, longer than 12.6 units of time (which represents 63 days), see Fig. 10. In practice, in order to be sure that the second peak is much lower than the first one, the strict lockdown should be imposed for at least 2.5–3 months. However, imposing a strict lockdown over such a long time period may have undesirable consequences both for the countries’ economy and for the well-being of the population.

A more acceptable strategy would be to alleviate the constraints gradually or stepwise. We studied both scenarios. The linear scenario can be described by two variables: the time interval corresponding to a strict lockdown (\(T_{1}\)) and the time of exit of the lockdown (\(T_{2}\)). It is not surprising to find that the ratio of the two peaks is smaller when the lifting of constraints starts later (large \(T_{1}\)). For a given \(T_{1}\), the ratio is smaller when the time of gradual exit of confinement (\(T_{2}\)) increases (going from curve (a) to (b), (c) and (d) on a vertical line, in Fig. 10.

What is less intuitive is that the total period of confinement (including the strict and the lighter confinement) has to be longer in the case of the linear exit than for the abrupt exit, in order to get a second peak lower than the first one. In Fig. 10, for curve (d), for example (which corresponds to \(T_{2}\)=7), the time interval for strict confinement \(T_{1}\) has to be equal to 8 units of time if we want a ratio smaller than 1. The total time of confinement (including the period of strict and of lighter confinement) would thus be 15 units of time. For the abrupt exit, a duration of confinement of 12.5 units of time would suffice in order to have a ratio smaller than 1.

Figure 10 also tells us that, first, the ratios for an abrupt exit and for a gradual one tend to the same value (lower than 1), as the time of confinement \(T_{1}\) gets larger. With \(T_{1}=30\) (meaning that the confinement would last for 150 days, or 5 months), the number of infected people gets really small, but since it is not zero, the epidemics can start again when the lockdown is finally lifted, giving rise to a second, low peak, which has the same height whether the exit is gradual or not. We should point out at this point that applying a linear exit strategy in practice presents considerable difficulties. Changing rules every week or even every day to ensure the linear lifting of the lockdown is far from ideal.

The stepwise strategy also allows one to get ratios smaller than 1 if the duration of the confinement is long enough and if the intermediate infection rate \(a_{1}\) for the confined people is not too large. However, what is interesting is that this intermediate value can be larger than 1: this means that even if the epidemic threshold is exceeded for the confined people, the peak of the epidemic can still be controlled if the strict confinement period is long enough. For example, suppose that the confinement lasts for 10 units of time in the model, or 50 days, (this situation corresponds to curve (c) in Fig. 11), then any value of \(a_{1}\) (the intermediate value of the infection rate of confined people) smaller than 1.8 would lead to a second peak lower than the first one. Moreover, this strategy allows one to get less infected people at the end (see Fig. 9).

This strategy seems to be easier to put into practice, as it does not necessitate a continuous change of the rules. The difficult part here is to translate the parameters of the model into practical instructions. What can represent the value of 1.8 for \(a_{1}\)? A situation between the strict confinement and a completely normal one, where, for example, everybody wears a mask, where those who can go to work do so, but work-place cafeterias are closed, where schools are still closed and where meetings of more than 10 persons are forbidden could be a good intermediate state. A more detailed model, with a structured population would be needed to answer that question. However, in all cases, one should bear in mind the words of Ferguson [21]: “Models are not crystal balls. What we are building are simplified representations of reality”. Thus, in some cases it is preferable to work with a simpler model which allows control over the various quantities in play and makes it possible to develop an intuitive grasp of the situation.

5 CONFLICT OF INTEREST

The authors declare that they have no conflicts of interest.