← Back to Explore

The Effect of a Genetic Algorithm on Traffic Efficiency

ISEF · 2019 Robotics and Intelligent Machines Third Award

Overview

This research aimed to see if a genetic algorithm could optimize the traffic light timers at a traffic intersection, modeled after Route 15/17/29 Warrenton Interchange. The null hypothesis was that the vehicle trip time would not be affected by the genetic algorithm. The alternative hypothesis was that the vehicle trip time would be improved by the genetic algorithm. A Python computer program was created to generate a traffic pattern for the simulated intersection. There were three traffic pattern types: heavy, normal, and light. A separate program was created to run the traffic pattern through the intersection and capture results for both the control group and the genetic algorithm. The control group used a static value for the red and green timer for all the traffic patterns. The genetic algorithm used 100 generations to identify one elite solution of a red and green timer value. The control group had a mean heavy trip time of 190 seconds, normal trip time of 97 seconds, and light trip time of 84 seconds. Comparatively, the genetic algorithm had a mean heavy trip time of 147 seconds, normal trip time of 77 seconds, and light trip time of 80 seconds. For heavy, normal, and light traffic, the difference between the control and experimental group was determined statistically significant by a two tailed t-test. This means that the null hypothesis was rejected, and the alternative hypothesis was supported. Further research would explore the effect of a genetic algorithm on multiple connected intersections.

Awards (1)

  • Third Award of $1,000 $1,000

Competition history

  • ISEF 2019 Robotics and Intelligent Machines · Entry ROBO026

Resources

Related projects

Closest projects by meaning, across every fair and year in the corpus.

Source: Regeneron International Science and Engineering Fair

Save projects to your library

Sign in with Google to keep track of projects you find interesting, organized into folders. Browsing stays public.

Continue with Google