| Genetic Algorithms - Examples and Simulations |
The largest Traveling Salesman tour, as of August 2008, is of 85,900 "cities." It was solved by a Georgia Tech team in 2006. The details of how it was solved are here. Because such problems take a very long time to solve, approaches like genetic algorithms are often used. GAs cannot guarantee the best answer although they often produce one. But they usually yield a "pretty good" answer while using far less time to solve the problem. |
| Elementary
examples: You read the book. You saw the movie. Now try the applet.
Traveling Salesman problem (TSP):
This introductory applet allows the mutation speed, the number of
cities and the number of solvers (a.k.a "Pop Size") for the Traveling
Salesman problem. Try changing both the mutation % and the
population size. Note how the solution changes: visually
inspect the result. Does it appear to be optimal?
The traveling salesman problem, or TSP for short, is easy to state: given a number of "cities" along with the cost of travel between each pair of them, find the cheapest way of visiting all the cities and returning to your starting point. The simplicity of the statement of the problem is deceptive--the TSP is one of the most intensely studied problems in computational mathematics and yet no effective solution method is known for the general case. Indeed, the resolution of the TSP would settle the P versus NP problem and fetch a $1,000,000 prize from the Clay Mathematics Institute. Numerous algorithms have been created to solve the TSP. The most obvious one is the brute-force approach, where all possible combinations of routes are tested. However, this is also the most compute-intensive, so other algorithms have been developed [ 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 ]. The TSP has numerous applications other than travelling logistics. These pages [ 1 | 2 | 3 ] document many of them. The Seven Bridges of Konigsberg:
This is an old puzzle that was solved by the famous mathematician Leonhard Euler
in 1735. This is a very similar problem to the TSP, and is often
assigned to computer science students as homework. The Seven
Bridges problem spawned the field of graph theory, which is a subset of topology. It is also very amenable to solution by genetic algorithms.
Miscellaneous GAs: Manna Mouse:
Among interactive artificial life simulations, Manna Mouse is
uniquely simple: a creature's genome encodes its location on the
display area. This simplicity allows us to see interesting dynamics
that are often inaccessible. With your mouse you paint manna--the
reward function. By visualizing the fitness landscape, you can quickly
build intuitions about evolution.
Evolving Floys are social, territorial, evolving artificial life creatures. They belong to the flocking Alife creatures variety, sharing with them the social tendency to stick together, and the lifelike emergent behavior which is based on a few simple, local rules. They differ from most other flocking Alife animals by having the following properties: Echo is a simulation tool developed to investigate mechanisms which regulate diversity and information-processing in systems comprised of many interacting adaptive agents, or complex adaptive systems. Maze Solver: finds a path from the origin point of a grid to a target. Evolution of a Prism Lens: The goal is to optimise the shape of lens in such a way that parallel rays falling into the lens will focus in one single point. |
| Home
|
Overview
|
History
|
Tutorials
|
Multimedia and
Lectures Examples and Simulations | Advanced Topics |