optimize.tests.test__differential_evolution

Unit tests for the differential global minimization algorithm.

Module Contents

Classes

TestDifferentialEvolutionSolver()
class TestDifferentialEvolutionSolver
setup_method()
teardown_method()
quadratic(x)
test__strategy_resolves()
test__mutate1()
test__mutate2()
test__randtobest1()
test_can_init_with_dithering()
test_invalid_mutation_values_arent_accepted()
test__scale_parameters()
test__unscale_parameters()
test__ensure_constraint()
test_differential_evolution()
test_best_solution_retrieval()
test_callback_terminates()
test_args_tuple_is_passed()
test_init_with_invalid_strategy()
test_bounds_checking()
test_select_samples()
test_maxiter_stops_solve()
test_maxfun_stops_solve()
test_quadratic()
test_quadratic_from_diff_ev()
test_seed_gives_repeatability()
test_exp_runs()
test_gh_4511_regression()
test_calculate_population_energies()
test_iteration()
test_convergence()
test_maxiter_none_GH5731()
test_population_initiation()