routing problem

Problems with syntax of GAMS
Post Reply
AmirHo3eiin
User
User
Posts: 2
Joined: 3 weeks ago

routing problem

Post by AmirHo3eiin » 3 weeks ago

I have a routing problem in which a train runs between three stations. I modeled the problem and got an answer that is somewhat correct, but the problem is that, for example, when the train is at station one at one o'clock, it immediately goes to station two at two o'clock, while the time interval between two stations is one-hour and the train should naturally be at station two in three o'clock.
Please help me solve this problem,
Thanks

moosavi_69
User
User
Posts: 22
Joined: 3 years ago

Re: routing problem

Post by moosavi_69 » 3 weeks ago

Dear Amirhossein,

It is happening because your model cannot control such situations. If you have already designed constraints for these infeasibilities, you should check why they are not working properly. If you have not included any yet, you should design one.

Best, Amirhossein

Post Reply