Optimization, Programming, Python, Evolutionary Algorithms, Editors Pick.
Differential Evolution sol_de = differential_evolution( obj_fun, bounds=[(-5., 5.), (-5., 5.)], popsize=50, strategy="rand1bin", mutation=(0.3, 1.0), recombination=0.7, tol=1e-8, maxiter=200, updating="deferred", polish=False ) Notice the first difference in specifying, rather than an initial