Results 133 comments of Art
trafficstars

> I would like to know why the algorithm stop That would depend on a problem you're trying to solve. I assume you didn't get a desired result which prompted...

> so I would like it return something and I can print in the loop. The debug trace can be enabled through the the `show_trace` parameter in the `Options` object,...

Here is a docs page about traces: Look here: https://wildart.github.io/Evolutionary.jl/dev/tutorial/#Trace-1 This is an example of using it https://github.com/wildart/Evolutionary.jl/blob/30d677fcfc19d517f2a974a00bafda34656c468c/test/onemax.jl#L7-L10

By default, `GA` doesn't mutate nor perform selection. ``` help?> GA Implementation of Genetic Algorithm The constructor takes following keyword arguments: • populationSize: The size of the population • crossoverRate:...

See here: https://wildart.github.io/Evolutionary.jl/dev/constraints/

> and my constraint function is > > c(x)=sum(w.*x) The constraint function has to return array of values, so it should be like this ```julia c(x) = [ sum(w.*x) ]...

It's because default population size is 1. Play around with μ and λ parameters for better results. I'll fix these defaults in the next release.

So, CMAES parameters are actually, μ and λ , see all parameters here https://wildart.github.io/Evolutionary.jl/dev/cmaes/. ```julia julia> result = Evolutionary.optimize(x -> sum(x.^2), ones(3), CMAES()) * Status: success * Candidate solution Minimizer:...

You need to be sure that an objective function can be minimized. Plus, for CMAES population need to be a vector (#55). Moreover, you might want to play around with...

I understand you frustration about Unicode symbols. I'm going to provide a English-based parameter names in future versions. > Any ideas of how to include it without the Greek symbol?...