Associated article: Simulated Annealing: A Heuristic Optimization Algorithm
Published source code accompanying the article by Girish Keshav Palshikar in which he examines simulated annealing, a probabilistic heuristic optimization algorithm that mimics the natural process of slow cooling of liquids that leads to a solid form that has the lowest energy.
Algorithm Alley by Girish Keshav Palshikar Listing One // max. no. of neighboring states for a given state #define MAX_NEIGHBOUR 100 // external functions assumed (specific to each problem domain) extern double Cost(STATE *pS); // returns the cost of given state extern ...