Genetic Algorithm Solving TSP (100 cities)
Uploader Comments (Sirar)
All Comments (10)
-
genetic-cumagic in youtube.
-
@TwoKingdoms That is correct. Instead of restricting the visual representation to showing shorter distances to complete the circle, my algorithm is instead giving you a visual representation of continuous calculations to reach the best solution (a complete circle). Basically, I thought it looked more nifty to show you how the algorithm actually worked behind the scene. Later, I also added text on the screen showing the number of generations and the best so far solution.
-
@taostoner1 Only if the virtual positioning of the cities represents their physical positioning and the distances between them, which isn't the case in this video (given the algorithm is correct). The algorithm uses the edge weights (like distances) to solve this graph problem which aren't shown in this visual representation.
@artefom Useful comment...
-
@taostoner1 HAHAHAHHAH
-
Shouldn't the solution just be to follow along the edge of the circle?
omg randomizing it would've been faster.
YCDPKLD 2 weeks ago
@YCDPKLD Faster? Of course. More precise? Of course not. Randomizing something leaves much to coincidence.
Sirar 2 weeks ago
nice presentation! your mutation rate seems to be rather high though. its not high enough to protect the most fit ones. as you can see there the fitness value detoriorates every now and then.
yonnelol 2 months ago
@yonnelol Thanks, I agree! :)
Sirar 2 weeks ago