-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add optional preconditioner for linear solves (#279)
* Use correct cg iteration count * Add optional preconditioner * Scale gradient norm by preconditioner for TR radius * Use correct cg iteration count * Add optional preconditioner * Scale gradient norm by preconditioner for TR radius * Update src/trunk.jl Co-authored-by: Tangi Migot <[email protected]> * Add unit test * Update src/trunk.jl Co-authored-by: Tangi Migot <[email protected]> * Fix status check in precon unit test * Ensure that the preconditioner is pos def. This doesn't seem to be a great preconditioner, but it does test the precon option. --------- Co-authored-by: Tangi Migot <[email protected]> Co-authored-by: Alexis Montoison <[email protected]>
- Loading branch information
1 parent
da5e309
commit 53a9419
Showing
3 changed files
with
44 additions
and
5 deletions.
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
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
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