Open
Description
I am solving ODEs that depend on non-numeric parameters. The concrete parameter type differs between problems (e.g. with/without AD), so I can only type it abstractly in the system definition (e.g. @parameters P::SomeAbstractType
).
With all combinations of SII.set*_oop
and remake
I have tried, this makes the generated ODE function type-unstable in solve
. This kills my performance.
Are there any tools I should look into to work around this? Or is this an insurmountable limitation for now?
Let me know if an example helps. Thanks.