This example on the master branch seems a little outdated. Only by reading through other issues in this repo I was able to find this new example.
I'd like to suggest that at least the new example should get referenced in the newest documentation. https://docs.rs/argmin/0.4.7/argmin/solver/simulatedannealing/struct.SimulatedAnnealing.html Currently, it links to the old, outdated one.