Reputation: 29
Does someone know about a implementation of a variation of the TSP algorithm without the need of returning to the start point, but keeping the 'must-pass' requirement (with fixed start and end point)? Thanks in advance! :)
Upvotes: 2
Views: 1746
Reputation: 15696
When using Genetic Algorithms to solve the TSP problem, you can apply this restriction to the Genoms (which usually are realized as arrays containing the visiting sequence of the villages).
This guarantees that any solution produced follows your requirements.
Upvotes: 1