Seol mar théacs é seo: Tutorial , optimization via simulation with bayesian statistics and dynamic programming