Closed jbytecode closed 1 year ago
Thank you for reporting. This will be fixed in the next minor update.
For reference, it's no longer necessary to provide parameters to GA:
res = optimize(f, bounds, GA)
The optimize
API infers the genetic operators depending on the problem.
The documentation of the package in
https://jmejia8.github.io/Metaheuristics.jl/dev/algorithms/#GA
includes an example for real-value GA as shown below:
f
,bounds
, andsolutions
were successfully extracted, however, GA() part is problematic as I end up with: