-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with Hyperoptim.jl #146
Comments
what versions of packages are you using, please print the result of |
Probably more than you asked for, but here you go! [6e4b80f9] BenchmarkTools v1.3.1 |
Try |
Since tests pass in the repo, I am fairly confident this issue is fixed now with the latest release of NonconvexMultistart. Please open another issue if you have another problem. |
It works, thank you for the help! |
Here is a snippet of my code.
When I run it, I get the following error:
The function
Base.propertynames
was overloaded for typeHyperopt.Hyperoptimizer{Hyperopt.GPSampler, NonconvexMultistart.var"#3#8"{Hyperopt.GPSampler, NonconvexNLopt.NLoptWorkspace{NonconvexCore.VecModel{NonconvexCore.Objective{NonconvexCore.var"#147#149"{typeof(calc_sse), NonconvexCore.Unflatten{Tuple{Vector{Float64}}, NonconvexCore.var"#unflatten_to_Tuple#71"{Tuple{Int64}, Tuple{Int64}, Tuple{typeof(identity)}}}}, Base.RefValue{Float64}, Set{Symbol}}, NonconvexCore.VectorOfFunctions{Vector{NonconvexCore.EqConstraint}}, NonconvexCore.VectorOfFunctions{Vector{NonconvexCore.IneqConstraint}}, NonconvexCore.VectorOfFunctions{Vector{NonconvexCore.SDConstraint}}, Vector{Float64}, Vector{Float64}, Vector{Float64}}, NLopt.Opt, Vector{Float64}, NLoptOptions{NamedTuple{(:suboptions, :ftol_rel, :ftol_abs, :xtol_rel, :xtol_abs), Tuple{NLoptOptions{NamedTuple{(), Tuple{}}}, Float64, Float64, Float64, Float64}}}, NLoptAlg{Nothing}, Base.RefValue{Int64}}, HyperoptOptions{NLoptOptions{NamedTuple{(:suboptions, :ftol_rel, :ftol_abs, :xtol_rel, :xtol_abs), Tuple{NLoptOptions{NamedTuple{(), Tuple{}}}, Float64, Float64, Float64, Float64}}}, Nothing, Nothing, Int64, Int64, Hyperopt.GPSampler, Float64, Bool}}}
.Please make sure the following methods are also overloaded for this type:
ConstructionBase.setproperties
ConstructionBase.getproperties # optional in VERSION >= julia v1.
The text was updated successfully, but these errors were encountered: