Skip to content

Commit 85fc983

Browse files
committed
Update genetic_algorithm_optimization.py
1 parent 282b6c6 commit 85fc983

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

genetic_algorithm/genetic_algorithm_optimization.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ def __init__(
1515
Initialize the Genetic Algorithm optimizer.
1616
1717
:param func: The function to optimize.
18-
:param bounds: List of tuples defining the lower and upper bounds for each variable.
18+
:param bounds: List of tuples defining the lower and upper bounds
19+
for each variable.
1920
:param population_size: Number of individuals in the population.
2021
:param generations: Number of generations to evolve.
2122
:param crossover_prob: Probability of crossover.

0 commit comments

Comments
 (0)