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
A new bool parameter called allow_duplicate_genes is supported. If True, then a solution/chromosome may have duplicate gene values. If False, then each gene will have a unique value in its solution.
This behavior is not guaranteed when a gene is assigned a dict in the gene_space parameter. For example, the last gene here (gene_space=[[7, 8, 9], [9, 8, 7], {"low": 7, "high": 10}]) is assigned a dictionary. As a result, it may have duplicate values even if allow_duplicate_genes=False.
0 commit comments