Skip to content

Using genetic algorithm to find the most profitable routes for a bus company

Notifications You must be signed in to change notification settings

futuremartian2018/Bus_Company_Genetic_Algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Bus Company - Genetic Algorithms

Using genetic algorithm to find the most profitable routes for a bus company

Graph

Graph that represents cities on a map. Green lines represent connections between cities, and purple ones represent current best bus route. G1

Fitness chart

Fit

Short description

There a are few different companies and each of them has the same number of buses. Each bus has a limited number of seats, and therefore can travel with a limited number of passengers. Bus travels along its route which consists of cities and connections beetween those cities. Each connection is different, which means they have a different length and weight - that results in different travel cost. In every generation that route is mutated acording to one randomly selected method of mutation.

image

After mutation process all buses are randomly assigned to different companies, which constitutes crossing of their genome. Crossed individuals then become new parent generation and whole process will repeat itself until limit of generations is reached.

About

Using genetic algorithm to find the most profitable routes for a bus company

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages