Home > Operation Research > Assignment Problem > 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

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





Share this solution or page with your friends.
 
 
Copyright © 2026. All rights reserved. Terms, Privacy
 
 

.