Exercise: “First time in Barcelona”

Imagine you come to Barcelona for the first time. You ask a friend who lives in the city for some interesting places to visit. You are in the city for just one day and you want to visit them all. The distance between each place is indicated in the table below. Design a good route using the nearest neighbor heuristic method. You leave from the airport and you have to return to the airport again.


By: Felix Xu and Sergio López


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s