APPLICATION OF PARTICLE SWARM
OPTIMIZATION IN 3-DIMENSIONAL
TRAVELLING SALESMAN PROBLEM
ONTHE GLOBE
Maad M. Mijwel
2016
Travelling Salesman Problem
• TSP is a problem that must be solved by a salesperson who must travel back to
the starting point by traveling all cities in the list with minimal cost.
• Criteria to be optimized in the problem can be cost, time, money or distance
values
• The Traveling Salesman Problem (TSP) can be expressed as a Hamiltonian cycle
that is used in modeling data in computer science and handled within the
framework of graph theory.
Particle Swarm Optimization
• Particle Swarm Optimization (PSO), one of the meta-heuristic methods used to solve
optimization problems, Eberhart and Dr. It is an intuitive optimization technique that is
categorized by population-based herd intelligence developed by Kennedy.
• Sharing information in birds and fish, like people speaking or otherwise sharing information,
points to social intelligence.
• The PSO was developed by inspiring birds to use each other in their orientation and inspired by
the social behavior of fish swarms.
• In PSO, the individuals forming the population are called particles, each of which is assumed to
move in the state space, and each piece carries its potential solution.
• Each piece can remember the best situation and the particles can exchange information
among themselves.
IMPLEMENTING THEWORKER AND IMPORTANT
• In this work,TSP is solved by PSO algorithm for randomly placed points on the sphere from 3D shapes.
• With this study, it is possible to make use of this method for each criterion to optimize the flights that
the aircraft, such as jet or plane, moving on the surface of the earth that first comes to mind with
spherical similarity.
Sphere Mathematics
• The sphere is a three-dimensional object, an object created by the
equidistant points from a fixed point in space. Each point spreads at
an equal distance (radius r) from the center of the globe in three
dimensions (x, y, z) is located on the surface of the globe.
• 𝑟 = 𝑥2 + 𝑦2 + 𝑧2
• The circle passing through the center of the globe and bounded by the sphere
is large.The great circle on earth is the equator of the world.
• The larger circle becomes more important when it is made aware of the
shortest distance between two points on the sphere along its lower section.
• The shortest path between two points is called geodesic.
Sphere Mathematics
Mathematical Presentation of Points on the Sphere
• Inclined echolastic surfaces are two-dimensional objects, whose positions on the surface are defined
by the u and v parameters. A coordinate position on the surface is represented by the parametric
vector function in the function of the u and v parameters for the Cartesian coordinate values x, y, z.
• 𝑃 (𝑢) = (𝑥 (𝑢, 𝑣) 𝑦 (𝑢, 𝑣) 𝑧 (𝑢, 𝑣))
• Each coordinate value is a function of two surface parameters u and v that can vary from 0 to 1.
• Coordinates are expressed by the following equations for a spherical surface originating at the center,
where r is the radius of curvature.
• 𝑥 (𝑢, 𝑣) = 𝑟.cos (2π𝑢) .sin (π𝑣)
• 𝑦 (𝑢, 𝑣) = 𝑟.sin (2π𝑢) .sin (π𝑣)
• 𝑧 (𝑢, 𝑣) = 𝑟.cos (π𝑣)
• The u parameter describes the constant latitude lines on the surface and the v parameter describes the
fixed longitude lines.
• x, y, z coordinates for different values of u and v parameters:
u v x y z
0 0 0 0 1
0 0.5 1 0 6.123233e-17
0 1 1,224646e-16 0 -1
0.5 0 0 0 1
0.5 0.5 -1 1.224646e-16 6.123233e-17
0.5 1 -1.224646e-16 1.499759e-32 -1
1 0 0 0 1
1 0.5 1 -2.449293e-16 6.123233e-17
1 1 1.224646e-16 -2.999519e-32 -1
Mathematical Presentation of Points on the Sphere
Finding the shortest distance between two points on the globe
The shortest distance between two points (p1, p2) on a spherical
surface is the arc length of the large space.
That is, V1 and V2 can be used as the angle of theta (θ) in radians
between two vectors.
V1 · V2 = P1XP2X + P1YP2Y + P1ZP2Z
the shortest path formula is as follows:
θ = arccos( V1 · V2 )
The problem is that EuclideanTSP is different.
Because the shortest distance between ((pi and pj) ) 2 points is calculated as the 3D Euclidean distance in the
3D EuclideanTSP, our problem is calculated using the arc length.
The distance matrix of the points on the sphere is the same as the symmetric TSP. Distance (pi : pj) =
Distance (pj : pi)
Unit Sphere Surface-On-TSP Solution Using PSO
• TheTSP to be applied on the sphere differs from normalTSP problems.
• The salesperson can only navigate points located on the surface of the sphere.
• The only different restriction on this problem is that the points are on the surface, not inside the circle.
• In this study, solutions were developed for a certain number of point clusters using PSO.
PSO's probing-adapted general structure
For each particle
Bring fragment to start position
End
Do
For each particle
Calculate eligibility value (turn length)
If the eligibility value (lap length) is better than pbest,
Set the current tour length as new pbest
End
Set the best of the pbest values found by all the particles to
the gbest of all the particles (the shortest lap length)
For each particle
Calculate the velocities of particles
Update particle locations
End
While the maximum number of iterations or until a minimum
error condition is reached.
• According to this general structure, initially the starting individuals of the PSO algorithm are created
randomly.
• A distance matrix is created in which all the points of each of the points are kept at distances.
• With the distance matrix, the fitness values of each individual are calculated.
• Individuals with minimum turn length from individuals are identified as global best.
• After finding these two best values; particle, velocity and position are updated in order.
   1
