You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
There is not currently a dispatch for NonlinearLeastSquaresProblem in the modelingtoolkitize function, so those kinds of problems cannot be...toolkitized?
Is your feature request related to a problem? Please describe.
There is not currently a dispatch for NonlinearLeastSquaresProblem in the modelingtoolkitize function, so those kinds of problems cannot be...toolkitized?
julia> @mtkbuild sys = modelingtoolkitize(safehouse.prob)
ERROR: MethodError: no method matching modelingtoolkitize(::NonlinearLeastSquaresProblem{…}; name::Symbol)
Closest candidates are:
modelingtoolkitize(::OptimizationProblem; kwargs...)
@ ModelingToolkit C:\julia\packages\ModelingToolkit\kByuD\src\systems\optimization\modelingtoolkitize.jl:6
modelingtoolkitize(::SDEProblem; kwargs...)
@ ModelingToolkit C:\julia\packages\ModelingToolkit\kByuD\src\systems\diffeqs\modelingtoolkitize.jl:173
modelingtoolkitize(::ODEProblem; kwargs...)
@ ModelingToolkit C:\julia\packages\ModelingToolkit\kByuD\src\systems\diffeqs\modelingtoolkitize.jl:6
...
Describe the solution you’d like
Please add the missing dispatch (it sounds like we already know what needs doing here per a Slack discussion.)
cc @ChrisRackauckas
The text was updated successfully, but these errors were encountered: