Shortest route model - looping on itself?

Problems with modeling
Post Reply
danielgara
User
User
Posts: 1
Joined: 5 years ago

Shortest route model - looping on itself?

Post 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!
Last edited by danielgara 5 years ago, edited 1 time in total.
User avatar
bussieck
Moderator
Moderator
Posts: 1033
Joined: 7 years ago

Re: Shortest route model - looping on itself?

Post by bussieck »

Look at the topic viewtopic.php?f=13&t=10519

- Michael
Post Reply