Zurück Optimal Control of ODEs and DAEs