Lagrangian Multiplier Method of optimization of Control Systems