Optimization Time Integration