Shortest Path problem on AMPL

56 views
Skip to first unread message

Harl0 283

unread,
Aug 17, 2017, 2:37:55 AM8/17/17
to AMPL Modeling Language
Hello,

I am trying to code the mathematical model to solve a shortest path problem. I have included the model and my code. Set N is the set of node, set A is the set of arcs, set s is the source node, set t is the terminal node and w is the arc weight.  PLEASE HELP.

Thank you!
 
1234.PNG
123.PNG
123.PNG
1234.PNG
12.PNG
51.PNG
Reply all
Reply to author
Forward
0 new messages