The optimization algorithm for the directions of influence of risk factors on the system that manages the potential of machine-building enterprises · Study