The present code correspond to the supplementary material of the publication: Title : OPTIMAL IMMUNITY CONTROL BY SOCIAL DISTANCING FOR SIR EPIDEMIC MODEL Authors : P.-A. Bliman, M. Duprez, Y. Privat and N. Vauchelet
The algorithms are described in the code.