Traveling Salesman Problem in Swift part 2 - Swift Playgrounds

Опубликовано: 20 Март 2026
на канале: Tom Baranowicz
1,428
37

Hey in this video I’m presenting and explaining simple implementation of Genetic Algorithm in Swift 5. This algorithm is solving Traveling Salesman Problem, which is is a well-known problem in computing. The problem is: the salesman has to visit every city on his list, he has to visit each city only once and go back to the starting point. We have to find the shortest possible route.

Genetic Algorithm in Swift part 1 - Tutorial in 15 minutes    • Traveling Salesman Problem in Swift part 1...  
Link to Repository: https://github.com/tombaranowicz/Gene...

Follow me on:
Twitter:   / tombaranowicz  
Github: https://github.com/tombaranowicz
Instagram:   / tombaranowicz