SlideShare a Scribd company logo
initialization methods for the tsp with time
windows using variable neighborhood
search
6th
International Conference on Information, Intelligence,
Systems and Applications (IISA 2015)
Christos Papalitsas*, Konstantinos Giannakis*, Dimitrios Theotokis*, Theodore
Andronikos*, and Angelo Sifaleras**
July 6, 2015
*Department of Informatics, Ionian University
**Department of Applied Informatics, University of Macedonia
0
preview of our study
∙ Travelling Salesman Problem (TSP)
∙ TSP with Time Windows
∙ Meta-heuristic procedures
∙ Variable Neighborhood Search
∙ Experimental results
∙ Sorted initial conditions ≯ Random initial conditions
1
introduction
tsp
∙ Numerous applications in many different areas (Artificial
Intelligence, Machine Learning, Software Technology etc).
∙ Symmetric TSP, Asymmetric TSP, Multiple TSP
∙ TSP is the problem of finding the shortest Hamiltonian cycle.
∙ NP-hard
∙ Significant in various fields, such as operational research and
theoretical computer science.
3
tsp formulation
∙ An undirected graph G = (V, E), if symmetrical.
∙ A directed graph G = (V, A), if asymmetric.
∙ The set V = {1,2,3, ..., n} is the set of vertices.
∙ E = {(i, j): i, j ∈V, i < j} is the set of the edges.
∙ By n we denote a number of cities (nodes).
∙ A cost matrix C = (ci,j) defined on E.
∙ Vertices can be points Pi = (Xi, Yi) in a 2-d space, and ci,j =
√
((Xi − Xi)2 + (Yi − Yj)2) is the Euclidean distance.
∙ The total number of possible paths is equal to (n-1)!/2.
4
tsp-tw tsp with time-windows
∙ TSP-TW is a variant of the TSP
∙ Cities (or customers) should be visited in a certain period (or
“window”).
∙ It limits the search tree because all TSP solutions are not
necessarily TSP-TW solutions.
∙ In TSP, any permutation of cities is a feasible solution, in TSP-TW
even the search of feasible solutions is difficult.
∙ NP-hard
∙ Given a depot, a set of customers, the service time (i.e., the time
that should be spent on client) and a time window (i.e., the start
and the expiration time), the TSP-TW problem refers to finding a
shortest path, which starts and ends at a given depot.
∙ Each customer has been only visited once before its expiry date!
5
tsp-tw
∙ Agent is allowed to reach the customer before its ready time,
but must wait.
∙ Feasible and infeasible paths.
∙ The cost of a path is the total distance traveled.
∙ Given graph G = (V, A), wherein V = {1,2, ..., n}. Suppose 0 indicates a
depot and A = (i, j): i, j ∈ V ∪ {0} is the set of arcs between clients.
∙ The traveling cost from i to j is represented by cij,
∙ It includes both the customer service time i, and the time it takes
to go from i to j.
∙ Each customer i is associated with a time window ai, bi (readiness
and maturity time).
∙ TSP-TW can be formulated as a TSP, satisfying all timing
constraints and minimizing the total distance traveled.
6
tsp-tw an example
Figure: A simple graphical example of TSP-TW with 5 nodes.
7
literature indicative works
∙ Dynamic programming approaches.
∙ Hybrid approaches, based on programming with constraints and
optimization techniques.
∙ Tabu search heuristics.
∙ Compressed annealing, (relaxed constraints of time window).
∙ New heuristics.
∙ A two-stage heuristic, based on VNS.
8
meta-heuristic methods an overview
∙ A meta-heuristic is a high level heuristic, designed to find,
create, or select a lower level heuristic.
∙ Ideal for problems with missing or incomplete information, or with
limited computing capacity.
∙ Meta-heuristic processes make assumptions about the problem.
∙ They do not guarantee a global optimal solution for each
category of problems.
∙ Many of them apply stochastic optimization.
∙ By searching in a large set of feasible solutions, the
meta-heuristic procedures can often find good solutions with
less computational effort
9
vns variable neighborhood search
∙ VNS is a meta-heuristic method for solving a set of
combinatorial problems and global optimization problems.
∙ VNS manages a local search method, which is iteratively applied
(iterated local search).
∙ This strategy is driven by three principles:
1. a local minimum for a neighborhood structure cannot be a local
minimum to a different neighborhood structure
2. a global minimum is a local minimum for all possible structures of
the neighborhood, and
3. a local minimum is closely related to the total minimum for many
classes of problems.
∙ Meta-heuristic local search is performed by selecting an initial
solution x, finding a descent direction of x, in a neighborhood
N(x) and moving towards the minimum of f(x) in the N(x) in the
same direction. If there is no direction of the descent, then the
heuristic stops; otherwise it is repeated.
10
our implementation
constructive phase of initial feasible solution
∙ Finding feasible solutions is hard.
∙ The objective function used in this process is the sum of all
positive differences between the time it takes to reach each
customer and end time, i.e.
n∑
i=1
max(0, vi − bi).
∙ The algorithm is executed iteratively until it finds a feasible
solution (a solution with objective function equal to zero).
∙ The algorithm generates a random or sorted, possibly
non-feasible solution.
∙ A local search process is applied in 1-shift neighborhood.
∙ Our implementation was coded in Java.
∙ We tested our algorithm with various benchmark problems.
12
the vns we used
∙ Based on Da Silva et al. and Mladenovic et al.
∙ Firstly, we constructed a feasibility distance matrix.
∙ The process from line 2 to the end is repeated until a feasible solution
is found.
∙ In the third line a random or sorted solution is generated.
∙ Level is used to determine the number of repetitions (maximum is 8 as
proposed by the literature).
∙ Before entering the loop, we perform a first local search.
13
local search
∙ 1-shift procedure.
∙ A violated node is a node that has been visited after its
expiration time.
∙ Two sets arise:
∙ the violated nodes (nodes that were visited after their due time)
and
∙ the non-violated nodes.
∙ We separate the main neighborhood in two new
sub-neighborhoods.
∙ It is important to define the ordering.
1. Move backwards violated nodes
2. Move forward not violated nodes
3. Move backwards not violated nodes
4. Move forward violated nodes
14
our contribution
∙ If a new best solution is found ⇒ level=1.
∙ If not, we increase the value of level parameter and continue to
the next iteration.
∙ The best solution is the one with the fewest violated nodes.
∙ If two solutions have the same number of violated nodes, then
we check for the cost.
∙ Contribution: the process of selecting an initial solution
∙ Random initial solutions.
∙ Sorted initial solutions (asc. based on the expiration time).
∙ In some cases it doesn’t work!
15
the meta-heuristic method we used example
(a) Pseudocode of the Meta-heuristic (b) Due time
example-Accessibility
condition
16
our results
random solution vs sorted solution
∙ Our tests showed that the sorting solution is not working
properly, and in general, it does not work for all ranges of time
windows (for some benchmarks).
∙ We generated three different data sets (instances not included
in other benchmark sets).
∙ All nodes were set with due time equal to zero.
∙ With due time equal to greater ready time plus one.
∙ With the same ready time and due time.
∙ We found that for some cases, this heuristic cannot provide
feasible solution if a sorted function is used for initialization.
∙ According to our research results, we show that a sorted initial
function is not even working for some data sets.
18
computational results random/sorted function comparative study
Name N M. WL B. S. Proposed by RSC RST -b. s. SSC SST -b. s.
n20w120 20 120 265.6 Ohlmann and Thomas (2007) 357.49 0.242 34% 371.78 0.081 39%
n20w140 20 140 232.8 Ohlmann and Thomas (2007) 337.05 0.222 44% 370.61 0.049 59%
n20w160 20 160 218.2 Ohlmann and Thomas (2007) 331.00 0.163 51% 398.08 0.031 82%
n20w180 20 180 236.6 Ohlmann and Thomas (2007) 336.58 0.413 42% 418.13 0.029 76%
n20w200 20 200 241.0 Ohlmann and Thomas (2007) 365.87 0.202 51% 414.70 0.052 72%
n40w120 40 120 360.0 Calvo (2000) 521.18 12.485 44% 549.97 0.265 52%
n40w140 40 140 348.4 Calvo (2000) 493.35 41.671 41% 563.83 0.320 61%
n40w160 40 160 326.8 Ohlmann and Thomas (2007) 482.20 146.295 47% 553.81 7.190 69%
n40w180 40 180 326.8 Calvo (2000) 532.49 121.664 62% 561.09 2.240 71%
n40w200 40 200 313.8 Ohlmann and Thomas (2007) 493.65 19.919 57% 558.65 1.163 78%
19
future work and discussion
∙ GVNS heuristic for solving the TSP-TW using Java.
∙ We concentrated on finding initial feasible solutions.
∙ Search for alternative random procedures with different
probability distributions (next step).
∙ TSP remains a standard point of reference in many applications.
∙ The intractability of TSP-TW problem depends not only on the
number of nodes, but also on the “width” of the time window.
20
key references
Bianchi, L., Dorigo, M., Gambardella, L. M., and Gutjahr, W. J.
A survey on metaheuristics for stochastic combinatorial optimization.
Natural Computing: an international journal 8, 2 (2009), 239–287.
Calvo, R. W.
A new heuristic for the traveling salesman problem with time windows.
Transportation Science 34, 1 (2000), 113–124.
Da Silva, R. F., and Urrutia, S.
A general vns heuristic for the traveling salesman problem with time windows.
Discrete Optimization 7, 4 (2010), 203–211.
Dumas, Y., Desrosiers, J., Gelinas, E., and Solomon, M. M.
An optimal algorithm for the traveling salesman problem with time windows.
Operations research 43, 2 (1995), 367–371.
Mladenović, N., and Hansen, P.
Variable neighborhood search.
Computers & Operations Research 24, 11 (1997), 1097–1100.
Mladenović, N., Todosijević, R., and Urošević, D.
An efficient gvns for solving traveling salesman problem with time windows.
Electronic Notes in Discrete Mathematics 39 (2012), 83–90.
Ohlmann, J. W., and Thomas, B. W.
A compressed-annealing heuristic for the traveling salesman problem with time windows.
INFORMS Journal on Computing 19, 1 (2007), 80–90.
21
Any Questions?
22

