Home > Operation Research calculators > Travelling salesman problem using nearest neighbor method example

5. Travelling salesman problem using nearest neighbor method example ( Enter your problem )
  1. Example-1
  2. Example-2
Other related methods
  1. Assignment problem using Hungarian method
  2. Travelling salesman problem using Hungarian method
  3. Travelling salesman branch and bound (penalty) method
  4. Travelling salesman branch and bound method
  5. Travelling salesman nearest neighbor method
  6. Travelling salesman diagonal completion method
  7. Crew assignment problem

4. Travelling salesman branch and bound method
(Previous method)
2. Example-2
(Next example)

1. Example-1





1. Find Solution of Travelling salesman problem using nearest neighbor method
Work\Job1234
1x495
26x48
394x9
4589x


Solution:
The number of rows = 4 and columns = 4
   `1`  `2`  `3`  `4`    
 `1` M495
 `2` 6M48
 `3` 94M9
 `4` 589M
   



1. If we start from 1, then path is
`1->2=4,``2->3=4,``3->4=9,``4->1=5`

and total distance = 22


2. If we start from 2, then path is
`2->3=4,``3->1=9,``1->4=5,``4->2=8`

and total distance = 26


3. If we start from 3, then path is
`3->2=4,``2->1=6,``1->4=5,``4->3=9`

and total distance = 24


4. If we start from 4, then path is
`4->1=5,``1->2=4,``2->3=4,``3->4=9`

and total distance = 22





This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then Submit Here



4. Travelling salesman branch and bound method
(Previous method)
2. Example-2
(Next example)





Share this solution or page with your friends.


 
Copyright © 2024. All rights reserved. Terms, Privacy
 
 

.