From 918bc0c1a8ffc2b6bdb6b7b6e5f07d8b4b2dfe4a Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sat, 30 Nov 2024 19:10:16 +0100 Subject: [PATCH] Remove noisy log messages --- app/services/vns/engine.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/services/vns/engine.rb b/app/services/vns/engine.rb index 65ceb71..f4041c6 100644 --- a/app/services/vns/engine.rb +++ b/app/services/vns/engine.rb @@ -28,10 +28,7 @@ module VNS @best_solution = @initial_solution @best_score = @target_function.call(@best_solution) - puts "Initial score: #{@best_score.to_f}" - self.class.sequence(@perturbations).each do |perturbation| - puts "Running perturbation: #{perturbation.name}" optimize(perturbation.new(@best_solution)) end @@ -48,8 +45,6 @@ module VNS @best_solution = alternative_solution.deep_dup @best_score = score - puts "New lowest score: #{@best_score.to_f}" - return optimize(perturbation.class.new(@best_solution)) end end -- 2.47.1