Great, thank you so much François-Michel (especially since this was a Python error, unrelated to DEAP...),
I updated my Gist:
https://gist.github.com/rodolpheg/7a31e3d4a8344af2309fWhere I now have an error in utils.py:
"n = int(math.floor(1 + math.sqrt(1 + 8 * len(ind))/2))
TypeError: object of type 'MyContainer' has no len()"
I guess I don't really understand what's being passed to "my_instance.mutation" by "pop = algorithms.varAnd(pop, toolbox, .05, .5)". In fact, what is actually being passed for mating and mutation? An object containing all individuals? I currently use the function mutation(ind,pb) as if I was dealing with one individual to mutate...
I can't find anything that could help me understand this in the doc, sorry if I didn't look hard enough... :)
Thanks!!!