# Can remake be used with specific ODEProblem types?

**URL:** <https://discourse.julialang.org/t/can-remake-be-used-with-specific-odeproblem-types/110135>\
**Category:** Numerics\
**Tags:** diffeq, ode, differentialequation\
**Created:** [February 13, 2024, 9:43am UTC](https://discourse.julialang.org/t/can-remake-be-used-with-specific-odeproblem-types/110135 "2024-02-13T09:43:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![homocomputeris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/homocomputeris/32/8933_2.png) [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Post date:** [February 13, 2024, 9:43am UTC](https://discourse.julialang.org/t/can-remake-be-used-with-specific-odeproblem-types/110135/1 "2024-02-13T09:43:25Z")

</div>

When I try to `remake` a `SecondOrderODEProblem` with

```julia
remake(secondorderprob;
       u0 = x[1], du0 = x[2])

```

I get

```julia
Unrecognized keyword arguments found.
The only allowed keyword arguments to `solve` are:
(:dense, :saveat, :save_idxs, :tstops, :tspan, :d_discontinuities, :save_everystep, :save_on, :save_start, :save_end, :initialize_save, :adaptive, :abstol, :reltol, :dt, :dtmax, :dtmin, :force_dtmin, :internalnorm, :controller, :gamma, :beta1, :beta2, :qmax, :qmin, :qsteady_min, :qsteady_max, :qoldinit, :failfactor, :calck, :alias_u0, :maxiters, :maxtime, :callback, :isoutofdomain, :unstable_check, :verbose, :merge_callbacks, :progress, :progress_steps, :progress_name, :progress_message, :progress_id, :timeseries_errors, :dense_errors, :weak_timeseries_errors, :weak_dense_errors, :wrap, :calculate_error, :initializealg, :alg, :save_noise, :delta, :seed, :alg_hints, :kwargshandle, :trajectories, :batch_size, :sensealg, :advance_to_tstop, :stop_at_next_tstop, :u0, :p, :default_set, :second_time, :prob_choice, :alias_jump, :alias_noise, :batch, :nlsolve_kwargs, :odesolve_kwargs, :linsolve_kwargs, :ensemblealg, :show_trace, :trace_level, :store_trace, :termination_condition)

```

Though the message is quite clear, does it mean only the default `ODEProblem` can be remade?

---

<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:** [February 13, 2024, 10:56am UTC](https://discourse.julialang.org/t/can-remake-be-used-with-specific-odeproblem-types/110135/2 "2024-02-13T10:56:21Z")

</div>

That’s a bug, we should address that. Open an issue.

---

<div class="post-metadata">

**Author:** ![JoKircher](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jokircher/32/214953_2.png) [@JoKircher](https://discourse.julialang.org/u/JoKircher)\
**Post date:** [January 27, 2025, 2:14pm UTC](https://discourse.julialang.org/t/can-remake-be-used-with-specific-odeproblem-types/110135/3 "2025-01-27T14:14:57Z")

</div>

Is this fixed?

---

<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:** [January 29, 2025, 10:36am UTC](https://discourse.julialang.org/t/can-remake-be-used-with-specific-odeproblem-types/110135/4 "2025-01-29T10:36:43Z")

</div>

I don’t think we’ve gotten to this one.
