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.