SciML / Optimization.jl

Mathematical Optimization in Julia. Local, global, gradient-based and derivative-free. Linear, Quadratic, Convex, Mixed-Integer, and Nonlinear Optimization in one simple, fast, and differentiable interface.
https://docs.sciml.ai/Optimization/stable/
MIT License
711 stars 79 forks source link

MethodError: no method matching Optim.MultivariateOptimizationResults #581

Open eliasmaniotto opened 1 year ago

eliasmaniotto commented 1 year ago

Hi everyone!

I am new on posting on this platform, hope to do all the things properly!

I am starting using Julia in scientific computing, and I am using the optimization packages. Currently I am working with Optimization, trying to solve a problem with boundaries via a gradient method with Automatic Differentiation.

This is the code I am using:

f = OptimizationFunction(loglikelihood_complete_reduced,Optimization.AutoForwardDiff()) prob = OptimizationProblem(f, x0_mod, _p , lb = lowerb, ub = upperb) sol = solve(prob, Optim.LBFGS(),maxiters = 1)

Normally, it works, but if I define a bigger problem to be optimized it fails.

Any advice about how to proceeed? Many thanks in advance

Attached you can find the error

MethodError: no method matching Optim.MultivariateOptimizationResults(::Fminbox{LBFGS{Nothing, LineSearches.InitialStatic{Float64}, LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Optim.var"#19#21"}, Float64, Optim.var"#49#51"}, ::Vector{Float64}, ::Vector{Float64}, ::BigFloat, ::Int64, ::Bool, ::Bool, ::Float64, ::Float64, ::Float64, ::Float64, ::Bool, ::Float64, ::Float64, ::Float64, ::Float64, ::Bool, ::Float64, ::Float64, ::Bool, ::Vector{OptimizationState{Float64, LBFGS{Optim.InverseDiagonal, LineSearches.InitialStatic{Float64}, LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Optim.var"#66#67"{Vector{Float64}, Vector{Float64}, Fminbox{LBFGS{Nothing, LineSearches.InitialStatic{Float64}, LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Optim.var"#19#21"}, Float64, Optim.var"#49#51"}, Optim.BarrierWrapper{OnceDifferentiable{Float64, Vector{Float64}, Vector{Float64}}, Optim.BoxBarrier{Vector{Float64}, Vector{Float64}}, Float64, Float64, Vector{Float64}}}}}}, ::Int64, ::Int64, ::Int64, ::Nothing, ::Float64, ::Float64, ::NamedTuple{(:time_limit, :callback, :f_increased), Tuple{Bool, Bool, Bool}})

Closest candidates are: Optim.MultivariateOptimizationResults(::O, ::Tx, ::Tx, ::Tf, ::Int64, ::Bool, ::Bool, ::Tf, ::Tf, ::Tc, ::Tc, ::Bool, ::Tf, ::Tf, ::Tc, ::Tc, ::Bool, ::Tf, ::Tc, ::Bool, ::M, ::Int64, ::Int64, ::Int64, ::Tls, ::Float64, ::Float64, ::Tsb) where {O, Tx, Tc, Tf, M, Tls, Tsb} @ Optim C:\Users\elias.julia\packages\Optim\dBGGV\src\types.jl:179