More Related Content

What's hot

Matt Purkeypile's Doctoral Dissertation Defense Slides
Matt Purkeypile's Doctoral Dissertation Defense SlidesMatt Purkeypile's Doctoral Dissertation Defense Slides
Matt Purkeypile's Doctoral Dissertation Defense Slides
mpurkeypile
 
A quantum-inspired optimization heuristic for the multiple sequence alignment...
A quantum-inspired optimization heuristic for the multiple sequence alignment...A quantum-inspired optimization heuristic for the multiple sequence alignment...
A quantum-inspired optimization heuristic for the multiple sequence alignment...
Konstantinos Giannakis
 
Ds33717725
Ds33717725Ds33717725
Ds33717725
IJERA Editor
 
Jindřich Libovický - 2017 - Attention Strategies for Multi-Source Sequence-...
Jindřich Libovický - 2017 - Attention Strategies for Multi-Source Sequence-...Jindřich Libovický - 2017 - Attention Strategies for Multi-Source Sequence-...
Jindřich Libovický - 2017 - Attention Strategies for Multi-Source Sequence-...
Association for Computational Linguistics
 
Estimating Space-Time Covariance from Finite Sample Sets
Estimating Space-Time Covariance from Finite Sample SetsEstimating Space-Time Covariance from Finite Sample Sets
Estimating Space-Time Covariance from Finite Sample Sets
Förderverein Technische Fakultät
 
Training and Inference for Deep Gaussian Processes
Training and Inference for Deep Gaussian ProcessesTraining and Inference for Deep Gaussian Processes
Training and Inference for Deep Gaussian Processes
Keyon Vafa
 
Penalty Function Method For Solving Fuzzy Nonlinear Programming Problem
Penalty Function Method For Solving Fuzzy Nonlinear Programming ProblemPenalty Function Method For Solving Fuzzy Nonlinear Programming Problem
Penalty Function Method For Solving Fuzzy Nonlinear Programming Problem
paperpublications3
 
