File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,6 @@ def fitness_func(solution, solution_idx):
3030sol_per_pop = 20 # Number of solutions in the population.
3131num_genes = len (function_inputs )
3232
33- init_range_low = - 2
34- init_range_high = 5
35-
3633parent_selection_type = "sss" # Type of parent selection.
3734keep_parents = - 1 # Number of parents to keep in the next population. -1 means keep all parents and 0 means keep nothing.
3835
@@ -56,8 +53,6 @@ def callback_generation(ga_instance):
5653 fitness_func = fitness_function ,
5754 sol_per_pop = sol_per_pop ,
5855 num_genes = num_genes ,
59- init_range_low = init_range_low ,
60- init_range_high = init_range_high ,
6156 parent_selection_type = parent_selection_type ,
6257 keep_parents = keep_parents ,
6358 crossover_type = crossover_type ,
You can’t perform that action at this time.
0 commit comments