Optimal control by some classes of dynamic equations on the infinite interval of the time scale (Neliniini Kolyvannya, 2019)