Collaborative optimization of train schedule and circulation plan