Simulated Annealing

Aug 6, 2009 at 8:51am
Hi,


Does anyone know where I can find the source code for a simulated annealing algorithm? The basic procedures (generate and search) for temperature and cooling ratio would be nice, but of course the code for a labour scheduling/personel rostering problem in a manufacturing environment would be great because this is the problem I'm trying to solve.


Thanks!
Aug 6, 2009 at 5:40pm
The pseudocode here: http://en.wikipedia.org/wiki/Simulated_annealing is almost C/C++.

You will need srand(), but basically change the arrows to =.

You will also need to supply some functions like neighbour(s).
Last edited on Aug 6, 2009 at 5:43pm
Topic archived. No new replies allowed.