You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment one can not print an individual before its fitness (for any objective) is determined. Ultimately this is caused by, e.g., this call sequence IndividualSingleGenome::__repr__->IndividualBase::fitness in which the following check breaks
iflen(fitness_all_objectives) ==0:
raiseruntimeerror(f"fitness of individual {self.idx} is none for all objectives.")
At the moment one can not print an individual before its fitness (for any objective) is determined. Ultimately this is caused by, e.g., this call sequence
IndividualSingleGenome::__repr__->IndividualBase::fitness
in which the following check breakshttps://github.com/Happy-Algorithms-League/hal-cgp/blob/master/cgp/individual.py#L49
Not sure why this was introduced in the first place, but we should make sure nothing else breaks when removing this check.
The text was updated successfully, but these errors were encountered: