Would someone be so kind as to provide example code where they use the suggestions argument in  the rgba function
In genalg? I can't get it to work.

The following code works just fine:

GenFit <-rbga(Lower, Upper, evalFunc = evaluate)

Lower and Upper are each numeric vectors with 7 elements. Evaluate is an objective function.
However, when I want to use a suggested chromosome, I get an error message. My code is

start <- c(1,0.1,10, 100,1,100,1)

suggestions <- list(start)

GenFit <-rbga(Lower, Upper, suggestions = suggestions, evalFunc = evaluate)

The error message is:

Error in 1:suggestionCount : argument of length 0

Thanks.



	[[alternative HTML version deleted]]

