Abstract
Genetic algorithms are commonly judged by the objective value reached at the end ofa run and by how quickly this value is approached over time. Although these measures
describe how the quality of the generated solutions changes, they provide only limited
information about the structural dynamics of the search process. In particular, they do
not directly reveal which regions of the search space are explored, when the population
begins to stabilise, or whether an apparent period of stagnation is caused by convergence
or by continued exploration without improvement.
This thesis presents an approach for recording, analysing, and visualising the search
behaviour of genetic algorithms for the Travelling Salesperson Problem. A custom trajec
tory logger was implemented in HeuristicLab to record the population, solution quality,
and tour structure throughout an optimisation run. Tours are represented by their edge
sets, which enables the computation of structural measures such as the distance between
consecutive generation-best solutions and the edge overlap with a reference solution. In
addition, samples of the surrounding solution landscape are generated through random
sampling, random walks, and 2-opt local search.
To visualise the resulting high-dimensional data, Principal Component Analysis and
t-distributed Stochastic Neighbor Embedding are used to construct two-dimensional rep
resentations of the sampled landscape and the recorded search trajectories. These rep
resentations are combined with quality progression, visit-density plots, structural step
distances, and edge-overlap visualisations. The approach is evaluated on the TSPLIB
instances att48, berlin52, and kroA100 using representative runs with early, delayed,
and absent stable population convergence.
The results show that quality-based and structural analyses provide complementary
perspectives on evolutionary search. Early convergence is associated with a rapid de
crease in structural movement and an early concentration of the population within a
limited region of the embedding. Delayed convergence is characterised by a prolonged
phase of structural variation followed by a transition into a more stable search region.
In runs without stable population convergence, structural changes remain high and
the population continues to revisit different regions, even when improved best-so-far
solutions are occasionally found. These observations demonstrate that the proposed
combination of metrics and visualisations can distinguish search behaviours that are
not apparent from conventional convergence curves alone.
| Date of Award | 2026 |
|---|---|
| Original language | English (American) |
| Awarding Institution |
|
| Supervisor | Stefan Wagner (Supervisor) |
Studyprogram
- Software Engineering
Cite this
- Standard