-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Every GMRES Algorithm Fails Silently From Stagnation #297
Comments
It sounds like these are upstream issues? |
Not entirely.
|
Actually, on further inspection |
This was fixed back in #334 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Every implemented GMRES algorithm often fails to converge when restart is less than the problem dimension, but will return without indicating failure.
This failure (likely due to stagnation) seems to depend on the absolute difference between the problem dimension and the Krylov subspace dimension (
gmres_restart
.) The rate of failure is slightly different for each algorithm, but the lowest failure rate resulting from a 1-dimensional difference in the example case I provided is 30%, ie.problem_dim = 100
andgmres_restart = 99
will silently fail and return an incorrect solution ~30% of the time. As willproblem_dim=25
andgmres_restart=24
. If the difference is 5 dimensions, that failure rate is 90% for KrylovKit, and >99% for the other two algorithms.See the issues raised here for reproducing code:
JuliaLinearAlgebra/IterativeSolvers.jl#338
Jutho/KrylovKit.jl#70
JuliaSmoothOptimizers/Krylov.jl#729
The text was updated successfully, but these errors were encountered: