Resumen
The work contains an algorithm of determining rational correlation between the fares for different classes of cars in high-speed trains of permanent structure. The algorithm is based on the method of finding conditional maximum of a target function. The algorithm allows providing the maximal total cost of the services rendered in passenger transportation.