-
Notifications
You must be signed in to change notification settings - Fork 216
Open
Description
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:
gaft/gaft/components/individual.py
Line 82 in 0fb7547
| def init(self, chromsome=None, solution=None): |
how can i do this??
thanks
SkyLin1020
Metadata
Metadata
Assignees
Labels
No labels