Skip to content

Commit

Permalink
Update pypop7/optimizers/ds/test_nm.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Evolutionary-Intelligence committed Jul 3, 2024
1 parent 1eaca28 commit 78fdf64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypop7/optimizers/ds/test_nm.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ def test_optimize():
options = {'max_function_evaluations': 5000, # to set optimizer options
'seed_rng': 2022}
nm = NM(problem, options) # to initialize the black-box optimizer class
results = nm.optimize() # to run its optimization/evolution process
results = nm.optimize() # to run its optimization process
assert results['n_function_evaluations'] == 5000
assert results['best_so_far_y'] < 1.0

0 comments on commit 78fdf64

Please sign in to comment.