-
-
Notifications
You must be signed in to change notification settings - Fork 763
Add pybammsolvers nonlinear solver #5459
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
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
f0e9d1b
partially working
MarcBerliner cc2dd27
cleanup
MarcBerliner 7ff96fb
Update test_thermal_models.py
MarcBerliner 975c1f3
add disabled option
MarcBerliner 9a47ef0
Merge branch 'main' into newtons-method
MarcBerliner 77f57d7
Merge branch 'main' into newtons-method
MarcBerliner e9462e3
nonlinear and linear solver extensions
MarcBerliner f5bbe55
refactor consistent IC
MarcBerliner 52bfee6
review 0
MarcBerliner 9c50798
good
MarcBerliner a4e0b7c
standalone newton
MarcBerliner bf9ff4a
Update test_newton_modes.py
MarcBerliner 1eeb40f
simplified nls
MarcBerliner b066747
cleanup
MarcBerliner 51d3363
Merge remote-tracking branch 'origin/main' into newton-simplify
MarcBerliner 1a0fb20
Merge branch 'main' into newton-simplify
MarcBerliner 03466a0
Merge branch 'main' into newton-simplify
MarcBerliner 7da9e1e
fix tests
MarcBerliner 188a4ac
update comments/docstrings
MarcBerliner 5e3ef6a
style
MarcBerliner 0c4bd4b
Merge branch 'main' into nonlinear-solver
MarcBerliner 5b8a4a6
bump pybammsolvers
MarcBerliner f5f595c
Merge branch 'nonlinear-solver' of https://github.com/pybamm-team/PyB…
MarcBerliner 2a77023
attach root solver to model
MarcBerliner 57923cc
Merge branch 'main' into nonlinear-solver
MarcBerliner 45dc11a
Merge branch 'main' into nonlinear-solver
MarcBerliner df2cc98
fix uv lock
MarcBerliner 1933c54
clean up NonlinearSolver pickling
MarcBerliner 32033d0
cleanup
MarcBerliner f2b22bd
fix windows/macos intel test
MarcBerliner 95006eb
Merge branch 'main' into nonlinear-solver
MarcBerliner c00dca6
Merge branch 'main' into nonlinear-solver
MarcBerliner 2106ba6
cleanup algebraic functions
MarcBerliner f6a6248
Merge branch 'nonlinear-solver' of https://github.com/pybamm-team/PyB…
MarcBerliner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
issue: I think it's worth removing the upper pin on pybammsolvers. I just realised we haven't been using
0.7.0since it wasn't updated here. It probably better to fail loudly, then to silently forget about it.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.
Blocking conda-forge/pybamm-feedstock#65 - can only put PyBaMM on conda-forge back if a release version depends on v0.7.0+, and surprisingly we don't use pybammsolvers v0.7.0?
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.
I would selfishly like to have some kind of upper pin on pybammsolvers (could only be for major releases like `<1") because we effectively use pybammsolvers as an internal dependency, and changing any API in pybammsolvers is a huge headache if we have to consider backward compatibility across multiple pybamm versions
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.
Let's keep this pin setup for now and discuss this topic at the next pybamm dev meeting