# Issues solving DifferentialEquations EnsembleProblem

**URL:** <https://discourse.julialang.org/t/issues-solving-differentialequations-ensembleproblem/137413>\
**Category:** Modelling & Simulations\
**Tags:** package, differentialequation\
**Created:** [June 3, 2026, 12:06am UTC](https://discourse.julialang.org/t/issues-solving-differentialequations-ensembleproblem/137413 "2026-06-03T00:06:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Theodore\_Rieger](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/theodore_rieger/32/19390_2.png) [@Theodore\_Rieger](https://discourse.julialang.org/u/Theodore_Rieger)\
**Post date:** [June 3, 2026, 12:06am UTC](https://discourse.julialang.org/t/issues-solving-differentialequations-ensembleproblem/137413/1 "2026-06-03T00:06:51Z")

</div>

Hello, I was trying to experiment with ensemble problems from differentialequations package. I’m very quickly running into a roadblock in that even the examples from documentation are producing errors. Below is an example directly from the documentation that errors on my system:

```julia-auto
import DifferentialEquations as DE
prob = DE.ODEProblem((u, p, t) -> 1.01u, 0.5, (0.0, 1.0))
function prob_func(prob, i, repeat)
    DE.remake(prob, u0 = rand() * prob.u0)
end
ensemble_prob = DE.EnsembleProblem(prob, prob_func = prob_func)
sim = DE.solve(ensemble_prob, DE.Tsit5(), DE.EnsembleThreads(), trajectories = 10)
import Plots;
Plots.plot(sim);

```

The error:  
no method matching prob\_func(::SciMLBase.ODEProblem{…}, ::SciMLBase.EnsembleContext{…})  
The function `prob_func` exists, but no method is defined for this combination of argument types.

Closest candidates are:  
prob\_func(::Any, ::Any, ::Any)  
@ Main c:\Users\tedri\Documents\Scratch\test.jl:3

It would seem that the example arguments to `prob_func` are incorrect, but I am not sure how to proceed as this is direct from the documentation.

My packages:

(Scratch) pkg\> status  
Status `C:\Users\tedri\Documents\Scratch\Project.toml`  
[0c46a032] DifferentialEquations v8.0.0  
[91a5bcdd] Plots v1.41.6

Julia v1.12.6

---

<div class="post-metadata">

**Author:** ![sablonl](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sablonl/32/217805_2.png) [@sablonl](https://discourse.julialang.org/u/sablonl)\
**Post date:** [June 3, 2026, 7:11am UTC](https://discourse.julialang.org/t/issues-solving-differentialequations-ensembleproblem/137413/2 "2026-06-03T07:11:54Z")

</div>

The documentation for SciMLBase.jl is outaded, you are on V3 : [OrdinaryDiffEq.jl/NEWS.md at master · SciML/OrdinaryDiffEq.jl · GitHub](https://github.com/SciML/OrdinaryDiffEq.jl/blob/master/NEWS.md)

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [June 3, 2026, 9:50am UTC](https://discourse.julialang.org/t/issues-solving-differentialequations-ensembleproblem/137413/3 "2026-06-03T09:50:05Z")

</div>

Yes sorry, I am a bit behind on the big release blog post, podcast episode, and docs update following the major bumps. The last piece to unblock the docs went in today, so hopefully the new one builds soon. But until then, use the NEWS.md as the source of truth for the update:

> <https://github.com/SciML/OrdinaryDiffEq.jl/blob/master/NEWS.md>

Note that if you spawn an agent and point it to this, it seems to do extremely well at updating old code.

But yes, docs and blogs etc. is coming very soon.
