Optimal Control Of Odes And Daes by Matthias Gerdts