Mathematical Methods in Optimization of Differential Systems