A team of researchers from two Spanish universities, UPM and URJC, in collaboration with MIT researchers, has developed a mathematical model that assesses the competition between both legacy and low-cost airlines, and high-speed trains. This new approach is able to estimate the modal distribution of passenger demand, optimize fleet assignment and generate flight schedule. This math tool provides valuable and useful information that will help airlines to efficiently face the competition of high-speed trains.