This repository contains the Julia code and numerical results supporting the paper:
On the problem of minimizing the epidemic final size for SIR model by social distancing
Authors: Pierre-Alexandre Bliman, Anas Bouali, Patrice Loisel, Alain Rapaport, Arnaud Virelizier
We address the optimal control problem of minimizing the final epidemic size under an
We consider the following optimal control problem
-
$S(t)$ ,$I(t)$ : susceptible and infected populations at time$t$ . - Control
$u(t)$ : social distancing effort,$0 \le u(t) \le \bar u$ . - Budget
$K$ : total effort constraint, tracked by auxiliary state$C(t)$ with
We augment the classical SIR dynamics to include social distancing:
-
$\beta$ : transmission rate -
$\gamma$ : recovery rate
We solve
- Clone this repository:
git clone https://github.com/AnasXbouali/SIR-final-size-minimization.git cd SIR-final-size-minimization - Install dependencies in Julia REPL:
import Pkg; Pkg.instantiate(); Pkg.precompile();
This project is implemented in a Julia Jupyter notebook.
Use the function:
SIRocp(tf, S0, I0, K, β, γ, umax)tf: final timeS0,I0: initial susceptible and infected fractionsK: total social distancing budgetβ: constant transmission rateγ: recovery rateumax: maximum control effort
Use the function:
SIRocp2beta(T, S0, I0, K, τ, β1, β2, γ, umax, k)T: final timeS0,I0: initial conditionsK: budget valueτ: time when transmission rate changesβ1,β2: transmission rates before and afterτγ: recovery rateumax: max control levelk: regularization parameter





