Skip to content

Commit

Permalink
Make linter pass tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JBjoernskov committed Jun 4, 2024
1 parent 62e77c3 commit d6c3e79
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions twin4build/optimizer/optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,13 @@ def fitness_function(self):
pass

def optimize(self):
# ga_instance = pygad.GA(num_generations=num_generations,
# num_parents_mating=num_parents_mating,
# fitness_func=fitness_function,
# sol_per_pop=sol_per_pop,
# num_genes=num_genes,
# on_generation=callback_generation)
pass
# # ga_instance = pygad.GA(num_generations=num_generations,
# # num_parents_mating=num_parents_mating,
# # fitness_func=fitness_function,
# # sol_per_pop=sol_per_pop,
# # num_genes=num_genes,
# # on_generation=callback_generation)

# Running the GA to optimize the parameters of the function.
ga_instance.run()
# # Running the GA to optimize the parameters of the function.
# ga_instance.run()

0 comments on commit d6c3e79

Please sign in to comment.