Travelling Salesman Problem Analysis

Improved Essays
A COMPARITIVE STUDY OF NEAREST NEIGHBOUR ALGORITHM AND GENETIC ALGORITHM IN SOLVING TRAVELLING SALESMAN PROBLEM

Ajaz Ahmed Khan
Electronics and communication department
SSGI FET
Bhilai, India ajz70277@gmail.com Mrs. Himani Agrawal Electronics and communication department
SSGI FET
Bhilai, India

Abstract—In this paper, we have used two algorithms, i.e. the Nearest Neighbor algorithm and Genetic Algorithm to solve the Travelling Salesman problem. The Travelling Salesman problem is a widely studied problem in computational mathematics. In the Travelling Salesman problem, a salesman has to visit all the cities first and then move to the same city from where it has started its whole journey. One of the concerns here with this problem, here is that the salesman cannot visit a single city twice. There are several optimization techniques such as ant colony optimization, particle swarm optimization, genetic algorithm, nearest neighbor algorithm, etc. out of which we have solved Travelling salesman problem using a Genetic algorithm and Nearest neighbor algorithm. In our paper, we have shown that for the same group of cities plotted at different location, Genetic Algorithm
…show more content…
At Symmetric TSP, the distance between each city is same in the opposite direction as shown in Fig.2. In Asymmetric TSP, there may be or may not be pah exist between two cities. Many approximations and heuristic algorithm have been utilized to find the solution of the Travelling Salesman problem. Some of them are ant colony optimization, particle swarm optimization, genetic algorithm, nearest neighbor algorithm, etc. out of which we have utilized Genetic Algorithm and Nearest Neighbor Algorithm. In the later part, we have explained both Nearest Neighbor Algorithm and Genetic Algorithm in Section

