Optimum management of the network of city bus routes based on a stochastic dynamic model