Strategic management of freight systems, taking into account the relevant factors and their stochastic nature. Determination of the optimal number of shunting locomotives, the processing capacity of loading and unloading fronts and capacity of warehouses.