eaopt
eaopt copied to clipboard
:four_leaf_clover: Evolutionary optimization library for Go (genetic algorithm, partical swarm optimization, differential evolution)
Dear all, from a scan of the (very nicely done) documentation, am I right, that eaopt currently does not support multiple objectives for optimization in evolutionary algorithms (incl. getting the...
Hello @MaxHalford , Thanks for making a cool open source project! It's been interesting to learn about genetic algorithms by working with it. I'm also new to golang, so I...
# Problem Most of the models defined in [`models.go`](https://github.com/MaxHalford/eaopt/blob/v0.4.2/models.go) evaluate the fitness function sequentially, even if `ParallelEval` is set to `true`. From what I can tell from inspecting the source...
I have a genome which isn't hashable. When I run my application, it panics: ``` panic: runtime error: hash of unhashable type scheduler.ScheduleRequest goroutine 20 [running]: github.com/JensRantil/eaopt.getNeighbours(0x118e300, 0xc0000990a0, 0xc000099140) /Users/jrantil/go/pkg/mod/github.com/!jens!rantil/[email protected]/slice.go:70...
@MaxHalford ~~This is my first pass at adding *Population* marshaling to the repo. There are some issues with serializing the GA object, namely issues with interfaces (Model, Migrator, etc) that...
The unsigned int mod.NOffsprings can be never negative hence here is a logic bug. ``` if mod.NOffsprings
# Background This first part is not an issue, just something I was sorta-curious about. I notice the [special transformation thingy](https://github.com/MaxHalford/eaopt/blob/a07183a46a3e5846ec4b69628a5aec6b28d0a481/selection.go#L93) you do on the fitnesses in `buildWheel()` (before building...
``` bash-3.2$ go test ./... --- FAIL: ExampleDiffEvo (0.00s) got: Found minimum of 0.00137 in [0.00044201296938241373 0.00019592462513264675] want: Found minimum of 0.00137 in [0.0004420129693826938 0.000195924625132926] --- FAIL: ExampleOES (0.00s) got:...
For example, https://pkg.go.dev/github.com/MaxHalford/eaopt#CrossERX states > CrossERX (Edge Recombination Crossover). I don't know what that means. Would be nice with an example or link to somewhere on the Internet that explains...