Gửi tin nhắn: Multiple-phase train trajectory optimization with signalling and operational constraints