Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the undirected complete graph having the following cost matrix: 1 2 3 4 5 6 X 3 9 8 7 5 1 3 X

Consider the undirected complete graph having the following cost matrix:

1 2 3 4 5 6

X 3 9 8 7 5 1
3 X 8 1 11 7 2
9 8 X 6 4 7 3
8 1 6 X 9 8 4
7 11 4 9 X 10 5
5 7 7 8 10 X 6

a) The Nearest Neighbor Method is a greedy scheme that works on a complete graph as follows:The Traveling Salesman Problem is to find the cheapest possible tour in the graph. That is, a single simple cycle that starts at node 1, visits every node exactly once, and returns to node 1.

Start at node 1

For steps := 1 to n-1

Travel on the cheapest link from the present node to an unvisited node

3. Travel on the link from the last node to node 1

Perform this method to obtain a solution for the compete graph above and give its total cost.

b) Using any other method, find a different tour. Does it have a cheaper total cost?

c) "Starting the Nearest Neighbor Method algorithm from a different node may result in a solution having a different cost." True or False? Why?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Current Trends In Database Technology Edbt 2006 Edbt 2006 Workshops Phd Datax Iidb Iiha Icsnw Qlqp Pim Parma And Reactivity On The Web Munich Germany March 2006 Revised Selected Papers Lncs 4254

Authors: Torsten Grust ,Hagen Hopfner ,Arantza Illarramendi ,Stefan Jablonski ,Marco Mesiti ,Sascha Muller ,Paula-Lavinia Patranjan ,Kai-Uwe Sattler ,Myra Spiliopoulou ,Jef Wijsen

2006th Edition

3540467882, 978-3540467885

More Books

Students also viewed these Databases questions