luca-scr / GA

An R package for optimization using genetic algorithms
http://luca-scr.github.io/GA/
91 stars 29 forks source link

Duplicated Sols in @bestSol #48

Closed Mahdi-Massahi closed 3 years ago

Mahdi-Massahi commented 3 years ago

Using ga function, as:

GA <- ga(...)

Sometimes duplicated best solutions exist in GA@bestSol list.

> GA@bestSol
[[1]]
      [,1]     [,2]
[1,]   1.0     51.0

[[2]]
      [,1]     [,2]
[1,]   1.2     51.2
      [,1]     [,2]
[2,]   1.2     51.2
luca-scr commented 3 years ago

Yes of course