Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Using autodiff types for ODEint solvers

Open
#92 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
tooling

Research direction

Start by reviewing Boost.ODEInt's adaptive Runge-Kutta and stiff solver interfaces, then assess whether autodiff::dual or similar automatic differentiation types can serve as state types. Done would mean a clear feasibility answer with recommended practices, caveats, and any supporting examples or references.

Written by the indexing model from the issue text.

Description

I am exploring whether it is possible to compute first order (or even higher order) sensitivities of ODE solutions using Boost.ODEInt by giving the integrator an automatic differentiation type (like autodiff::dual or similar) as the state type.

My questions are:

  • Is it feasible to use generic autodiff types in adaptive Runge-Kutta solvers or in stiff solvers provided by ODEInt to compute sensitivities directly?

  • Are there recommended practices or caveats when doing so?

Any guidance, examples, or references would be greatly appreciated.

Thank you very much!

Dominant language
C++
Stars
55
Forks
59
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from boostorg/odeint

All issues in boostorg/odeint

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.