Seol mar théacs é seo: Optimal control and differential equations :