Stacktrace: [1] optimize(df::OnceDifferentiable{Float64, Vector{Float64}, Vector{Float64}}, l::Vector{Float64}, u::Vector{Float64}, initial_x::Vector{Float64}, F::Fminbox{LBFGS{Nothing, LineSearches.InitialStatic{Float64}, LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Optim.var"#19#21"}, Float64, Optim.var"#49#51"}, options::Optim.Options{Float64, OptimizationOptimJL.var"#_cb#21"{OptimizationCache{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), OptimizationForwarddiffExt.var"#38#56"{ForwardDiff.GradientConfig{ForwardDiff.Tag{OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Float64}, Float64, 12, Vector{ForwardDiff.Dual{ForwardDiff.Tag{OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Float64}, Float64, 12}}}, OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}}, OptimizationForwarddiffExt.var"#41#59"{ForwardDiff.HessianConfig{ForwardDiff.Tag{OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Float64}, Float64, 12, Vector{ForwardDiff.Dual{ForwardDiff.Tag{OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Float64}, ForwardDiff.Dual{ForwardDiff.Tag{OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Float64}, Float64, 12}, 12}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Float64}, Float64, 12}}}, OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}}, OptimizationForwarddiffExt.var"#44#62", Nothing, OptimizationForwarddiffExt.var"#48#66"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, OptimizationForwarddiffExt.var"#53#71"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}, Vector{Float64}, Vector{Float64}, Nothing, Nothing, Nothing, Fminbox{LBFGS{Nothing, LineSearches.InitialStatic{Float64}, LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Optim.var"#19#21"}, Float64, Optim.var"#49#51"}, Base.Iterators.Cycle{Tuple{Optimization.NullData}}, Bool, OptimizationOptimJL.var"#4#6"}}}) @ Optim C:\Users\elias.julia\packages\Optim\dBGGV\src\multivariate\solvers\constrained\fminbox.jl:440 [2] __solve(cache::OptimizationCache{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), OptimizationForwarddiffExt.var"#38#56"{ForwardDiff.GradientConfig{ForwardDiff.Tag{OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Float64}, Float64, 12, Vector{ForwardDiff.Dual{ForwardDiff.Tag{OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Float64}, Float64, 12}}}, OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}}, OptimizationForwarddiffExt.var"#41#59"{ForwardDiff.HessianConfig{ForwardDiff.Tag{OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Float64}, Float64, 12, Vector{ForwardDiff.Dual{ForwardDiff.Tag{OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Float64}, ForwardDiff.Dual{ForwardDiff.Tag{OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Float64}, Float64, 12}, 12}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Float64}, Float64, 12}}}, OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}}, OptimizationForwarddiffExt.var"#44#62", Nothing, OptimizationForwarddiffExt.var"#48#66"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, OptimizationForwarddiffExt.var"#53#71"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}, Vector{Float64}, Vector{Float64}, Nothing, Nothing, Nothing, Fminbox{LBFGS{Nothing, LineSearches.InitialStatic{Float64}, LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Optim.var"#19#21"}, Float64, Optim.var"#49#51"}, Base.Iterators.Cycle{Tuple{Optimization.NullData}}, Bool, OptimizationOptimJL.var"#4#6"}) @ OptimizationOptimJL C:\Users\elias.julia\packages\OptimizationOptimJL\tLvLL\src\OptimizationOptimJL.jl:282 [3] solve!(cache::OptimizationCache{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), OptimizationForwarddiffExt.var"#38#56"{ForwardDiff.GradientConfig{ForwardDiff.Tag{OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Float64}, Float64, 12, Vector{ForwardDiff.Dual{ForwardDiff.Tag{OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Float64}, Float64, 12}}}, OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}}, OptimizationForwarddiffExt.var"#41#59"{ForwardDiff.HessianConfig{ForwardDiff.Tag{OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Float64}, Float64, 12, Vector{ForwardDiff.Dual{ForwardDiff.Tag{OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Float64}, ForwardDiff.Dual{ForwardDiff.Tag{OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Float64}, Float64, 12}, 12}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Float64}, Float64, 12}}}, OptimizationForwarddiffExt.var"#37#55"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}}, OptimizationForwarddiffExt.var"#44#62", Nothing, OptimizationForwarddiffExt.var"#48#66"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, OptimizationForwarddiffExt.var"#53#71"{OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Optimization.ReInitCache{Vector{Float64}, Int64}, Vector{Float64}, Vector{Float64}, Nothing, Nothing, Nothing, Fminbox{LBFGS{Nothing, LineSearches.InitialStatic{Float64}, LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Optim.var"#19#21"}, Float64, Optim.var"#49#51"}, Base.Iterators.Cycle{Tuple{Optimization.NullData}}, Bool, OptimizationOptimJL.var"#4#6"}) @ SciMLBase C:\Users\elias.julia\packages\SciMLBase\kTUaf\src\solve.jl:162 [4] solve(::OptimizationProblem{true, OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, typeof(loglikelihood_complete_reduced), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, Int64, Vector{Float64}, Vector{Float64}, Nothing, Nothing, Nothing, Nothing, Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}}, ::LBFGS{Nothing, LineSearches.InitialStatic{Float64}, LineSearches.HagerZhang{Float64, Base.RefValue{Bool}}, Optim.var"#19#21"}; kwargs::Base.Pairs{Symbol, Int64, Tuple{Symbol}, NamedTuple{(:maxiters,), Tuple{Int64}}}) @ SciMLBase C:\Users\elias.julia\packages\SciMLBase\kTUaf\src\solve.jl:83 [5] top-level scope @ In[40]:14