patrick-kidger / patrick-kidger/diffrax

New solvers

Open
#8 6 comments 2 reactions 0 assignees View on GitHub

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:

DAE:

  • Lots of overlap with Rosenbrock methods, get them in at the same time.
  • Standard DAE->ODE conversion (+optional nonlinear projections)
  • Set made_jump=True if dconstraint/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:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.