The vehicle including an active suspension system (22) parameterized by a set of adjustment parameters. The railway track is cut into segments. For each segment (T), the method includes campaigns for optimization of the set of parameters, such that: during the first campaign, to each passage of the suspension system (22) on the segment (T), a first set of parameters, specific to this passage, is predefined and applied to the suspension system (22), and a comfort quality index is calculated, and then a metaheuristic algorithm is applied for determining second sets of parameters, and during each following optimization campaign, at each passage of the suspension system over the segment, one of the determined sets of parameters by the previous optimization campaign is applied to the suspension system, and the comfort quality index is calculated, and then the metaheuristic algorithm is applied in order to determine new sets of parameters.