Page 1 of 1

Shortest route model - looping on itself?

Posted: Sat Feb 09, 2019 10:27 pm
by danielgara
I have moddeled a case that defines the shortest route between 2 cities, but for my exercise there has to be the posibility that you can go from/to any of the cities.

In this case i have a main hub, "ATLANTA", and i need to arrive to "ISTANBUL"; the problem is, when solved, the model goes from the shortest point to both Atlanta and Istanbul - and back to them, but doesn't have a feasable route from one to another.

Here is an extract of the "Ideal route" its giving me at the moment:

Code: Select all

 		ATLANTA  WASHINGTON    ISTANBUL       CAIRO

ATLANTA                         1.000
WASHINGTON          1.000
ISTANBUL                                                1.000
CAIRO                                       1.000
		
The code is left attached w/ the post.

Any help would be very appreciated!

Re: Shortest route model - looping on itself?

Posted: Sun Feb 10, 2019 8:10 am
by bussieck
Look at the topic viewtopic.php?f=13&t=10519

- Michael