Skip to main content


How to Code a Genetic Algorithm

In this video, Patrick walks through his implementation of a genetic algorithm that can quickly solve the Traveling Salesperson Problem (TSP). He demonstrates how biological constructs like 'survival of the fittest,' 'genetic diversity,' and 'mutation' can be represented in code, and ends the presentation with a visualization of the algorithm as it solves the TSP.

Demo code:

Project Members: Tae-Young 'Patrick' Kim

Find the program that fits your life.

Learn about our coding, cybersecurity, and data analytics bootcamps offered on full-time and part-time schedules.