Open yasser9372 opened 5 years ago
Hi. I want to add an specific solution in first population. for example in this population:
# Define population. indv_template = BinaryIndividual(ranges=[(-2, 2), (-2, 2)], eps=0.001) population = Population(indv_template=indv_template, size=50).init()
i want to add a solution like [-1, 1] in first population. I tried this but i got error: https://github.com/PytLab/gaft/blob/0fb7547752d443a3722916db02cf0a2cfb03026d/gaft/components/individual.py#L82 how can i do this?? thanks
Hi. I want to add an specific solution in first population. for example in this population:
i want to add a solution like [-1, 1] in first population. I tried this but i got error: https://github.com/PytLab/gaft/blob/0fb7547752d443a3722916db02cf0a2cfb03026d/gaft/components/individual.py#L82 how can i do this?? thanks