-
-
Notifications
You must be signed in to change notification settings - Fork 666
feat: change default solver to idaklu #4915
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
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #4915 +/- ##
===========================================
- Coverage 98.70% 98.64% -0.06%
===========================================
Files 304 304
Lines 23701 23742 +41
===========================================
+ Hits 23394 23421 +27
- Misses 307 321 +14 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
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.
Looks good to me aside from the missing coverage + a changelog entry :)
Would adding a temporary warning on the base solver if the tolerances aren't the default values work for letting users know about the change?
good idea, I've added a warning if users use the default solver. We can remove it after a couple of releases |
@martinjrobins one minor request: can we also update the readme to use the |
good point, added this now |
I am a bit confused, did this make it in the release or not? |
No, it didn't make it to the release, @brosaplanella |
Then we need to update the CHANGELOG, as it has included under the 25.4 section (I will try to draft the release notes over the weekend). |
Description
Fixes #4914
Note: as part of this change I've had to relax a lot of the test tolerances, due to the different default tolerances that we have for the IDAKLU solver. If users have existing code that uses the default solver and tolerances, this might fail suddenly when they upgrade. We have to think about how to handle this
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.
Key checklist:
$ pre-commit run
(or$ nox -s pre-commit
) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)$ python -m pytest
(or$ nox -s tests
)$ python -m pytest --doctest-plus src
(or$ nox -s doctests
)You can run integration tests, unit tests, and doctests together at once, using
$ nox -s quick
.Further checks: