ENH heuristic parameter searches including scipy.optimize.minimize