Үүнийг мессежээр илгээх: On the numerical solution of nonlinear and hybrid optimal control problems