Polynomial Matrix Decompositions
Polynomial Matrix DecompositionsPolynomial Matrix Decompositions
Polynomial Matrix Decompositions
Förderverein Technische Fakultät
 
Random Matrix Theory in Array Signal Processing: Application Examples
Random Matrix Theory in Array Signal Processing: Application ExamplesRandom Matrix Theory in Array Signal Processing: Application Examples
Random Matrix Theory in Array Signal Processing: Application Examples
Förderverein Technische Fakultät
 
Modeling the dynamics of molecular concentration during the diffusion procedure
Modeling the dynamics of molecular concentration during the  diffusion procedureModeling the dynamics of molecular concentration during the  diffusion procedure
Modeling the dynamics of molecular concentration during the diffusion procedure
International Journal of Engineering Inventions www.ijeijournal.com
 
Differential analyses of structures in HiC data
Differential analyses of structures in HiC dataDifferential analyses of structures in HiC data
Differential analyses of structures in HiC data
tuxette
 
Reproducibility and differential analysis with selfish
Reproducibility and differential analysis with selfishReproducibility and differential analysis with selfish
Reproducibility and differential analysis with selfish
tuxette
 
Np completeness
Np completenessNp completeness
Np completeness
Muhammad Saim
 
Stochastic matrices
Stochastic matricesStochastic matrices
Stochastic matrices
ManitejaBhumaraju
 
QMC: Transition Workshop - Discussion of "Representative Points for Small and...
QMC: Transition Workshop - Discussion of "Representative Points for Small and...QMC: Transition Workshop - Discussion of "Representative Points for Small and...
QMC: Transition Workshop - Discussion of "Representative Points for Small and...
The Statistical and Applied Mathematical Sciences Institute
 
Jörg Stelzer
Jörg StelzerJörg Stelzer
Jörg Stelzerbutest
 
Algorithm chapter 2
Algorithm chapter 2Algorithm chapter 2
Algorithm chapter 2chidabdu
 
On the Dynamics of Machine Learning Algorithms and Behavioral Game Theory
On the Dynamics of Machine Learning Algorithms and Behavioral Game TheoryOn the Dynamics of Machine Learning Algorithms and Behavioral Game Theory
On the Dynamics of Machine Learning Algorithms and Behavioral Game Theory
Rikiya Takahashi
 

What's hot (20)

Matt Purkeypile's Doctoral Dissertation Defense Slides
Matt Purkeypile's Doctoral Dissertation Defense SlidesMatt Purkeypile's Doctoral Dissertation Defense Slides
Matt Purkeypile's Doctoral Dissertation Defense Slides
 
A quantum-inspired optimization heuristic for the multiple sequence alignment...
A quantum-inspired optimization heuristic for the multiple sequence alignment...A quantum-inspired optimization heuristic for the multiple sequence alignment...
A quantum-inspired optimization heuristic for the multiple sequence alignment...
 
Ds33717725
Ds33717725Ds33717725
Ds33717725
 
Jindřich Libovický - 2017 - Attention Strategies for Multi-Source Sequence-...
Jindřich Libovický - 2017 - Attention Strategies for Multi-Source Sequence-...Jindřich Libovický - 2017 - Attention Strategies for Multi-Source Sequence-...
Jindřich Libovický - 2017 - Attention Strategies for Multi-Source Sequence-...
 
Estimating Space-Time Covariance from Finite Sample Sets
Estimating Space-Time Covariance from Finite Sample SetsEstimating Space-Time Covariance from Finite Sample Sets
Estimating Space-Time Covariance from Finite Sample Sets
 
Training and Inference for Deep Gaussian Processes
Training and Inference for Deep Gaussian ProcessesTraining and Inference for Deep Gaussian Processes
Training and Inference for Deep Gaussian Processes
 
Penalty Function Method For Solving Fuzzy Nonlinear Programming Problem
Penalty Function Method For Solving Fuzzy Nonlinear Programming ProblemPenalty Function Method For Solving Fuzzy Nonlinear Programming Problem
Penalty Function Method For Solving Fuzzy Nonlinear Programming Problem
 
Polynomial Matrix Decompositions
Polynomial Matrix DecompositionsPolynomial Matrix Decompositions
Polynomial Matrix Decompositions
 
Random Matrix Theory in Array Signal Processing: Application Examples
Random Matrix Theory in Array Signal Processing: Application ExamplesRandom Matrix Theory in Array Signal Processing: Application Examples
Random Matrix Theory in Array Signal Processing: Application Examples
 
algorithm Unit 3
algorithm Unit 3algorithm Unit 3
algorithm Unit 3
 
Modeling the dynamics of molecular concentration during the diffusion procedure
Modeling the dynamics of molecular concentration during the  diffusion procedureModeling the dynamics of molecular concentration during the  diffusion procedure
Modeling the dynamics of molecular concentration during the diffusion procedure
 
Differential analyses of structures in HiC data
Differential analyses of structures in HiC dataDifferential analyses of structures in HiC data
Differential analyses of structures in HiC data
 
Reproducibility and differential analysis with selfish
Reproducibility and differential analysis with selfishReproducibility and differential analysis with selfish
Reproducibility and differential analysis with selfish
 
Np completeness
Np completenessNp completeness
Np completeness
 
Stochastic matrices
Stochastic matricesStochastic matrices
Stochastic matrices
 
QMC: Transition Workshop - Discussion of "Representative Points for Small and...
QMC: Transition Workshop - Discussion of "Representative Points for Small and...QMC: Transition Workshop - Discussion of "Representative Points for Small and...
QMC: Transition Workshop - Discussion of "Representative Points for Small and...
 
Jörg Stelzer
Jörg StelzerJörg Stelzer
Jörg Stelzer
 
Pria 2007
Pria 2007Pria 2007
Pria 2007
 
Algorithm chapter 2
Algorithm chapter 2Algorithm chapter 2
Algorithm chapter 2
 
On the Dynamics of Machine Learning Algorithms and Behavioral Game Theory
On the Dynamics of Machine Learning Algorithms and Behavioral Game TheoryOn the Dynamics of Machine Learning Algorithms and Behavioral Game Theory
On the Dynamics of Machine Learning Algorithms and Behavioral Game Theory
 

Similar to Initialization methods for the tsp with time windows using variable neighborhood search

