Remove noisy log messages
This commit is contained in:
parent
993e4e5e57
commit
918bc0c1a8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user