issues
search
kamil271e
/
double-tsp
Assorted heuristics for solving a modified Traveling Salesperson Problem (TSP) combinatorial challenge.
0
stars
1
forks
source link
Implementing a simple version of the recombination algorithm
#42
Closed
unbreaking-V
closed
4 months ago
unbreaking-V
commented
4 months ago
Recombination Algorithm:
Take two random parents
Find edges that do not occur in the second parent
Remove them from the cycle, also remove the vertices that have no more edges from the cycle
Connect the remaining vertices, which occur in both parents, to each other
Apply the regret or nearest neighbor algorithm to restore the cycle
Recombination Algorithm: