-
Notifications
You must be signed in to change notification settings - Fork 121
Add unconstrained tests for all optimizers #402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The windows action failure is due to a (temporary?) failure to download the miniconda executables from the official repo. |
|
Ok that's so weird, so the NSGA2 test segfaults when running in isolated mode, but it runs fine without on my computer. Hmmm |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #402 +/- ##
==========================================
- Coverage 86.26% 86.17% -0.09%
==========================================
Files 24 24
Lines 3399 3406 +7
==========================================
+ Hits 2932 2935 +3
- Misses 467 471 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
tests/test_sphere.py
Outdated
| "seed": 1235, | ||
| } | ||
| }, | ||
| "NSGA2": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now we skip the NSGA2 test, should we remove the NSGA2 options here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would apply to the change in pyOpt_testing.py too. I am not sure if we want to remove this completely since we might want to test it locally at some point, but we should at least adding a comment clarifying which optimizers are not tested.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added comment, in the future I'd like to bring it back once #448 is addressed
|
@marcomangano this is ready |
marcomangano
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Maybe when we fix the testing issues with NSGA-II we can also update the name in our code to match the metadata
Purpose
Should be good to go after #438. Turns out we never had any unconstrained tests... It's also clear that NSGA2 was never thoroughly tested.
Expected time until merged
Type of change
Testing
Checklist
flake8andblackto make sure the Python code adheres to PEP-8 and is consistently formattedfprettifyor C/C++ code withclang-formatas applicable