1 1 2 2. . . . .k k k k k k k k
i i i i iv wv c rand pbest x c rand gbest x
    
1 1k k k
i i ix x v 
 
Unit Sphere Surface-On-TSP Solution Using PSO
Experimental Results
Simulation results are presented in unit sphere (r = 1)
N = 100, 150, 200, 250, 300, 350, 400 points.The simulations were repeated 100 times for each value of
N.At each trial, a random point cloud was created.
Point Numbers
100 150 200 250 300 350 400
133,1503 205,3276 280,1300 354,6136 428,9046 503,5720 578,7485
132,2149 203,9083 278,0525 352,9967 426,2686 501,8394 575,7905
131,6228 202,8926 277,5403 351,1674 425,9008 500,4234 574,9534
130,8192 201,8222 276,3966 350,2219 424,7062 499,4872 573,5802
129,7220 200,9317 275,0707 349,7115 423,4063 498,6680 572,6015
Average sphericalTSP lap lengths calculated with PSO for N = 100, 150, 200, 250, 300, 350, 400 points on a curtain
surface.
0
100
200
300
400
500
600
700
10 20 30 40 50
TourLengths
Number of Evolution
PSO
100
150
200
250
300
350
400
Experimental Results
If two points are to be visited and they are opposite points on the unit sphere (to return to the starting
point), the GlobalTSP lap length is approximately 2𝜋𝑟 = 6,283,185.
Experimental Results
Transparent and solid views of Minimum Rounds for Randomly Placed 100, 250 and 400 Points on the Globe
Experimental Results
Conclusions and Recommendations
• The adaptation of theTSP to the sphere and the proposed method are especially important for the movement
planning on the surface of the earth.
• Planes etc. moving through the earth's surface. vehicles can benefit from this method in optimizing problems
such as cost-time in the travel of coordinates for certain reasons such as transportation, travel, defense.
• It will be useful in this work to understand particle behaviors on every global object in the real world.
• In future studies, other methods used in theTSP solution (eg Ant Colony Optimization-ACO) can be tested in
the globalTSP solution.Also PSO and ACO etc. GlobalTSP problems can be addressed by using hybrid and
hierarchical methods.
• This method can also be tested on the geometric shapes that can actually be adapted as well as on the curtain.
Teşekkür Ederim.
Maad M. Mijwel
2016

More Related Content

PPSX
Particle Swarm optimization
PPT
Bic pso
PPT
PSO.ppt
PPTX
A New Multi-Objective Mixed-Discrete Particle Swarm Optimization Algorithm
PPT
PSO and Its application in Engineering
PPTX
Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...
PPTX
Particle Swarm Optimization
PDF
Pso kota baru parahyangan 2017
Particle Swarm optimization
Bic pso
PSO.ppt
A New Multi-Objective Mixed-Discrete Particle Swarm Optimization Algorithm
PSO and Its application in Engineering
Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...
Particle Swarm Optimization
Pso kota baru parahyangan 2017

What's hot (20)

