Sciml_train not defined

Hi, I just started using Julia, on a Macbook Air with M2 chip. I am trying to run the Lotka-Volterra optimization example ( verbatim, after installing all the required packages. I continue getting this error:

ERROR: UndefVarError: sciml_train not defined
[1] getproperty(x::Module, f::Symbol)
@ Base ./Base.jl:31
[2] top-level scope
@ ~/Library/CloudStorage/Dropbox/Work/JuliaOptTests/test_odeopt_ml.jl:67

I have tried updating the packages, restarting, etc, but I continue to get this error. What am I doing wrong? Is there a bug in the package?

The problem is that is not the right documentation. If you use the package’s documentation things will work. I think you’re looking for:

Thank you! I didn’t know to watch out for different documentation for different versions. (The one above is what pops up in google when I search for “Julia ODE parameter estimation”).

I have another question – the example in the documentation above uses a package OptimizationPolyalgorithms. Where can I find documentation about this package? It doesn’t seem to be listed in the list of packages in the Optimization.jl documentation – see eg the left-hand side bar in, and the only documentation I can find online through juliahub appears to be empty: .

Is there documentation on this package somewhere? If not, would a similar package be OptimizationOptimisers?

There just isn’t yet. I need to write something on the polyalgorithms, that one is my fault :sweat_smile: . You can just not use the polyalgorithm for now if you don’t want, using Adam or BFGS is fine, this is just more robust.