Asking the right questions to optimize rail operations