When the genetic algorithm has integer constraint issues, how to customize the variogram to eliminate the ignored warning
4 views (last 30 days)
Use the genetic algorithm to solve the single target minimum and the optimal solution of three variables, where two variables are real numbers and one variable is an integer, in order to improve the genetic algorithm, the taboo search algorithm is used to make the custom variogram of the mutation operator, but the runtime appears, warning: Problem has integer constraints. The following options will be ignored by GA:MutationFcn.Therefore, many different functions still cannot solve this warning.
How to solve this mixed integer problem? If I don't define integer intcon in options, do I need to redefine selection, crossing, variogram? Or do you only need to constrain the variable integer in the variogram
Alan Weiss on 10 Apr 2023
I am not sure what you mean by "variogram." But I think that I know the reason for your difficulty. As the Release Notes state, until R2021b the genetic algorithm did not allow custom mutation or crossover functions in integer-constrained problems. If you want to use custom mutation or crossover functions, upgrade to R2021b or later.
MATLAB mathematical toolbox documentation