Title: Theoretical and practical methods of optimization of foreign trade in a centrally planned economy