Optimal control via second order sensitivity analysis · wovepaper