The optimal control problem for systems of integro-differential equations (Neliniini Kolyvannya, 2023)