Hello,

I have found some mistakes in the online (and also printed) documentation of simulated annealing at

http://www.gnu.org/software/gsl/manual/html_node/Simulated-Annealing- functions.html


when the function pointer print_function is not null what is printed (in GSL 1.10) is actually:

#-iter, #-evals , temperature , position (from output of print_function), energy, best energy

not what is stated in the doc.

Another inconsistency I have found is in the TSP example.

The optimal route for the city shown in the doc is not correct and it is not what is found from running the program
siman_tsp.

The output is:

# final coordinates of cities (longitude and latitude)
###final_city_coord: -105.95 35.68 Santa Fe
###final_city_coord: -105.92 35.77 Tesuque
###final_city_coord: -106.28 35.89 Los Alamos
###final_city_coord: -106.62 35.12 Albuquerque
###final_city_coord: -107.84 35.15 Grants
###final_city_coord: -107.87 37.29 Durango
###final_city_coord: -108.58 37.35 Cortez
###final_city_coord: -108.74 35.52 Gallup
###final_city_coord: -112.07 33.54 Phoenix
###final_city_coord: -106.76 32.34 Las Cruces
###final_city_coord: -96.77 32.79 Dallas
###final_city_coord: -103.2 34.41 Clovis
###final_city_coord: -105.95 35.68 Santa Fe


Best Regards

 Lorenzo Moneta



_______________________________________________
Bug-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gsl

Reply via email to