Control with uncertain data of socially structured compartmental epidemic models