routing problem

Problems with syntax of GAMS
Post Reply
AmirHo3eiin
User
User
Posts: 6
Joined: 3 years ago

routing problem

Post by AmirHo3eiin »

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: 31
Joined: 6 years ago

Re: routing problem

Post by moosavi_69 »

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