Assume that I want to optimize the following function:
Minimize y = x1 * x2 - x3
-5 <= x1 <= 5 # float
0 <= x2 <= 1 # float with precision 0.01
0 <= x3 <= 5 # integer can have values : [0, 1, 2, 3, 4, 5]
x2 can have decimal values with precision 0.01 like : [0, 0.01, 0.02, ...., 0.99, 1].
I have a problem in defining individuals and register in toolbox in Deap library. Please let me know if you have any idea.
Also, what kind of crossover and mutation operators you recommend for this kind of problem?