— We describe a stochastic optimization method that can be used to solve inverse problems in epidemic modelling. Although in general it cannot be expected that these inverse problems have solutions and that possible solutions can be approximated by local optimization methods, our optimization method worked well when applied to a model for the epidemics caused by Respiratory Syncytial Virus (RSV) and the empirical data of various locations. We conjecture that similar results can be obtained for other epidemics and other models.