An open API service indexing awesome lists of open source software.

https://github.com/hasanimran96/tsp-using-evolutionary-algorithm

Implement Genetic Algorithm in Python to solve Traveling Salesman Problem
https://github.com/hasanimran96/tsp-using-evolutionary-algorithm

cost evolutionary-algorithm genetic-algorithm machine-learning-algorithms python3 tsp

Last synced: 3 months ago
JSON representation

Implement Genetic Algorithm in Python to solve Traveling Salesman Problem

Awesome Lists containing this project

README

        

# TSP-using-Evolutionary-Algorithm
Problem Statement

Implement Genetic Algorithm in Python to solve Traveling Salesman Problem

TSP Description
8 cities in all
Cost from A to B would be same for B to A

GA Description
• Population Size – 10
• Fitness Function – Cost of the tour
• Parent Selection Scheme – Binary Tournament
• Crossover operator – 2 points cross over – randomly selected points
• Mutation operator – Swap Mutation – randomly selected points
• Pool of offspring – 10
• Survival Mechanism – Truncation
• Termination Condition – 100 Generations