luca-scr / GA

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

How to debug GA function from GA package? #27

Closed maxrodkin closed 3 years ago

maxrodkin commented 5 years ago

I ran GA function from R GA package for securties portfolio optimization. Its correct for shares and bonds separatelly. Id like to combine s.&b. in one porfolio. Thus, i combined the both datasets in one. But got error about "as.vector(nBits)" , but i have no such expression in my code. How to understand, which my GA parameter is wrong? Error in as.vector(nBits) : argument "nBits" is missing, with no default

I posted Q. here too. My issue not bug report, but help request

luca-scr commented 5 years ago

See the reply you got on StackOverflow.

maxrodkin commented 5 years ago

@luca-scr thank you