Text this: Solution of the problems of metal heating control on the basis of the magistral asymptotic optimization method