DiffEqParamEstim.jl icon indicating copy to clipboard operation
DiffEqParamEstim.jl copied to clipboard

genetic algorithm test syntax problem

Open finmod opened this issue 8 years ago • 4 comments

BlackBoxOptim and Evolutionary have upgraded to Julia v.06. BlackBoxOptim_test is running fine but generic_algorithm_test is throwing the following error:

WARNING: deprecated syntax "typealias Strategy Dict{Symbol,Any}" at C:\Users\Denis.julia\v0.6\Evolutionary\src\Evolutionary.jl:22. Use "const Strategy = Dict{Symbol,Any}" instead.

WARNING: deprecated syntax "typealias Individual Union(Vector,Matrix,Function,Nothing)" at C:\Users\Denis.julia\v0.6\Evolutionary\src\Evolutionary.jl:23. Use "const Individual = Union(Vector,Matrix,Function,Nothing)" instead. LoadError: UndefVarError: Nothing not defined while loading C:\Users\Denis.julia\v0.6\Evolutionary\src\Evolutionary.jl, in expression starting on line 22

Stacktrace: [1] include_from_node1(::String) at .\loading.jl:569 [2] eval(::Module, ::Any) at .\boot.jl:235 [3] _require(::Symbol) at .\loading.jl:483 [4] require(::Symbol) at .\loading.jl:398 [5] include_string(::String, ::String) at .\loading.jl:515

finmod avatar Aug 09 '17 09:08 finmod

Evolutionary.jl has not updated to v0.6. https://github.com/wildart/Evolutionary.jl/releases Its last tag was June 15th.

ChrisRackauckas avatar Aug 09 '17 14:08 ChrisRackauckas

https://github.com/wildart/Evolutionary.jl/issues/16

ChrisRackauckas avatar Aug 09 '17 14:08 ChrisRackauckas

Now it is published as updated but runtests genetic_algorithms still give an error.

finmod avatar Sep 09 '17 10:09 finmod

No, it hasn't been updated still?

ChrisRackauckas avatar Sep 09 '17 23:09 ChrisRackauckas