Simulated annealing is a programming method that attempts to simulate the physical process of annealing. Annealing is a where a material is heated and then cooled (as steel or glass) usually for softening and making the material less brittle. Simulated annealing, therefore, exposes a "solution" to "heat" and cools producing a more optimal solution.
The "Traveling Salesman Problem" (TSP) is a common problem applied to artificial intelligence. The TSP presents the computer with a number of cities, and the computer must compute the optimal path between the cities. This applet uses simulated annealing to produce a solution to the "Traveling Salesman Problem".
Simulated Annealing
|
Instructions
|
[Download Source Code]
[Learn More about Artificial Intelligence]
This example uses a small simulated annealing experiment designed to function as an applet. If you would like a more "industrial strength" simulated annealing framework consider the Encog Machine Learning Framework. Encog is available for both Java and .Net, and includes a simulated annealing traveling salesman example just like this one.
Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer