Title: Algorithms of the Synthesis of Optimal Regulations