PPTX
Practical Swarm Optimization (PSO)
PPTX
Particle Swarm Optimization
PDF
Particle Swarm Optimization
PPTX
Particle swarm optimization
PDF
Pso introduction
PPT
metaheuristic tabu pso
PDF
Machine Learning Tools and Particle Swarm Optimization for Content-Based Sear...
PPT
SI and PSO --Machine Learning
PPTX
Particle swarm optimization
PDF
Particle Swarm Optimization Matlab code Using 50, 5000 Swarms
PPTX
Particle swarm optimization
PPTX
TEXT FEUTURE SELECTION USING PARTICLE SWARM OPTIMIZATION (PSO)
PPTX
Particle swarm optimization
PPTX
Particle swarm optimization
PDF
Particle Swarm Optimization: The Algorithm and Its Applications
PPTX
DriP PSO- A fast and inexpensive PSO for drifting problem spaces
PPTX
Particle Swarm Optimization by Rajorshi Mukherjee
PPTX
Particle swarm optimization
PPTX
Particle Swarm Optimization (A Circuit Optimization Problem)
Practical Swarm Optimization (PSO)
Particle Swarm Optimization
Particle Swarm Optimization
Particle swarm optimization
Pso introduction
metaheuristic tabu pso
Machine Learning Tools and Particle Swarm Optimization for Content-Based Sear...
SI and PSO --Machine Learning
Particle swarm optimization
Particle Swarm Optimization Matlab code Using 50, 5000 Swarms
Particle swarm optimization
TEXT FEUTURE SELECTION USING PARTICLE SWARM OPTIMIZATION (PSO)
Particle swarm optimization
Particle swarm optimization
Particle Swarm Optimization: The Algorithm and Its Applications
DriP PSO- A fast and inexpensive PSO for drifting problem spaces
Particle Swarm Optimization by Rajorshi Mukherjee
Particle swarm optimization
Particle Swarm Optimization (A Circuit Optimization Problem)
Ad

Similar to Application of particle swarm optimization in 3 dimensional travelling salesman problem on the globe (20)

PDF
EMFT course first slide ceated by sir of duet electronic department
PPT
Basic concepts of physics-Physics 101 castoldi
PPTX
Chapter 1 units,physicalquantities and vectors
PPTX
Mathematical Understanding in Traffic Flow Modelling
PDF
Finding Meaning in Points, Areas and Surfaces: Spatial Analysis in R
PPT
localzation the best one goooooooood.ppt
PDF
Fundamentals of Physics "MOTION IN TWO AND THREE DIMENSIONS"
PDF
FEEG1002_Dynamics - 2 CurvilinearMotion-NoNarr(1).pdf
PPTX
Vehicle Routing Problem using PSO (Particle Swarm Optimization)
PDF
Final Report
PDF
Introduction geostatistic for_mineral_resources
PPTX
ODSC India 2018: Topological space creation & Clustering at BigData scale
PPTX
MOTION CLASS 9 PPT DAV CMC.pptxjjjjjjjjj
PDF
Jee advanced-2020-paper-1-solution
PDF
Movimiento en dos y tres dimensiones
PPT
Velocity ok
PPTX
6.1 synthsis of the mechanism
PPTX
Coordinate system 1st
PPTX
Analytical geometry
PPSX
Displacement and weight of Ship
EMFT course first slide ceated by sir of duet electronic department
Basic concepts of physics-Physics 101 castoldi
Chapter 1 units,physicalquantities and vectors
Mathematical Understanding in Traffic Flow Modelling
Finding Meaning in Points, Areas and Surfaces: Spatial Analysis in R
localzation the best one goooooooood.ppt
Fundamentals of Physics "MOTION IN TWO AND THREE DIMENSIONS"
FEEG1002_Dynamics - 2 CurvilinearMotion-NoNarr(1).pdf
Vehicle Routing Problem using PSO (Particle Swarm Optimization)
Final Report
Introduction geostatistic for_mineral_resources
ODSC India 2018: Topological space creation & Clustering at BigData scale
MOTION CLASS 9 PPT DAV CMC.pptxjjjjjjjjj
Jee advanced-2020-paper-1-solution
Movimiento en dos y tres dimensiones
Velocity ok
6.1 synthsis of the mechanism
Coordinate system 1st
Analytical geometry
Displacement and weight of Ship
Ad

Recently uploaded (20)

PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PDF
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
PDF
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
PDF
Co-training pseudo-labeling for text classification with support vector machi...
PPTX
Microsoft User Copilot Training Slide Deck
PDF
Planning-an-Audit-A-How-To-Guide-Checklist-WP.pdf
PDF
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PDF
SaaS reusability assessment using machine learning techniques
PPTX
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PDF
Lung cancer patients survival prediction using outlier detection and optimize...
DOCX
Basics of Cloud Computing - Cloud Ecosystem
PDF
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
PPTX
future_of_ai_comprehensive_20250822032121.pptx
PDF
Comparative analysis of machine learning models for fake news detection in so...
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
Convolutional neural network based encoder-decoder for efficient real-time ob...
sbt 2.0: go big (Scala Days 2025 edition)
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
Co-training pseudo-labeling for text classification with support vector machi...
Microsoft User Copilot Training Slide Deck
Planning-an-Audit-A-How-To-Guide-Checklist-WP.pdf
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
SaaS reusability assessment using machine learning techniques
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
Lung cancer patients survival prediction using outlier detection and optimize...
Basics of Cloud Computing - Cloud Ecosystem
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
future_of_ai_comprehensive_20250822032121.pptx
Comparative analysis of machine learning models for fake news detection in so...
AI.gov: A Trojan Horse in the Age of Artificial Intelligence