Eeee2017 Conference - OR in the digital era - ICT challenges | Presentation
Eeee2017 Conference - OR in the digital era - ICT challenges | PresentationEeee2017 Conference - OR in the digital era - ICT challenges | Presentation
Eeee2017 Conference - OR in the digital era - ICT challenges | Presentation
Christos Papalitsas
 
Optimal combination of operators in Genetic Algorithmsfor VRP problems
Optimal combination of operators in Genetic Algorithmsfor VRP problemsOptimal combination of operators in Genetic Algorithmsfor VRP problems
Optimal combination of operators in Genetic Algorithmsfor VRP problems
International Journal of Modern Research in Engineering and Technology
 
Combinatorial optimization and deep reinforcement learning
Combinatorial optimization and deep reinforcement learningCombinatorial optimization and deep reinforcement learning
Combinatorial optimization and deep reinforcement learning
민재 정
 
Medical diagnosis classification
Medical diagnosis classificationMedical diagnosis classification
Medical diagnosis classification
csandit
 
MEDICAL DIAGNOSIS CLASSIFICATION USING MIGRATION BASED DIFFERENTIAL EVOLUTION...
MEDICAL DIAGNOSIS CLASSIFICATION USING MIGRATION BASED DIFFERENTIAL EVOLUTION...MEDICAL DIAGNOSIS CLASSIFICATION USING MIGRATION BASED DIFFERENTIAL EVOLUTION...
MEDICAL DIAGNOSIS CLASSIFICATION USING MIGRATION BASED DIFFERENTIAL EVOLUTION...
cscpconf
 
Histogram-Based Method for Effective Initialization of the K-Means Clustering...
Histogram-Based Method for Effective Initialization of the K-Means Clustering...Histogram-Based Method for Effective Initialization of the K-Means Clustering...
Histogram-Based Method for Effective Initialization of the K-Means Clustering...Gingles Caroline
 
Quantum inspired evolutionary algorithm for solving multiple travelling sales...
Quantum inspired evolutionary algorithm for solving multiple travelling sales...Quantum inspired evolutionary algorithm for solving multiple travelling sales...
Quantum inspired evolutionary algorithm for solving multiple travelling sales...
eSAT Publishing House
 
Probability and random processes project based learning template.pdf
Probability and random processes project based learning template.pdfProbability and random processes project based learning template.pdf
Probability and random processes project based learning template.pdf
Vedant Srivastava
 
Comparative study of different algorithms
Comparative study of different algorithmsComparative study of different algorithms
Comparative study of different algorithms
ijfcstjournal
 
Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman ProblemParticle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
IRJET Journal
 
Ds33717725
Ds33717725Ds33717725
Ds33717725
IJERA Editor
 
Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...
Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...
Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...
Xin-She Yang
 
Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...
Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...
Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...
CSCJournals
 
Artificial Intelligence for Automated Software Testing
Artificial Intelligence for Automated Software TestingArtificial Intelligence for Automated Software Testing
Artificial Intelligence for Automated Software Testing
Lionel Briand
 
Time and space complexity
Time and space complexityTime and space complexity
Time and space complexityAnkit Katiyar
 
Parallel and distributed genetic algorithm with multiple objectives to impro...
Parallel and distributed genetic algorithm  with multiple objectives to impro...Parallel and distributed genetic algorithm  with multiple objectives to impro...
Parallel and distributed genetic algorithm with multiple objectives to impro...
khalil IBRAHIM
 
Scheduling Using Multi Objective Genetic Algorithm
Scheduling Using Multi Objective Genetic AlgorithmScheduling Using Multi Objective Genetic Algorithm
Scheduling Using Multi Objective Genetic Algorithm
iosrjce
 
M017327378
M017327378M017327378
M017327378
IOSR Journals
 
[20240429_LabSeminar_Huy]Spatio-Temporal Graph Neural Point Process for Traff...
[20240429_LabSeminar_Huy]Spatio-Temporal Graph Neural Point Process for Traff...[20240429_LabSeminar_Huy]Spatio-Temporal Graph Neural Point Process for Traff...
[20240429_LabSeminar_Huy]Spatio-Temporal Graph Neural Point Process for Traff...
thanhdowork
 

Similar to Initialization methods for the tsp with time windows using variable neighborhood search (20)

Eeee2017 Conference - OR in the digital era - ICT challenges | Presentation
Eeee2017 Conference - OR in the digital era - ICT challenges | PresentationEeee2017 Conference - OR in the digital era - ICT challenges | Presentation
Eeee2017 Conference - OR in the digital era - ICT challenges | Presentation
 
50120140503004
5012014050300450120140503004
50120140503004
 
Optimal combination of operators in Genetic Algorithmsfor VRP problems
Optimal combination of operators in Genetic Algorithmsfor VRP problemsOptimal combination of operators in Genetic Algorithmsfor VRP problems
Optimal combination of operators in Genetic Algorithmsfor VRP problems
 
Combinatorial optimization and deep reinforcement learning
Combinatorial optimization and deep reinforcement learningCombinatorial optimization and deep reinforcement learning
Combinatorial optimization and deep reinforcement learning
 
Medical diagnosis classification
Medical diagnosis classificationMedical diagnosis classification
Medical diagnosis classification
 
MEDICAL DIAGNOSIS CLASSIFICATION USING MIGRATION BASED DIFFERENTIAL EVOLUTION...
MEDICAL DIAGNOSIS CLASSIFICATION USING MIGRATION BASED DIFFERENTIAL EVOLUTION...MEDICAL DIAGNOSIS CLASSIFICATION USING MIGRATION BASED DIFFERENTIAL EVOLUTION...
MEDICAL DIAGNOSIS CLASSIFICATION USING MIGRATION BASED DIFFERENTIAL EVOLUTION...
 
Histogram-Based Method for Effective Initialization of the K-Means Clustering...
Histogram-Based Method for Effective Initialization of the K-Means Clustering...Histogram-Based Method for Effective Initialization of the K-Means Clustering...
Histogram-Based Method for Effective Initialization of the K-Means Clustering...
 
