patrick-kidger / patrick-kidger/diffrax
New solvers
Open
Nobody has claimed this yet.
feature
- Dominant language
- Python
- Stars
- 2.1k
- Forks
- 189
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 1
Description
SDE:
- Milstein
- Euler-Heun
- SRKs (Additive)
- Talay (Ito commutative)
Implict:
- BDF
- Rosenbrock methods
- IMEX methods, e.g. http://dx.doi.org/10.1175/mwr-d-13-00132.1
DAE:
- Lots of overlap with Rosenbrock methods, get them in at the same time.
- Standard DAE->ODE conversion (+optional nonlinear projections)
- Set
made_jump=Trueifdconstraint/dz=0 - Mass matrices: work with these or work with constraint functions? Former is a little more general; maybe less efficient in some cases? Also think about traced mass matrices, possibly space-varying (e.g. quasilinear problems), possibly rank-varying.
Symplectic:
- Higher-order symplectic methods
- A lot of the lower-order methods (Stormer-Verlet, Leapfrog, Kick-drift-kick, Semi-implicit Euler) are all essentially the same thing. It would be good to write out something making this explicit, plus maybe add some special variants if you really want a particular variant.
Other:
- Higher-order ERK methods (Verner etc.)
- See also a few of the comments made about DifferentialEquations.jl in this (old) blog post: https://www.stochasticlifestyle.com/comparison-differential-equation-solver-suites-matlab-r-julia-python-c-fortran/
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by reviewing the existing solver organization and narrowing this broad wishlist to one unchecked method family, such as Talay, BDF, or higher-order symplectic methods. Use the linked paper or blog post where relevant; completion would require a defined method, implementation scope, and validation criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100