-
Notifications
You must be signed in to change notification settings - Fork 18
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
Feature request: Allow an initial start-vector #91
Comments
Yes, that seems very reasonable, will add it soon! |
Two options or combinations thereof as I see it:
Initializing with an Arnoldi-factorization would be more general, but not very common usecase. A starting vector would be more user friendly for the common usecase. Which option would you prefer @haampie? |
Suppose we choose option 2 and Warm starting cases like this is very desirable for me and I can provide a minimal example use-case, if you think that's useful. |
Yes. I think it could be made to allow warm-starting. One would need to create an |
Perfect! I am happy to do a PR for (2) then if it is up for grabs. |
👍 In this type of project all PRs are usually appreciated. :-) |
Yes, I would be very happy to see (2), also pinging @jagot about this issue. It should be very convenient for the user to pre-allocate the chunk of memory for the Krylov basis so that it's reusable when solving multiple times. And it should be easy to setup an initial partial Schur decomposition and continue expanding it. Providing an initial guess is just a special case of this. So a PR that decouples the allocations from the algorithm is a step in the right direction! :) |
Yes, I would be very interested in this. At the moment, I need to solve integro-differential equations on the form |
Does anyone working on this think this feature would be available soon? It’s the only thing that’s keeping me using Arpack. |
I believe KrylovKit.jl has this already, check it out. |
I think ArnoldiMethod.jl is now the most stable and fastest option among ARPACK and KrylovKit (at least on the CPU). Now that most work is done w.r.t. stability of the algorithm, it would be good to fix the API.
|
Right now, the initial vector for the iteration seems to be chosen at random. I think Arpack had the option to select an initial vector. This would allow two things:
The text was updated successfully, but these errors were encountered: