SlideShare a Scribd company logo
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

What's hot

Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)
khashayar Danesh Narooei
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm Optimization
QasimRehman
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm OptimizationStelios Petrakis
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationHanya Mohammed
 
Pso introduction
Pso introductionPso introduction
Pso introduction
rutika12345
 
PSO
PSOPSO
metaheuristic tabu pso
metaheuristic tabu psometaheuristic tabu pso
metaheuristic tabu pso
heba_ahmad
 
SI and PSO --Machine Learning
SI and PSO --Machine Learning SI and PSO --Machine Learning
SI and PSO --Machine Learning
Md. Shafiul Alam Sagor
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
Mahesh Tibrewal
 
Particle Swarm Optimization Matlab code Using 50, 5000 Swarms
Particle Swarm Optimization Matlab code Using 50, 5000 SwarmsParticle Swarm Optimization Matlab code Using 50, 5000 Swarms
Particle Swarm Optimization Matlab code Using 50, 5000 Swarms
Raza Shamsi
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
Abhishek Agrawal
 
TEXT FEUTURE SELECTION USING PARTICLE SWARM OPTIMIZATION (PSO)
TEXT FEUTURE SELECTION  USING PARTICLE SWARM OPTIMIZATION (PSO)TEXT FEUTURE SELECTION  USING PARTICLE SWARM OPTIMIZATION (PSO)
TEXT FEUTURE SELECTION USING PARTICLE SWARM OPTIMIZATION (PSO)
yahye abukar
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
Suman Chatterjee
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
Mahyar Mohaghegh
 
Particle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its ApplicationsParticle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its Applications
adil raja
 
DriP PSO- A fast and inexpensive PSO for drifting problem spaces
DriP PSO- A fast and inexpensive PSO for drifting problem spacesDriP PSO- A fast and inexpensive PSO for drifting problem spaces
DriP PSO- A fast and inexpensive PSO for drifting problem spaces
Zubin Bhuyan
 
Particle Swarm Optimization by Rajorshi Mukherjee
Particle Swarm Optimization by Rajorshi MukherjeeParticle Swarm Optimization by Rajorshi Mukherjee
Particle Swarm Optimization by Rajorshi Mukherjee
Rajorshi Mukherjee
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
anurag singh
 
Particle Swarm Optimization (A Circuit Optimization Problem)
Particle Swarm Optimization (A Circuit Optimization Problem)Particle Swarm Optimization (A Circuit Optimization Problem)
Particle Swarm Optimization (A Circuit Optimization Problem)
Hamid Reza
 

What's hot (20)

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

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

Chapter 1 units,physicalquantities and vectors
Chapter 1   units,physicalquantities and vectorsChapter 1   units,physicalquantities and vectors
Chapter 1 units,physicalquantities and vectors
PaouloDe
 
Mathematical Understanding in Traffic Flow Modelling
Mathematical Understanding in Traffic Flow ModellingMathematical Understanding in Traffic Flow Modelling
Mathematical Understanding in Traffic Flow Modelling
Nikhil Chandra Sarkar
 
Finding Meaning in Points, Areas and Surfaces: Spatial Analysis in R
Finding Meaning in Points, Areas and Surfaces: Spatial Analysis in RFinding Meaning in Points, Areas and Surfaces: Spatial Analysis in R
Finding Meaning in Points, Areas and Surfaces: Spatial Analysis in R
Revolution Analytics
 
Fundamentals of Physics "MOTION IN TWO AND THREE DIMENSIONS"
Fundamentals of Physics "MOTION IN TWO AND THREE DIMENSIONS"Fundamentals of Physics "MOTION IN TWO AND THREE DIMENSIONS"
Fundamentals of Physics "MOTION IN TWO AND THREE DIMENSIONS"
Muhammad Faizan Musa
 
Vehicle Routing Problem using PSO (Particle Swarm Optimization)
Vehicle Routing Problem using PSO (Particle Swarm Optimization)Vehicle Routing Problem using PSO (Particle Swarm Optimization)
Vehicle Routing Problem using PSO (Particle Swarm Optimization)
Niharika Varshney
 
Final Report
Final ReportFinal Report
Final ReportCan Liu
 
Introduction geostatistic for_mineral_resources
Introduction geostatistic for_mineral_resourcesIntroduction geostatistic for_mineral_resources
Introduction geostatistic for_mineral_resources
Adi Handarbeni
 
ODSC India 2018: Topological space creation & Clustering at BigData scale
ODSC India 2018: Topological space creation & Clustering at BigData scaleODSC India 2018: Topological space creation & Clustering at BigData scale
ODSC India 2018: Topological space creation & Clustering at BigData scale
Kuldeep Jiwani
 
Jee advanced-2020-paper-1-solution
Jee advanced-2020-paper-1-solutionJee advanced-2020-paper-1-solution
Jee advanced-2020-paper-1-solution
AnkitBiswas17
 
Movimiento en dos y tres dimensiones
Movimiento en dos y tres dimensionesMovimiento en dos y tres dimensiones
Movimiento en dos y tres dimensiones
jolopezpla
 
6.1 synthsis of the mechanism
6.1 synthsis of the mechanism6.1 synthsis of the mechanism
6.1 synthsis of the mechanism
Kiran Wakchaure
 
Coordinate system 1st
Coordinate system 1stCoordinate system 1st
Coordinate system 1st
HIMANSHU DIWAKAR
 
