-
-
Notifications
You must be signed in to change notification settings - Fork 212
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
Add check whether relaxation is better than the full step #2443
base: master
Are you sure you want to change the base?
Add check whether relaxation is better than the full step #2443
Conversation
Presumably it should be upstreamed. |
@oscardssmith I still feel some work on this side is required as well. Most line-search algorithms from |
Hm, on closer inspection the condition for |
Maybe the method for computing the derivative of the residual with respect to the relative step size is just inaccurate for my particular use case, which would justify my current version of this PR again. |
one other question: If you use the (still somewhat undocumented NonlinearSolveAlg) does this bug still appear? |
We really should just be using NonlinearSolveAlg and pushing that forward rather than small improvements to the other. |
I'm trying to run the ODE solver with |
Stacktrace:
|
oh good point, I need to fix that... |
Looking at how |
@oscardssmith btw, currently my run fails because
|
Fixes #2442
Not sure whether this should be upstreamed to
LineSearches.jl