Hi there,
I'm new to DEAP and I have a problem what is based on an individual n X 5 array with binary 0/1 values and only one is allowed to be 1.
Simple example:
m = np.array([[0,0,0,0,1], [1,0,0,0,0], [0,0,0,0,0]])
My getValue function calculates the fitness with constrain penalties based
Using my own mutation function what considers the 2d problem is running into
an exception: too many values to unpack in varAnd / eaSimple.
Question: Shall I express my individual as 1d array, what gives me a little headache according to the fitness function or is it possible with another simple modification?
Thanks in advance,
Christian