-
Notifications
You must be signed in to change notification settings - Fork 4
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 solve with Krylov methods #35
Conversation
Codecov Report
@@ Coverage Diff @@
## main #35 +/- ##
==========================================
+ Coverage 94.91% 95.50% +0.58%
==========================================
Files 2 4 +2
Lines 177 200 +23
==========================================
+ Hits 168 191 +23
Misses 9 9
Continue to review full report at Codecov.
|
@tmigot you could also add specialized methods for the Krylov solvers:
The user will be able to use all the features of Krylov.jl without using
|
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, but it seems we're restricting the user to a handful of solvers that are made specifically for least squares. I see no reason to prevent users from calling any other method (that might or might not work). For example, MINRES and GMRES are also legal choices. If the least-squares problem is consistent, CRAIG, SYMMLQ, etc., are also legal choices. Why not let the user call any solver?
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.
Also, please add a little documentation about this feature.
No merge commits please. Use rebase instead. |
add docstring return error for constrained problems fix comments add tailored solver structure use `Krylov.KRYLOV_SOLVERS` type `Dict` Co-authored-by: Alexis <35051714+amontoison@users.noreply.github.com> Update src/solve_krylov.jl Co-authored-by: Dominique <dominique.orban@gmail.com> fix tests fix
Following the discussion here JuliaSmoothOptimizers/Krylov.jl#540
This could be documented in a separate tutorial.