Skip to content
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

Alignment between “Recommended Methods” and the polyalgorithms #1031

Open
prbzrg opened this issue Apr 29, 2024 · 3 comments
Open

Alignment between “Recommended Methods” and the polyalgorithms #1031

prbzrg opened this issue Apr 29, 2024 · 3 comments

Comments

@prbzrg
Copy link
Member

prbzrg commented Apr 29, 2024

IMO, there should be alignment between “Recommended Methods” section in docs and the polyalgorithms. For example, the polyalgorithm doesn't include GPU solvers, but they are recommended. Or Feagin14 is recommended for high accuracy solving, but the polyalgorithm doesn't use it.

https://docs.sciml.ai/DiffEqDocs/dev/solvers/ode_solve/#Recommended-Methods

https://github.com/SciML/DifferentialEquations.jl/blob/master/src/ode_default_alg.jl

@ChrisRackauckas
Copy link
Member

The polyalgorithm constrains itself to a smaller set of algorithms to keep compilation time down, and prefers robustness over performance over a wide range of problems. Because of that, it sometimes deviates from the most optimal to something slightly less optimal in order to cut the number of algorithms in the list.

@prbzrg
Copy link
Member Author

prbzrg commented Apr 29, 2024

If DifferentialEquations includes all algorithms. (?) Can't we add an option to choose between "most optimal" or "best tradeoff"? Maybe in alg_hints

@ChrisRackauckas
Copy link
Member

Or just make those algorithms like SciML/OrdinaryDiffEq.jl#2103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants