Are Genetic Algorithms Effective for Computationally Intense Problems?
CSEF · 2016 Mathematics & Computer Science
Overview
Objectives/Goals Efficient energy use can help to combat global warming. Transportation of people and goods has increased with the expansion of global markets, leading to greater energy consumption. Finding the shortest transportation routes reduces energy needs. This challenge is represented by the traveling salesman problem (TSP), which attempts to find the shortest travel distance to visit each city of a given list once. A brute-force method, which calculates all possible routes between cities, is optimal for small city numbers, but it takes a powerful computer 30,000 years to solve a modest 25-city problem. Faster methods are needed. In this project, I have tested the hypothesis that genetic algorithms, which emulate the principles of evolution and natural selection, can find better solutions to the TSP than other common algorithms. Methods/Materials Java programs were written to address the TSP, and were tested with model sets of cities. Specifically, a virtual population of organisms representing specific travel routes was generated. An organism was allowed to produce offspring when its route was among the shortest in the population. Each offspring was mutated by swapping pairs of cities relative to its parent, and the algorithms were optimized for population sizes and survival parameters. Results By testing different model city sets, I found that a genetic strategy outperformed brute force and random algorithms, while it was inferior to the nearest neighbor algorithm in most cases. Furthermore, to optimize the parameters of the genetic algorithm, such as population size and survival characteristics, a nested genetic strategy was implemented as an additional level of genetic selection. This nested genetic strategy was found to outperform the simple genetic strategy. Taken together, my results demonstrate that genetic strategies can be effective at solving the TSP. Conclusions/Discussion My findings suggest that applying biological principles to algorithm design has great potential for improving computational performance and finding solutions that minimize energy consumption in transportation challenges.
Summary statement
I found that genetic algorithms, which emulate the principles of evolution and natural selection, can be effective at solving the traveling salesman problem as an example of a computationally intense problem in computer science.
Help received
I designed, wrote, and tested the Java programs. I was helped by my parents with the interpretation of the results and proof-reading my report.
Competition history
- CSEF 2016
Resources
Related projects
ISEF · 2019
The Effect of a Genetic Algorithm on Traffic Efficiency
CSEF · 2017
Evolving Near Optimal Solutions to Computationally Hard Problems Using Natural Selection
ISEF · 2017
Maze Solving Optimization through Genetic Programming
ISEF · 2017
Adaptive School Bus Routing Using a Genetic Algorithm
ISEF · 2016
Schedule Advisory: Investigating Genetic Algorithms to Solve Class Scheduling
ISEF · 2017
Genetic Algorithms and Sorting Data
ISEF · 2023
Quantum Algorithms to Solve the Traveling Salesman Problem
ISEF · 2018
Survival of the Fittest: Using Biological Concepts to Maximize Efficiency
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: California Science & Engineering Fair public projects