I would like to ask what should I do if my Mat (the first gene of the chromosome) is only 0 and 2 (not 1)? Following is the code:
tools.mutUniformInt(low=[Mat_min, 0, Span_min, Span_min], up=[Mat_max, 7, Span_max, Span_max], indpb=0.05, individual=ind)
If I use Mat_min=0 and Mat_max=2, 1 will be counted. So I am really confused. Thank you in advance.