Application of particle swarm optimization in 3 dimensional travelling salesman problem on the globe

  • 1. APPLICATION OF PARTICLE SWARM OPTIMIZATION IN 3-DIMENSIONAL TRAVELLING SALESMAN PROBLEM ONTHE GLOBE Maad M. Mijwel 2016
  • 2. Travelling Salesman Problem • TSP is a problem that must be solved by a salesperson who must travel back to the starting point by traveling all cities in the list with minimal cost. • Criteria to be optimized in the problem can be cost, time, money or distance values • The Traveling Salesman Problem (TSP) can be expressed as a Hamiltonian cycle that is used in modeling data in computer science and handled within the framework of graph theory.
  • 3. Particle Swarm Optimization • Particle Swarm Optimization (PSO), one of the meta-heuristic methods used to solve optimization problems, Eberhart and Dr. It is an intuitive optimization technique that is categorized by population-based herd intelligence developed by Kennedy. • Sharing information in birds and fish, like people speaking or otherwise sharing information, points to social intelligence. • The PSO was developed by inspiring birds to use each other in their orientation and inspired by the social behavior of fish swarms. • In PSO, the individuals forming the population are called particles, each of which is assumed to move in the state space, and each piece carries its potential solution. • Each piece can remember the best situation and the particles can exchange information among themselves.
  • 4. IMPLEMENTING THEWORKER AND IMPORTANT • In this work,TSP is solved by PSO algorithm for randomly placed points on the sphere from 3D shapes. • With this study, it is possible to make use of this method for each criterion to optimize the flights that the aircraft, such as jet or plane, moving on the surface of the earth that first comes to mind with spherical similarity.
  • 5. Sphere Mathematics • The sphere is a three-dimensional object, an object created by the equidistant points from a fixed point in space. Each point spreads at an equal distance (radius r) from the center of the globe in three dimensions (x, y, z) is located on the surface of the globe. • 𝑟 = 𝑥2 + 𝑦2 + 𝑧2
  • 6. • The circle passing through the center of the globe and bounded by the sphere is large.The great circle on earth is the equator of the world. • The larger circle becomes more important when it is made aware of the shortest distance between two points on the sphere along its lower section. • The shortest path between two points is called geodesic. Sphere Mathematics
  • 7. Mathematical Presentation of Points on the Sphere • Inclined echolastic surfaces are two-dimensional objects, whose positions on the surface are defined by the u and v parameters. A coordinate position on the surface is represented by the parametric vector function in the function of the u and v parameters for the Cartesian coordinate values x, y, z. • 𝑃 (𝑢) = (𝑥 (𝑢, 𝑣) 𝑦 (𝑢, 𝑣) 𝑧 (𝑢, 𝑣)) • Each coordinate value is a function of two surface parameters u and v that can vary from 0 to 1. • Coordinates are expressed by the following equations for a spherical surface originating at the center, where r is the radius of curvature. • 𝑥 (𝑢, 𝑣) = 𝑟.cos (2π𝑢) .sin (π𝑣) • 𝑦 (𝑢, 𝑣) = 𝑟.sin (2π𝑢) .sin (π𝑣) • 𝑧 (𝑢, 𝑣) = 𝑟.cos (π𝑣) • The u parameter describes the constant latitude lines on the surface and the v parameter describes the fixed longitude lines.
  • 8. • x, y, z coordinates for different values of u and v parameters: u v x y z 0 0 0 0 1 0 0.5 1 0 6.123233e-17 0 1 1,224646e-16 0 -1 0.5 0 0 0 1 0.5 0.5 -1 1.224646e-16 6.123233e-17 0.5 1 -1.224646e-16 1.499759e-32 -1 1 0 0 0 1 1 0.5 1 -2.449293e-16 6.123233e-17 1 1 1.224646e-16 -2.999519e-32 -1 Mathematical Presentation of Points on the Sphere
  • 9. Finding the shortest distance between two points on the globe The shortest distance between two points (p1, p2) on a spherical surface is the arc length of the large space. That is, V1 and V2 can be used as the angle of theta (θ) in radians between two vectors. V1 · V2 = P1XP2X + P1YP2Y + P1ZP2Z the shortest path formula is as follows: θ = arccos( V1 · V2 ) The problem is that EuclideanTSP is different. Because the shortest distance between ((pi and pj) ) 2 points is calculated as the 3D Euclidean distance in the 3D EuclideanTSP, our problem is calculated using the arc length. The distance matrix of the points on the sphere is the same as the symmetric TSP. Distance (pi : pj) = Distance (pj : pi)
  • 10. Unit Sphere Surface-On-TSP Solution Using PSO • TheTSP to be applied on the sphere differs from normalTSP problems. • The salesperson can only navigate points located on the surface of the sphere. • The only different restriction on this problem is that the points are on the surface, not inside the circle. • In this study, solutions were developed for a certain number of point clusters using PSO.
  • 11. PSO's probing-adapted general structure For each particle Bring fragment to start position End Do For each particle Calculate eligibility value (turn length) If the eligibility value (lap length) is better than pbest, Set the current tour length as new pbest End Set the best of the pbest values found by all the particles to the gbest of all the particles (the shortest lap length) For each particle Calculate the velocities of particles Update particle locations End While the maximum number of iterations or until a minimum error condition is reached.
  • 12. • According to this general structure, initially the starting individuals of the PSO algorithm are created randomly. • A distance matrix is created in which all the points of each of the points are kept at distances. • With the distance matrix, the fitness values of each individual are calculated. • Individuals with minimum turn length from individuals are identified as global best. • After finding these two best values; particle, velocity and position are updated in order.    1 1 1 2 2. . . . .k k k k k k k k i i i i iv wv c rand pbest x c rand gbest x      1 1k k k i i ix x v    Unit Sphere Surface-On-TSP Solution Using PSO
  • 13. Experimental Results Simulation results are presented in unit sphere (r = 1) N = 100, 150, 200, 250, 300, 350, 400 points.The simulations were repeated 100 times for each value of N.At each trial, a random point cloud was created. Point Numbers 100 150 200 250 300 350 400 133,1503 205,3276 280,1300 354,6136 428,9046 503,5720 578,7485 132,2149 203,9083 278,0525 352,9967 426,2686 501,8394 575,7905 131,6228 202,8926 277,5403 351,1674 425,9008 500,4234 574,9534 130,8192 201,8222 276,3966 350,2219 424,7062 499,4872 573,5802 129,7220 200,9317 275,0707 349,7115 423,4063 498,6680 572,6015 Average sphericalTSP lap lengths calculated with PSO for N = 100, 150, 200, 250, 300, 350, 400 points on a curtain surface.
  • 14. 0 100 200 300 400 500 600 700 10 20 30 40 50 TourLengths Number of Evolution PSO 100 150 200 250 300 350 400 Experimental Results
  • 15. If two points are to be visited and they are opposite points on the unit sphere (to return to the starting point), the GlobalTSP lap length is approximately 2𝜋𝑟 = 6,283,185. Experimental Results
  • 16. Transparent and solid views of Minimum Rounds for Randomly Placed 100, 250 and 400 Points on the Globe Experimental Results
  • 17. Conclusions and Recommendations • The adaptation of theTSP to the sphere and the proposed method are especially important for the movement planning on the surface of the earth. • Planes etc. moving through the earth's surface. vehicles can benefit from this method in optimizing problems such as cost-time in the travel of coordinates for certain reasons such as transportation, travel, defense. • It will be useful in this work to understand particle behaviors on every global object in the real world. • In future studies, other methods used in theTSP solution (eg Ant Colony Optimization-ACO) can be tested in the globalTSP solution.Also PSO and ACO etc. GlobalTSP problems can be addressed by using hybrid and hierarchical methods. • This method can also be tested on the geometric shapes that can actually be adapted as well as on the curtain.