diff --git a/src/local_search.py b/src/local_search.py index bf11982..8cff412 100644 --- a/src/local_search.py +++ b/src/local_search.py @@ -28,8 +28,7 @@ def get_random_solution(previous, data): def explore_neighbourhood(element, data, max_iterations=100000): neighbourhood = [] neighbourhood.append(element) - for i in range(max_iterations): - print(f"Iteration {i}") + for _ in range(max_iterations): previous_solution = neighbourhood[-1] neighbour = get_random_solution(previous=previous_solution, data=data) neighbourhood.append(neighbour)