Skip to content

Commit

Permalink
Merge pull request #34 from MatthewCaseres/master
Browse files Browse the repository at this point in the history
  • Loading branch information
hiive authored Sep 30, 2024
2 parents 920dc6a + 01d9d4d commit dd522c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlrose_hiive/algorithms/rhc.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def random_hill_climb(problem, max_attempts=10, max_iters=np.inf, restarts=0,
all_curves = []

continue_iterating = True
# problem.reset()
problem.reset()
for current_restart in range(restarts + 1):
# Initialize optimization problem and attempts counter
fevals = problem.fitness_evaluations
Expand Down

0 comments on commit dd522c4

Please sign in to comment.