Different solve options within ensemble simulations

I have an EnsembleProblem. This allows me to remake the problem for each of the different simulations. However, I want to change the keyword arguments for solving the different trajectories of the ensemble problem. For instance, changing the solver algorithm (such as Tsit5() ), or adding different callbacks for different simulations (this is my case).

Is this possible?

Thanks :slight_smile:

Yes, DEProblem types can take in kwargs that they forward, so you can do ODEProblem(f,u0,tspan,alg = Tsit5(),callback=cb) in the problem making stage and then itโ€™ll solve with different solvers and callbacks.


Thanks @ChrisRackauckas !