Analytical geometry
Analytical geometryAnalytical geometry
Analytical geometry
KalaivananRaja
 
Displacement and weight of Ship
Displacement and weight of ShipDisplacement and weight of Ship
Displacement and weight of Ship
Ahmed Taha
 
Summer 2012 Project Report
Summer 2012 Project ReportSummer 2012 Project Report
Summer 2012 Project ReportLalit Pradhan
 
EC6602-Antenna fundamentals
EC6602-Antenna fundamentals EC6602-Antenna fundamentals
EC6602-Antenna fundamentals
krishnamrm
 
Differential geometry three dimensional space
Differential geometry   three dimensional spaceDifferential geometry   three dimensional space
Differential geometry three dimensional space
Solo Hermelin
 
Run Or Walk In The Rain? (Orthogonal Projected Area of Ellipsoid)
Run Or Walk In The Rain? (Orthogonal Projected Area of Ellipsoid)Run Or Walk In The Rain? (Orthogonal Projected Area of Ellipsoid)
Run Or Walk In The Rain? (Orthogonal Projected Area of Ellipsoid)
iosrjce
 
Two Dimensional Shape and Texture Quantification - Medical Image Processing
Two Dimensional Shape and Texture Quantification - Medical Image ProcessingTwo Dimensional Shape and Texture Quantification - Medical Image Processing
Two Dimensional Shape and Texture Quantification - Medical Image Processing
Chamod Mune
 

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

Chapter 1 units,physicalquantities and vectors
Chapter 1   units,physicalquantities and vectorsChapter 1   units,physicalquantities and vectors
Chapter 1 units,physicalquantities and vectors
 
Mathematical Understanding in Traffic Flow Modelling
Mathematical Understanding in Traffic Flow ModellingMathematical Understanding in Traffic Flow Modelling
Mathematical Understanding in Traffic Flow Modelling
 
Finding Meaning in Points, Areas and Surfaces: Spatial Analysis in R
Finding Meaning in Points, Areas and Surfaces: Spatial Analysis in RFinding Meaning in Points, Areas and Surfaces: Spatial Analysis in R
Finding Meaning in Points, Areas and Surfaces: Spatial Analysis in R
 
Fundamentals of Physics "MOTION IN TWO AND THREE DIMENSIONS"
Fundamentals of Physics "MOTION IN TWO AND THREE DIMENSIONS"Fundamentals of Physics "MOTION IN TWO AND THREE DIMENSIONS"
Fundamentals of Physics "MOTION IN TWO AND THREE DIMENSIONS"
 
Vehicle Routing Problem using PSO (Particle Swarm Optimization)
Vehicle Routing Problem using PSO (Particle Swarm Optimization)Vehicle Routing Problem using PSO (Particle Swarm Optimization)
Vehicle Routing Problem using PSO (Particle Swarm Optimization)
 
Final Report
Final ReportFinal Report
Final Report
 
Introduction geostatistic for_mineral_resources
Introduction geostatistic for_mineral_resourcesIntroduction geostatistic for_mineral_resources
Introduction geostatistic for_mineral_resources
 
ODSC India 2018: Topological space creation & Clustering at BigData scale
ODSC India 2018: Topological space creation & Clustering at BigData scaleODSC India 2018: Topological space creation & Clustering at BigData scale
ODSC India 2018: Topological space creation & Clustering at BigData scale
 
Jee advanced-2020-paper-1-solution
Jee advanced-2020-paper-1-solutionJee advanced-2020-paper-1-solution
Jee advanced-2020-paper-1-solution
 
Movimiento en dos y tres dimensiones
Movimiento en dos y tres dimensionesMovimiento en dos y tres dimensiones
Movimiento en dos y tres dimensiones
 
Velocity ok
Velocity okVelocity ok
Velocity ok
 
6.1 synthsis of the mechanism
6.1 synthsis of the mechanism6.1 synthsis of the mechanism
6.1 synthsis of the mechanism
 
Coordinate system 1st
Coordinate system 1stCoordinate system 1st
Coordinate system 1st
 
Analytical geometry
Analytical geometryAnalytical geometry
Analytical geometry
 
Displacement and weight of Ship
Displacement and weight of ShipDisplacement and weight of Ship
Displacement and weight of Ship
 
Summer 2012 Project Report
Summer 2012 Project ReportSummer 2012 Project Report
Summer 2012 Project Report
 
EC6602-Antenna fundamentals
EC6602-Antenna fundamentals EC6602-Antenna fundamentals
EC6602-Antenna fundamentals
 
Differential geometry three dimensional space
Differential geometry   three dimensional spaceDifferential geometry   three dimensional space
Differential geometry three dimensional space
 
Run Or Walk In The Rain? (Orthogonal Projected Area of Ellipsoid)
Run Or Walk In The Rain? (Orthogonal Projected Area of Ellipsoid)Run Or Walk In The Rain? (Orthogonal Projected Area of Ellipsoid)
Run Or Walk In The Rain? (Orthogonal Projected Area of Ellipsoid)
 
Two Dimensional Shape and Texture Quantification - Medical Image Processing
Two Dimensional Shape and Texture Quantification - Medical Image ProcessingTwo Dimensional Shape and Texture Quantification - Medical Image Processing
Two Dimensional Shape and Texture Quantification - Medical Image Processing
 

Recently uploaded

Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
Pixlogix Infotech
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 

Recently uploaded (20)

Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 

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.