Liberalization of long-distance railway passenger services in the European Union was scheduled for December 2020. The Spanish infrastructure manager decided that the Spanish high-speed network was congested so an optimization plan would be needed to accommodate newcomers and ensure an ‘orderly’ transition to competition. The infrastructure manager defined a full schedule for cadenced train paths