Closed normandabroad closed 4 years ago
You cannot use the crossover genetic operator gaperm_oxCrossover()
(the default one for permutation searches) with upper <=3. But you can use one of the alternative, such as
gaperm_cxCrossover()
or gaperm_pmxCrossover()
or gaperm_pbxCrossover()
.
Thank you.
Hi,
First of all, thank you for the package. I am trying to learn how to use it properly and perhaps my doubt is a simple one.
Considering the code below:
It runs smoothly. But if I would change the upper parameter lower than 4, I get an error.
But my problem is happening with a slight modified version of that program.
OR
But both codes work if the difference between lower and upper bounds are higher than 2. If the difference is 1, the error mentioned above. If the difference is 2, the error is:
I would appreciate any help you could provide.
Best Regards, R