Closed GuidoBallabio closed 1 year ago
the remake function suggested in the FAQ to avoid symbolic processing in the optimization function actually calls symbolis and not differentiable function resulting in errors.
I tried working around it declaring tha parameter as scala and then pass it a vector, and it works for ODEProblem! But then it crashes on optimization, even patching my way through the remake function and passing non-symbolic args to it, because the sensitivity code expects a scalar parameter reasonably.
That's https://github.com/SciML/SciMLSensitivity.jl/issues/760.
So closing because it's a duplicate, and better tracked at the sensitivity analysis AD level. But yes, it's on our minds.
While I was trying to implement sensitivity analysis and neuralODEs on a MTK model I noticed a few issues;
remake
function suggested in the FAQ to avoid symbolic processing in the optimization function actually calls symbolis and not differentiable function resulting in errors.Here an MWE of a vector parameters problem that was working at the time of #1271 :
output:
It should be:
as far as I am concerned, register symbolic should let parse inside the function.
I would love to be able to do something as in #1271, that used to work even if slow because not vectorized. I accept workarounds, and thanks for your lovely work and libraries!