Quantum inspired evolutionary algorithm for solving multiple travelling sales...
Quantum inspired evolutionary algorithm for solving multiple travelling sales...Quantum inspired evolutionary algorithm for solving multiple travelling sales...
Quantum inspired evolutionary algorithm for solving multiple travelling sales...
 
Probability and random processes project based learning template.pdf
Probability and random processes project based learning template.pdfProbability and random processes project based learning template.pdf
Probability and random processes project based learning template.pdf
 
Comparative study of different algorithms
Comparative study of different algorithmsComparative study of different algorithms
Comparative study of different algorithms
 
Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman ProblemParticle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
 
Ds33717725
Ds33717725Ds33717725
Ds33717725
 
Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...
Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...
Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...
 
Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...
Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...
Simulation-based Optimization of a Real-world Travelling Salesman Problem Usi...
 
Artificial Intelligence for Automated Software Testing
Artificial Intelligence for Automated Software TestingArtificial Intelligence for Automated Software Testing
Artificial Intelligence for Automated Software Testing
 
Time and space complexity
Time and space complexityTime and space complexity
Time and space complexity
 
Parallel and distributed genetic algorithm with multiple objectives to impro...
Parallel and distributed genetic algorithm  with multiple objectives to impro...Parallel and distributed genetic algorithm  with multiple objectives to impro...
Parallel and distributed genetic algorithm with multiple objectives to impro...
 
Scheduling Using Multi Objective Genetic Algorithm
Scheduling Using Multi Objective Genetic AlgorithmScheduling Using Multi Objective Genetic Algorithm
Scheduling Using Multi Objective Genetic Algorithm
 
M017327378
M017327378M017327378
M017327378
 
[20240429_LabSeminar_Huy]Spatio-Temporal Graph Neural Point Process for Traff...
[20240429_LabSeminar_Huy]Spatio-Temporal Graph Neural Point Process for Traff...[20240429_LabSeminar_Huy]Spatio-Temporal Graph Neural Point Process for Traff...
[20240429_LabSeminar_Huy]Spatio-Temporal Graph Neural Point Process for Traff...
 

More from Konstantinos Giannakis

Elements of game theory in a bio-inspired model of computation
Elements of game theory in a bio-inspired model of computationElements of game theory in a bio-inspired model of computation
Elements of game theory in a bio-inspired model of computation
Konstantinos Giannakis
 
Computing probabilistic queries in the presence of uncertainty via probabilis...
Computing probabilistic queries in the presence of uncertainty via probabilis...Computing probabilistic queries in the presence of uncertainty via probabilis...
Computing probabilistic queries in the presence of uncertainty via probabilis...
Konstantinos Giannakis
 
A new class of restricted quantum membrane systems
A new class of restricted quantum membrane systemsA new class of restricted quantum membrane systems
A new class of restricted quantum membrane systems
Konstantinos Giannakis
 
Infinite and Standard Computation with Unconventional and Quantum Methods Usi...
Infinite and Standard Computation with Unconventional and Quantum Methods Usi...Infinite and Standard Computation with Unconventional and Quantum Methods Usi...
Infinite and Standard Computation with Unconventional and Quantum Methods Usi...
Konstantinos Giannakis
 
Μοντέλα υπολογισμού επηρεασμένα από την ϕύση και τη βιολογία
Μοντέλα υπολογισμού επηρεασμένα από την ϕύση και τη βιολογίαΜοντέλα υπολογισμού επηρεασμένα από την ϕύση και τη βιολογία
Μοντέλα υπολογισμού επηρεασμένα από την ϕύση και τη βιολογία
Konstantinos Giannakis
 
Κβαντικοί Υπολογιστές
Κβαντικοί ΥπολογιστέςΚβαντικοί Υπολογιστές
Κβαντικοί Υπολογιστές
Konstantinos Giannakis
 
Quantum automata for infinite periodic words
Quantum automata for infinite periodic wordsQuantum automata for infinite periodic words
Quantum automata for infinite periodic words
Konstantinos Giannakis
 
Προσιτές Εφαρμογές Εικονικής Πραγματικότητας σε Εκπαιδευτικές Εφαρμογές
Προσιτές Εφαρμογές Εικονικής Πραγματικότητας σε Εκπαιδευτικές ΕφαρμογέςΠροσιτές Εφαρμογές Εικονικής Πραγματικότητας σε Εκπαιδευτικές Εφαρμογές
Προσιτές Εφαρμογές Εικονικής Πραγματικότητας σε Εκπαιδευτικές Εφαρμογές
Konstantinos Giannakis
 
Querying Linked Data and Büchi automata
Querying Linked Data and Büchi automataQuerying Linked Data and Büchi automata
Querying Linked Data and Büchi automata
Konstantinos Giannakis
 
Mitochondrial Fusion Through Membrane Automata
Mitochondrial Fusion Through Membrane AutomataMitochondrial Fusion Through Membrane Automata
Mitochondrial Fusion Through Membrane Automata
Konstantinos Giannakis
 
Eικονικοί Kόσμοι και Eκπαίδευση
Eικονικοί Kόσμοι και EκπαίδευσηEικονικοί Kόσμοι και Eκπαίδευση
Eικονικοί Kόσμοι και EκπαίδευσηKonstantinos Giannakis
 
Αξιολόγηση ηλεκτρονικών καταστημάτων
Αξιολόγηση ηλεκτρονικών καταστημάτωνΑξιολόγηση ηλεκτρονικών καταστημάτων
Αξιολόγηση ηλεκτρονικών καταστημάτων
Konstantinos Giannakis
 
The Skyline Operator
The Skyline OperatorThe Skyline Operator
The Skyline Operator
Konstantinos Giannakis
 
Αποθήκες δεδομένων και εξόρυξη γνώσης
Αποθήκες δεδομένων και εξόρυξη γνώσηςΑποθήκες δεδομένων και εξόρυξη γνώσης
Αποθήκες δεδομένων και εξόρυξη γνώσης
Konstantinos Giannakis
 
HCI design-Simulated Listening Typewriter
HCI design-Simulated Listening TypewriterHCI design-Simulated Listening Typewriter
HCI design-Simulated Listening Typewriter
Konstantinos Giannakis
 
Space invaders
Space invadersSpace invaders
Space invaders
Konstantinos Giannakis
 
