Closed aplavin closed 1 year ago
Thank you for reporting. The issue will be solved in SearchSpaces.jl (maybe by relaxing the type bounds).
Same with numbers instead of vectors: 1d optimization doesn't work, the error seems different.
julia> bounds = [-5; 5;;]
2×1 Matrix{Int64}:
-5
5
julia> result = optimize(f, bounds)
ERROR: MethodError: no method matching create_solution(::Int64, ::Problem{BoxConstrainedSpace{Int64}}; ε::Float64)
Not sure if intended (then the version is breaking, and should be bumped to 4 instead) or not (then types should be relaxed), but:
Metaheuristics@3.2:
Metaheuristics@3.3: