[SciPy-Dev] New simulated annealing implementation (PR 6197)