Optimize learning with simulation