Abstract The aim of the presented paper is to show the results of shape optimization of railway polynomial transition curves (TCs) of 5th, 7th, and 9th degrees through the use of the full vehicle model and new criteria of assessement concerning the jerk value. The search for the proper shape of TCs means that in this work, the evaluation of TC properties is based on select quantities and the generation of such a shape through the use of mathematically understood optimization methods. The studies presented have got a character of the numerical tests. For this work, advanced vehicle models describing dynamical track-vehicle and vehicle-passenger interactions as well as optimization methods were exploited. In the software vehicle model of a 2-axle freight car, the track discrete model, non-linear descriptions of wheel-rail contact are applied. This part of the software, the vehicle simulation software, is combined with a library optimization procedure into the final computer program.