-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
TrustRegion bugs #210
Merged
Merged
TrustRegion bugs #210
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
081f3b1
fix incorrect gradient and Gauss-Newton Hessian proxy
FHoltorf f20e897
fix Cauchy point calculation in dogleg step
FHoltorf 6f3556e
expose quadratic form structure explicitly
FHoltorf 146dec9
add NLsolve trust region updating scheme and change GN step to -J\fu …
FHoltorf 884aafc
add Nocedal and Wright trust region updating scheme
FHoltorf 094eb34
add meaningful description for NLsolve and NW trust region updating s…
FHoltorf 0e99655
cache memory for cauchy step to enable non-allocating code
FHoltorf 439415b
parameter types should not be converted to eltype(u). For now, defaul…
FHoltorf 0ba652b
finish rebase to master
FHoltorf 6f7ef29
introduce better variable names (and also ones that are more consiste…
FHoltorf 79ab992
fix consistency test
FHoltorf b749501
fix oop perform step and Fan scheme initialization
FHoltorf 21d246d
improve comment
FHoltorf 177def2
use less conservative step acceptance policy
FHoltorf 0190764
choose Float64 as default type for trust region adaptation parameters…
FHoltorf 5f298e3
hardcode NLsolve parameters
FHoltorf b2b5d89
add NLsolve-like trust region initialization
FHoltorf f67ced5
avoid recomputation of GN step if TR step was rejected. Faster and av…
FHoltorf 34821e5
run SciML formatter
FHoltorf 609f67c
rename NW -> NocedalWright
FHoltorf 32cf735
convergence check for NocedalWright
FHoltorf e77fa76
test new trust region schemes
FHoltorf f5c66c4
run formatter
FHoltorf 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 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.
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.
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.
this seems to be mutating
J
(resp.A
) by default. I assume that is intended but requires care when the trust region step is being rejected. For now I simply avoid recomputing the Gauss-Newton step in that case since that is just unnecessary work (although we used to do it for some reason). That said, this won't work for Jacobian reuse trust region methods which may be on the horizon. Just leaving this note here since this is quite subtle and can lead to hard-to-detect problems.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.
@frankschae @avik-pal make note.
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 recently saw this as well while debugging a Gauss Newton bug, do we know why this is happening? Given that
alias_A = true