User Requirements for Gamifying Sports Software
User Requirements for Gamifying Sports SoftwareUser Requirements for Gamifying Sports Software
User Requirements for Gamifying Sports Software
Konstantinos Giannakis
 
Web Mining to Create Semantic Content: A Case Study for the Environment
Web Mining to Create Semantic Content: A Case Study for the EnvironmentWeb Mining to Create Semantic Content: A Case Study for the Environment
Web Mining to Create Semantic Content: A Case Study for the EnvironmentKonstantinos Giannakis
 

More from Konstantinos Giannakis (18)

Elements of game theory in a bio-inspired model of computation
Elements of game theory in a bio-inspired model of computationElements of game theory in a bio-inspired model of computation
Elements of game theory in a bio-inspired model of computation
 
Computing probabilistic queries in the presence of uncertainty via probabilis...
Computing probabilistic queries in the presence of uncertainty via probabilis...Computing probabilistic queries in the presence of uncertainty via probabilis...
Computing probabilistic queries in the presence of uncertainty via probabilis...
 
A new class of restricted quantum membrane systems
A new class of restricted quantum membrane systemsA new class of restricted quantum membrane systems
A new class of restricted quantum membrane systems
 
Infinite and Standard Computation with Unconventional and Quantum Methods Usi...
Infinite and Standard Computation with Unconventional and Quantum Methods Usi...Infinite and Standard Computation with Unconventional and Quantum Methods Usi...
Infinite and Standard Computation with Unconventional and Quantum Methods Usi...
 
Μοντέλα υπολογισμού επηρεασμένα από την ϕύση και τη βιολογία
Μοντέλα υπολογισμού επηρεασμένα από την ϕύση και τη βιολογίαΜοντέλα υπολογισμού επηρεασμένα από την ϕύση και τη βιολογία
Μοντέλα υπολογισμού επηρεασμένα από την ϕύση και τη βιολογία
 
Κβαντικοί Υπολογιστές
Κβαντικοί ΥπολογιστέςΚβαντικοί Υπολογιστές
Κβαντικοί Υπολογιστές
 
Quantum automata for infinite periodic words
Quantum automata for infinite periodic wordsQuantum automata for infinite periodic words
Quantum automata for infinite periodic words
 
Προσιτές Εφαρμογές Εικονικής Πραγματικότητας σε Εκπαιδευτικές Εφαρμογές
Προσιτές Εφαρμογές Εικονικής Πραγματικότητας σε Εκπαιδευτικές ΕφαρμογέςΠροσιτές Εφαρμογές Εικονικής Πραγματικότητας σε Εκπαιδευτικές Εφαρμογές
Προσιτές Εφαρμογές Εικονικής Πραγματικότητας σε Εκπαιδευτικές Εφαρμογές
 
Querying Linked Data and Büchi automata
Querying Linked Data and Büchi automataQuerying Linked Data and Büchi automata
Querying Linked Data and Büchi automata
 
Mitochondrial Fusion Through Membrane Automata
Mitochondrial Fusion Through Membrane AutomataMitochondrial Fusion Through Membrane Automata
Mitochondrial Fusion Through Membrane Automata
 
Eικονικοί Kόσμοι και Eκπαίδευση
Eικονικοί Kόσμοι και EκπαίδευσηEικονικοί Kόσμοι και Eκπαίδευση
Eικονικοί Kόσμοι και Eκπαίδευση
 
Αξιολόγηση ηλεκτρονικών καταστημάτων
Αξιολόγηση ηλεκτρονικών καταστημάτωνΑξιολόγηση ηλεκτρονικών καταστημάτων
Αξιολόγηση ηλεκτρονικών καταστημάτων
 
The Skyline Operator
The Skyline OperatorThe Skyline Operator
The Skyline Operator
 
Αποθήκες δεδομένων και εξόρυξη γνώσης
Αποθήκες δεδομένων και εξόρυξη γνώσηςΑποθήκες δεδομένων και εξόρυξη γνώσης
Αποθήκες δεδομένων και εξόρυξη γνώσης
 
HCI design-Simulated Listening Typewriter
HCI design-Simulated Listening TypewriterHCI design-Simulated Listening Typewriter
HCI design-Simulated Listening Typewriter
 
Space invaders
Space invadersSpace invaders
Space invaders
 
User Requirements for Gamifying Sports Software
User Requirements for Gamifying Sports SoftwareUser Requirements for Gamifying Sports Software
User Requirements for Gamifying Sports Software
 
Web Mining to Create Semantic Content: A Case Study for the Environment
Web Mining to Create Semantic Content: A Case Study for the EnvironmentWeb Mining to Create Semantic Content: A Case Study for the Environment
Web Mining to Create Semantic Content: A Case Study for the Environment
 

Recently uploaded

GBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture MediaGBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture Media
Areesha Ahmad
 
Introduction to Mean Field Theory(MFT).pptx
Introduction to Mean Field Theory(MFT).pptxIntroduction to Mean Field Theory(MFT).pptx
Introduction to Mean Field Theory(MFT).pptx
zeex60
 
nodule formation by alisha dewangan.pptx
nodule formation by alisha dewangan.pptxnodule formation by alisha dewangan.pptx
nodule formation by alisha dewangan.pptx
alishadewangan1
 
bordetella pertussis.................................ppt
bordetella pertussis.................................pptbordetella pertussis.................................ppt
bordetella pertussis.................................ppt
kejapriya1
 
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Sérgio Sacani
 
role of pramana in research.pptx in science
role of pramana in research.pptx in sciencerole of pramana in research.pptx in science
role of pramana in research.pptx in science
sonaliswain16
 
Mudde & Rovira Kaltwasser. - Populism - a very short introduction [2017].pdf
Mudde & Rovira Kaltwasser. - Populism - a very short introduction [2017].pdfMudde & Rovira Kaltwasser. - Populism - a very short introduction [2017].pdf
Mudde & Rovira Kaltwasser. - Populism - a very short introduction [2017].pdf
frank0071
 
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
Wasswaderrick3
 
Leaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdfLeaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdf
RenuJangid3
 
Lateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensiveLateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensive
silvermistyshot
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
Lokesh Patil
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
SAMIR PANDA
 
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
University of Maribor
 
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Ana Luísa Pinho
 
Toxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and ArsenicToxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and Arsenic
sanjana502982
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
Areesha Ahmad
 
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdfUnveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Erdal Coalmaker
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
David Osipyan
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
Richard Gill
 
in vitro propagation of plants lecture note.pptx
in vitro propagation of plants lecture note.pptxin vitro propagation of plants lecture note.pptx
in vitro propagation of plants lecture note.pptx
yusufzako14
 

Recently uploaded (20)

GBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture MediaGBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture Media
 
Introduction to Mean Field Theory(MFT).pptx
Introduction to Mean Field Theory(MFT).pptxIntroduction to Mean Field Theory(MFT).pptx
Introduction to Mean Field Theory(MFT).pptx
 
nodule formation by alisha dewangan.pptx
nodule formation by alisha dewangan.pptxnodule formation by alisha dewangan.pptx
nodule formation by alisha dewangan.pptx
 
bordetella pertussis.................................ppt
bordetella pertussis.................................pptbordetella pertussis.................................ppt
bordetella pertussis.................................ppt
 
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
 
role of pramana in research.pptx in science
role of pramana in research.pptx in sciencerole of pramana in research.pptx in science
role of pramana in research.pptx in science
 
Mudde & Rovira Kaltwasser. - Populism - a very short introduction [2017].pdf
Mudde & Rovira Kaltwasser. - Populism - a very short introduction [2017].pdfMudde & Rovira Kaltwasser. - Populism - a very short introduction [2017].pdf
Mudde & Rovira Kaltwasser. - Populism - a very short introduction [2017].pdf
 
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
 
Leaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdfLeaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdf
 
Lateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensiveLateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensive
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
 
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
 
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
 
Toxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and ArsenicToxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and Arsenic
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
 
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdfUnveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdf
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
 
in vitro propagation of plants lecture note.pptx
in vitro propagation of plants lecture note.pptxin vitro propagation of plants lecture note.pptx
in vitro propagation of plants lecture note.pptx
 

Initialization methods for the tsp with time windows using variable neighborhood search

  • 1. initialization methods for the tsp with time windows using variable neighborhood search 6th International Conference on Information, Intelligence, Systems and Applications (IISA 2015) Christos Papalitsas*, Konstantinos Giannakis*, Dimitrios Theotokis*, Theodore Andronikos*, and Angelo Sifaleras** July 6, 2015 *Department of Informatics, Ionian University **Department of Applied Informatics, University of Macedonia 0
  • 2. preview of our study ∙ Travelling Salesman Problem (TSP) ∙ TSP with Time Windows ∙ Meta-heuristic procedures ∙ Variable Neighborhood Search ∙ Experimental results ∙ Sorted initial conditions ≯ Random initial conditions 1
  • 4. tsp ∙ Numerous applications in many different areas (Artificial Intelligence, Machine Learning, Software Technology etc). ∙ Symmetric TSP, Asymmetric TSP, Multiple TSP ∙ TSP is the problem of finding the shortest Hamiltonian cycle. ∙ NP-hard ∙ Significant in various fields, such as operational research and theoretical computer science. 3
  • 5. tsp formulation ∙ An undirected graph G = (V, E), if symmetrical. ∙ A directed graph G = (V, A), if asymmetric. ∙ The set V = {1,2,3, ..., n} is the set of vertices. ∙ E = {(i, j): i, j ∈V, i < j} is the set of the edges. ∙ By n we denote a number of cities (nodes). ∙ A cost matrix C = (ci,j) defined on E. ∙ Vertices can be points Pi = (Xi, Yi) in a 2-d space, and ci,j = √ ((Xi − Xi)2 + (Yi − Yj)2) is the Euclidean distance. ∙ The total number of possible paths is equal to (n-1)!/2. 4
  • 6. tsp-tw tsp with time-windows ∙ TSP-TW is a variant of the TSP ∙ Cities (or customers) should be visited in a certain period (or “window”). ∙ It limits the search tree because all TSP solutions are not necessarily TSP-TW solutions. ∙ In TSP, any permutation of cities is a feasible solution, in TSP-TW even the search of feasible solutions is difficult. ∙ NP-hard ∙ Given a depot, a set of customers, the service time (i.e., the time that should be spent on client) and a time window (i.e., the start and the expiration time), the TSP-TW problem refers to finding a shortest path, which starts and ends at a given depot. ∙ Each customer has been only visited once before its expiry date! 5
  • 7. tsp-tw ∙ Agent is allowed to reach the customer before its ready time, but must wait. ∙ Feasible and infeasible paths. ∙ The cost of a path is the total distance traveled. ∙ Given graph G = (V, A), wherein V = {1,2, ..., n}. Suppose 0 indicates a depot and A = (i, j): i, j ∈ V ∪ {0} is the set of arcs between clients. ∙ The traveling cost from i to j is represented by cij, ∙ It includes both the customer service time i, and the time it takes to go from i to j. ∙ Each customer i is associated with a time window ai, bi (readiness and maturity time). ∙ TSP-TW can be formulated as a TSP, satisfying all timing constraints and minimizing the total distance traveled. 6
  • 8. tsp-tw an example Figure: A simple graphical example of TSP-TW with 5 nodes. 7
  • 9. literature indicative works ∙ Dynamic programming approaches. ∙ Hybrid approaches, based on programming with constraints and optimization techniques. ∙ Tabu search heuristics. ∙ Compressed annealing, (relaxed constraints of time window). ∙ New heuristics. ∙ A two-stage heuristic, based on VNS. 8
  • 10. meta-heuristic methods an overview ∙ A meta-heuristic is a high level heuristic, designed to find, create, or select a lower level heuristic. ∙ Ideal for problems with missing or incomplete information, or with limited computing capacity. ∙ Meta-heuristic processes make assumptions about the problem. ∙ They do not guarantee a global optimal solution for each category of problems. ∙ Many of them apply stochastic optimization. ∙ By searching in a large set of feasible solutions, the meta-heuristic procedures can often find good solutions with less computational effort 9
  • 11. vns variable neighborhood search ∙ VNS is a meta-heuristic method for solving a set of combinatorial problems and global optimization problems. ∙ VNS manages a local search method, which is iteratively applied (iterated local search). ∙ This strategy is driven by three principles: 1. a local minimum for a neighborhood structure cannot be a local minimum to a different neighborhood structure 2. a global minimum is a local minimum for all possible structures of the neighborhood, and 3. a local minimum is closely related to the total minimum for many classes of problems. ∙ Meta-heuristic local search is performed by selecting an initial solution x, finding a descent direction of x, in a neighborhood N(x) and moving towards the minimum of f(x) in the N(x) in the same direction. If there is no direction of the descent, then the heuristic stops; otherwise it is repeated. 10
  • 13. constructive phase of initial feasible solution ∙ Finding feasible solutions is hard. ∙ The objective function used in this process is the sum of all positive differences between the time it takes to reach each customer and end time, i.e. n∑ i=1 max(0, vi − bi). ∙ The algorithm is executed iteratively until it finds a feasible solution (a solution with objective function equal to zero). ∙ The algorithm generates a random or sorted, possibly non-feasible solution. ∙ A local search process is applied in 1-shift neighborhood. ∙ Our implementation was coded in Java. ∙ We tested our algorithm with various benchmark problems. 12
  • 14. the vns we used ∙ Based on Da Silva et al. and Mladenovic et al. ∙ Firstly, we constructed a feasibility distance matrix. ∙ The process from line 2 to the end is repeated until a feasible solution is found. ∙ In the third line a random or sorted solution is generated. ∙ Level is used to determine the number of repetitions (maximum is 8 as proposed by the literature). ∙ Before entering the loop, we perform a first local search. 13
  • 15. local search ∙ 1-shift procedure. ∙ A violated node is a node that has been visited after its expiration time. ∙ Two sets arise: ∙ the violated nodes (nodes that were visited after their due time) and ∙ the non-violated nodes. ∙ We separate the main neighborhood in two new sub-neighborhoods. ∙ It is important to define the ordering. 1. Move backwards violated nodes 2. Move forward not violated nodes 3. Move backwards not violated nodes 4. Move forward violated nodes 14
  • 16. our contribution ∙ If a new best solution is found ⇒ level=1. ∙ If not, we increase the value of level parameter and continue to the next iteration. ∙ The best solution is the one with the fewest violated nodes. ∙ If two solutions have the same number of violated nodes, then we check for the cost. ∙ Contribution: the process of selecting an initial solution ∙ Random initial solutions. ∙ Sorted initial solutions (asc. based on the expiration time). ∙ In some cases it doesn’t work! 15
  • 17. the meta-heuristic method we used example (a) Pseudocode of the Meta-heuristic (b) Due time example-Accessibility condition 16
  • 19. random solution vs sorted solution ∙ Our tests showed that the sorting solution is not working properly, and in general, it does not work for all ranges of time windows (for some benchmarks). ∙ We generated three different data sets (instances not included in other benchmark sets). ∙ All nodes were set with due time equal to zero. ∙ With due time equal to greater ready time plus one. ∙ With the same ready time and due time. ∙ We found that for some cases, this heuristic cannot provide feasible solution if a sorted function is used for initialization. ∙ According to our research results, we show that a sorted initial function is not even working for some data sets. 18
  • 20. computational results random/sorted function comparative study Name N M. WL B. S. Proposed by RSC RST -b. s. SSC SST -b. s. n20w120 20 120 265.6 Ohlmann and Thomas (2007) 357.49 0.242 34% 371.78 0.081 39% n20w140 20 140 232.8 Ohlmann and Thomas (2007) 337.05 0.222 44% 370.61 0.049 59% n20w160 20 160 218.2 Ohlmann and Thomas (2007) 331.00 0.163 51% 398.08 0.031 82% n20w180 20 180 236.6 Ohlmann and Thomas (2007) 336.58 0.413 42% 418.13 0.029 76% n20w200 20 200 241.0 Ohlmann and Thomas (2007) 365.87 0.202 51% 414.70 0.052 72% n40w120 40 120 360.0 Calvo (2000) 521.18 12.485 44% 549.97 0.265 52% n40w140 40 140 348.4 Calvo (2000) 493.35 41.671 41% 563.83 0.320 61% n40w160 40 160 326.8 Ohlmann and Thomas (2007) 482.20 146.295 47% 553.81 7.190 69% n40w180 40 180 326.8 Calvo (2000) 532.49 121.664 62% 561.09 2.240 71% n40w200 40 200 313.8 Ohlmann and Thomas (2007) 493.65 19.919 57% 558.65 1.163 78% 19
  • 21. future work and discussion ∙ GVNS heuristic for solving the TSP-TW using Java. ∙ We concentrated on finding initial feasible solutions. ∙ Search for alternative random procedures with different probability distributions (next step). ∙ TSP remains a standard point of reference in many applications. ∙ The intractability of TSP-TW problem depends not only on the number of nodes, but also on the “width” of the time window. 20
  • 22. key references Bianchi, L., Dorigo, M., Gambardella, L. M., and Gutjahr, W. J. A survey on metaheuristics for stochastic combinatorial optimization. Natural Computing: an international journal 8, 2 (2009), 239–287. Calvo, R. W. A new heuristic for the traveling salesman problem with time windows. Transportation Science 34, 1 (2000), 113–124. Da Silva, R. F., and Urrutia, S. A general vns heuristic for the traveling salesman problem with time windows. Discrete Optimization 7, 4 (2010), 203–211. Dumas, Y., Desrosiers, J., Gelinas, E., and Solomon, M. M. An optimal algorithm for the traveling salesman problem with time windows. Operations research 43, 2 (1995), 367–371. Mladenović, N., and Hansen, P. Variable neighborhood search. Computers & Operations Research 24, 11 (1997), 1097–1100. Mladenović, N., Todosijević, R., and Urošević, D. An efficient gvns for solving traveling salesman problem with time windows. Electronic Notes in Discrete Mathematics 39 (2012), 83–90. Ohlmann, J. W., and Thomas, B. W. A compressed-annealing heuristic for the traveling salesman problem with time windows. INFORMS Journal on Computing 19, 1 (2007), 80–90. 21