Related Documents

  • Decent Essays

    The third application software is mapping. Mapping application, are those that display street maps or satellite, and are usually used to locate places and directions. The most extensive mapping application is Google maps. When it comes to the location based software it uses your current location, and shows you the closest restaurants, shops, banks, etc. these software's are available for desktops, laptops, and handheld computers.…

    • 223 Words
    • 1 Pages
    Decent Essays
  • Improved Essays

    The specification of hardware is GPU used : NVIDIA GTX280 (has about 30 multiprocessors each with 8 processors, frequency is 1.29 GHz) CPU used : Intel i5D, 4 cores, frequency of 2.67 GHz. GPU memory, bandwidth : 1 GB, 141.7GB/s To get a more clear picture speedup calculated only after the I/O file is completed. Results that are obtained from the proposed differential (data size dependent) approach are compared with other approaches like HP_k_means (for smaller hence low-dimension data), UV_k-means , GMiner (for large data sets) and then fialy the performance is compared with CPU. A. Small data sets (Low –dimension) For this a data set of sizes 2 million and 4 million with varying values of “k” (number of the distinct sets/groups) and “d”…

    • 971 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    Furthermore, guidelines considering the selection of algorithms and input parameters for the MHNSGA algorithm are resulted from the analysis of real-world databases. When it comes to solving the controller placement problem with tens of millions placements for which performing the exhaustive evaluation requires a considerable amount of time and memory budget, our proposed heuristic approach is an appropriate choice. As described before, for such these large-scale instances, it is only possible to calculate an upper bound for evaluated placements and nothing can be expressed about the obtained accuracy of the heuristic algorithm. This is due to not existing the actual Pareto optimal solutions and hence, the absence of reference data to compare.…

    • 404 Words
    • 2 Pages
    Improved Essays
  • Improved Essays

    Morgan Case Study

    • 510 Words
    • 3 Pages

    In the Morgan article provides an interesting case study on how an archaeologist can use a GIS-based spatial analysis to reconstruct a prehistoric foraging radii to determine different foraging behaviors. The main idea that Morgan presents throughout the article is the concept of the foraging radius. The term foraging radius refers to the daily distance hunter gatherers travel from residential bases. Residential bases may include place where hunter gatherers sleep and places where their family and/or large social group resides to obtain food and other resources for survival. Even though information on the foraging radius is available through ethnographic data, it is still exceedingly difficult to identify a prehistoric foraging radius.…

    • 510 Words
    • 3 Pages
    Improved Essays
  • Decent Essays

    Foster-Powell is a triangle-shape residential neighborhood, this neighborhood is surrounded by Foster Road and 82nd Avenue. I had totally spend more than two and half hours at this place. You might think I was drawn to the this area, but actually I got lost and couldn't found the way to get out of here. Anyway, I think this area was pretty suitable for living, the road was wide and there were a lot of great afforested plant in the front of the houses. The vehicles were not crowded and there were some bus stops in the middle of this neighborhood for people easy to access the neighborhood to other places…

    • 403 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    2.1.1 Algorithm for Linear Search Procedure Linear_Search (A[1…n] , item) //item= required element. { For ( i=0 ; i<=n ; i++) { if ( A[i] == item) return i; break; } //end if }//end loop //end Procedure [4] 2.2 Binary search tree Binary search tree is also known as half-interval search or binary chop. [6] Increasing the information leads to increase the speed of searching operations and more effective so the data must be ordered therefore this search algorithm searches only in a sorted array by finding the index of the position of the required element. [7]…

    • 235 Words
    • 1 Pages
    Improved Essays
  • Decent Essays

    Aa Route Planner Essay

    • 534 Words
    • 3 Pages

    AA Route Planner Phone Numbers AA Route Planner Breakdown Cover Free Number 0800 085 2721 The AA Route Planner breakdown cover free number is 0800 085 2721. AA Route Planner is a facility offered to the UK travellers. It computes the shortest and the safest travelling ways to reach a destination safely. Further, the AA Route Planner page has a search tool to explore travelling routes and other options.…

    • 534 Words
    • 3 Pages
    Decent Essays
  • Improved Essays

    Many people wish to travel the around the world and meet new places. I would say that the destination you are going to is important, but who you are going with on the trip is crucial. Some people make excellent traveling companions, while others not so much. Two characters that would make great traveling companions would be Montresor from “The Cask of Amontillado” by Edgar Allan Poe and Arnold Friend from “Where Are You Going, Where Have You Been” by Carol Joyce Oates. They would travel to Las Vegas where they would take advantage of vulnerable people.…

    • 543 Words
    • 3 Pages
    Improved Essays
  • Decent Essays

    1. If you go to the department store. Then you have a problem parking full, if you have a systematic parking system, such as when you go to the parking lot. The system will be able to find the park for you. By telling a clear park location.…

    • 62 Words
    • 1 Pages
    Decent Essays
  • Improved Essays

    Transportation simulations require a corridor or region-wide traffic network with adequate resolution to properly depict vehicle movements and traffic dynamics. Usually, a transportation simulation or traffic analysis network is a subset of detailed commercial digital road network. It usually only includes higher-class roadways, such as freeway, ramps, highways, major arterials, etc. and excludes lower-class roadways, such as, minor or local streets. This widely accepted practice is partly based on that the local streets generally have no significance in serving commuting traffic in most cities. However, this proposition may no longer hold true in cities with dense network connectivity and the local streets cannot be ignored, like New York…

    • 163 Words
    • 1 Pages
    Improved Essays
  • Improved Essays

    The main purpose of this research is to test the hypothesis that psychological trauma can be a predictive factor of criminal sentiments. There are several related studies about the subject in other countries, but their focus is on the antisocial personality, criminal behavior and not on the cognition. Also in the Philippines, there is a very limited number of studies conducted that are related to the relationship between psychological trauma and antisocial personality, but there is not even one that directly investigated the relationship between psychological trauma and criminal sentiments, which makes this study very relevant and timely. Moreover, this research gives significant contribution and benefit under the light of the following reasons: For the respondents.…

    • 618 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Compared to other system, which may required a complex infrasturcture and highly capable person in order to capture the knowledge, KNOVA can easily eliminated the process as it can integrates content accross the organization. The adpative nature of KNOVA also can increase the accuracy future search as it will learn to the search pattern used by the…

    • 723 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    AMD Case Study

    • 978 Words
    • 4 Pages

    AMD has incorporated strategies that integrates IT solutions across all the teams with the help of IT to support efficient and responsive supply chain management. A standard ERP (Enterprise Resource Planning) system, SAP has been adopted. AMD uses hybrid Push-Pull: Batch dynamic production controls. Current supply chain challenges that AMD is facing: • Economic uncertainty due to global presence • Pressures from competition • Sensitive towards cost • Different technical challenges • Strong emerging markets • Environment is now too sensitive…

    • 978 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    The Importance Of Supply Chain Management

    • 888 Words
    • 4 Pages
    • 4 Works Cited

    Short distance can take the route of trucking, packaging and a great example of this is Wal-Mart "hub and spoke" system where the hub was the distribution centers and the "spoke" was the local stores. Same way Wal-Mart revolutionized the supply chain system, Amazon's futuristic drone delivery is looking very promising. The long distance shipment takes the route of railroad, air, package water, and pipeline. The rail is used for long distance, bulk items, and slower process compared to trucking. Trucking is for getting from point A to B to point C.…

    • 888 Words
    • 4 Pages
    • 4 Works Cited
    Improved Essays
  • Improved Essays

    I am a student of electrical and electronic Engineering and I like taking up my further studies with an outlook of innovative research. I frame my goals in that direction and put up the hard work to realize them as I strongly believe that the hard work is the key to success. I have a strong feeling that whatever the goals I have and whatever the strong frame work I prepare, the set goals may not be realized unless there is congenial academic environment and also an efficient academic agency to guide us to grow into set direction from our embryonic stage, tapping all potentials. Therefore, my desire to explore all possibilities to have a comprehensive research based study in the field of electrical and electronics, led me to apply to your university…

    • 815 Words
    • 4 Pages
    Improved Essays