Optimal aircraft rerouting during space launches