The problem of optimal processing control of an inhomogeneous raw-mate
rial batch is treated, which involves the task of determining the sequ
ence of processing, defining the time dependence of the output of the
equipment, and calculating the optimal volumes of fractions. An algori
thm for the numerical solution of the problem is described.