American Journal of Computational and Applied Mathematics
p-ISSN: 2165-8935 e-ISSN: 2165-8943
2021; 11(4): 71-77
doi:10.5923/j.ajcam.20211104.01
Received: Dec. 2, 2021; Accepted: Dec. 22, 2021; Published: Dec. 24, 2021

Ahmed Salam Najat, Douglas Kwasi Boah
Department of Mathematics, C. K. Tedam University of Technology and Applied Sciences, Navrongo, Ghana
Correspondence to: Douglas Kwasi Boah, Department of Mathematics, C. K. Tedam University of Technology and Applied Sciences, Navrongo, Ghana.
| Email: | ![]() |
Copyright © 2021 The Author(s). Published by Scientific & Academic Publishing.
This work is licensed under the Creative Commons Attribution International License (CC BY).
http://creativecommons.org/licenses/by/4.0/

A travelling salesperson problem is where a salesperson starts from one place, visits all other required places once and returns to the initial point such that the overall covered distance is minimized. In this thesis, the concept of Travelling Salesperson Problem has been successfully used to analyze the operating characteristics of fruits’ seller in Bolgatanga in the Upper East Region of Ghana. The fruits’ seller was interviewed to find out the usual routes traversed by her to serve her scattered customers. Based on her responses, her daily routes and the various distances between each pair of customer locations were obtained from the Lands Commission in Bolgatanga in the Upper East Region of Ghana. A matrix of the shortest distances between pairs of customer locations in meters was then constructed and solved using Version 3 of TSP Solver and Generator which is based on the Branch and Bound Algorithm. The study has determined an optimal operating path for the fruits’ seller. It has also determined an optimal daily distance for the fruits’ seller. It is recommended that the fruits’ seller should always use the determined optimal operating path so as to minimize the total distance covered daily. Also, other hawkers should make conscious efforts to find out their optimal operating paths so as to minimize the total distances covered daily.
Keywords: Travelling Salesperson Problem, Fruits’ Seller, Optimal Operating Path, Optimal Daily Distance, Branch and Bound Algorithm, Customer Locations
Cite this paper: Ahmed Salam Najat, Douglas Kwasi Boah, Analysis of the Operating Characteristics of Fruits’ Seller in Bolgatanga as a Travelling Salesperson Problem, American Journal of Computational and Applied Mathematics , Vol. 11 No. 4, 2021, pp. 71-77. doi: 10.5923/j.ajcam.20211104.01.
(Minimize total cost of tour)Subject to
(Leave each city exactly once)
(Visit each city exactly once)
is a binary decision variable){(i, j):
= 1, i, j = 2, …, n} (does not contain subtour)The maximum or total number of tours in an n-city problem is (n – 1)! (Taha [29]). For example, a 6-city problem will have (6 – 1)! = 5! = 120 tours. There are both exact and non-exact methods for solving TSPs. There exist two categories of the exact methods. One of them is by solving relaxation of the Linear Programming formulation of the TSP. It usually uses approaches like Interior Point Method, Cutting Plane Algorithm, Branch-and-Bound and Branch-and-Cut Method. The other category which is smaller is by means of Dynamic Programming. The main characteristic of both categories is a guarantee or assurance of obtaining optimal solutions regardless of space requirements and running time.Non-exact solutions offer possibly non-ideal regularly quicker solutions in a manner which contrarily compromises the exact or specific solution methods. Some of the non-exact solution methods for the TSP are Heuristics, Simulated Annealing, Tabu Search, Ant Colony Optimization and Genetic Algorithms. The exact method namely Branch and Bound Algorithm or Method was the main method used in the study. The notion or idea of the Branch and Bound Algorithm or Method is to commence or begin with the optimal solution of the associated assignment problem. If the solution is a tour, the process terminates or ends. Otherwise, restrictions are imposed on the resulting solution to disallow subtours. The idea is to create branches that assign a zero value to each of the variables of one of the subtours. Usually, the subtour with the smallest number of cities is selected for branching because it creates the smallest number of branches. If the solution of the assignment problem at any node is a tour, its objective value provides an upper bound on the optimum tour length. If it does not, further branching at the node is required. A subproblem is fathomed if it yields a smaller upper bound, or if there is evidence that it cannot lead to a better upper bound. The optimum tour is given at the node with the smallest upper bound. For a detailed discussion of Branch and Bound Algorithm or Methods for solving TSPs and TSP as a whole, the interested reader is referred to Sharma [30] and Taha [29].
|
![]() | Table 2. A matrix of the shortest distances between pairs of customer locations in meters |
![]() | Figure 1. Daily routes of the fruits’ seller and distances between pairs of customer locations in meters |
Carpentry shop
Post office
Jubilee park
Straw market
GCB
NIB
Old market
Taxi rank
Ayia street
Kotokoli line
Transport station
Goil filling station
Abattoir
New market
Cola market
OA MTN office
Fruits seller’s house with their corresponding distances being 348.69 + 264.76 + 428.28 + 190.15 + 189.21 + 93.21 + 148.02 + 264.88 + 323.94 + 326.58 + 96.92 + 250.00 + 140.38 + 366.90 + 3691.34 + 1039.25 + 207.97 = 5370.48 m.Route 2Fruits seller’s house
OA MTN Office
Cola market
Abattoir
New market
Jubilee park
Straw market
Kotokoli line
Transport station
Goil filling station
Ayia street
Taxi rank
Old market
NIB
GCB
Post office
Carpentry shop
Fruits seller’s house with their corresponding distances being 207.97 + 1039.25 + 395.15 + 366.90 + 548.58 + 190.15 + 232.21 + 96.92 + 250.00 + 194.57 + 323.94 + 264.88 + 148.02 + 93.21 + 229.63 + 348.69 = 5194.83 m.Route 3Fruits seller’s house
Carpentry shop
NIB
GCB
Post office
Jubilee park
Straw market
Kotokoli line
Old market
Taxi rank
Ayia street
Goil filling station
Transport station
New market
Abattoir
Cola market
OA MTN office
Fruits seller’s house with their corresponding distances being 348.69 + 306.77 + 93.21 + 229.63 + 428.28 + 190.15 + 232.21 + 275.33 + 264.88 + 323.94 + 194.57 + 250.00 + 310.10 + 366.90 + 395.15 + 1039.25 + 207.97 = 5457 m.Route 4Fruits seller’s house
OA MTN Office
Cola market
New market
Abattoir
Goil filling station
Transport station
Jubilee park
Straw market
Kotokoli line
Ayia street
Taxi rank
Old market
NIB
GCB
Post office
Carpentry shop
Fruits seller’s house with their corresponding distances being 207.97 + 1039.25 + 691.34 + 366.90 + 140.30 + 250.00 + 352.52 + 190.15 + 232.21 + 326.58 + 323.94 + 264.88 + 148.02 + 93.21 + 229.63 + 264.76 + 348.69 = 5470.33 m.Route 5Fruits seller’s house
Carpentry shop
NIB
GCB
Post office
Jubilee park
Straw market
Kotokoli line
Old market
Taxi rank
Ayia street
Goil filling station
Transport station
New market
Abattoir
Cola market
OA MTN office
Fruits seller’s house with their corresponding distances being 348.69 + 306.77 + 691.34 + 93.21 + 229.63 + 428.28 + 190.15 + 232.21 + 275.33 + 264.88 + 323.94 + 194.57 + 250.00 + 310.10 + 366.90 + 395.15 + 1039.25 + 207.03 = 5457.03 m.Optimality AnalysisIt should be recalled that, the maximum number of tours in an ‘n’ city situation is (n - 1)! In the case of this work, the total number of tours will be (17-1)! = 16! = 20922789888000. It was therefore practically impossible to determine all these numerous numbers of tours and pick the optimal tour out of them. Version 3 of TSP Solver and Generator developed by Serdiuk [31] which is based on the Branch and Bound Algorithm was then used to solve the problem presented in Table 2. The optimal solution is as given in Table 3.
|
2
3
8
11
10
9
7
6
5
4
13
14
15
12
16
17
1.The results can be interpreted as follows:Fruits Seller’s House (Starting Point)
Carpentry Shop
Post Office
Transport Station
Kotokoli Line
Ayia Street
Goil Filling Station
Abattoir
Cola Market
New Market
Jubilee Park
Straw Market
Ghana Commercial Bank
National Investment Bank
Old Market
Taxi Rank
OA (MTN Office)
Fruits Seller’s House (Starting Point) with an optimal distance of 5080.74m. The constructed network of the daily movements of the fruits’ seller can easily tell anyone the places visited daily by the fruits’ seller. This means that, one will not have struggle to know the daily movements of the fruits’ seller. The determined optimal operating paths for the fruits’ seller will help her to reduce or minimize the total distance traversed daily. This will in effect reduce the stress the fruits seller used to go through daily in serving her scattered customers. Bodily pains and for that matter hospital bills or income spent on drugs and medication will reduce drastically. Finally, the determined optimal daily distance for the fruits’ seller can easily tell anyone the total distance that should be covered daily by the fruits’ seller.