Add a perturbation step to the VNS engine #305

Merged
bustikiller merged 11 commits from vns-perturbations into main 2025-07-24 12:21:02 +00:00
Showing only changes of commit 185f359942 - Show all commits

View File

@ -39,7 +39,7 @@ module VNS
self.class.sequence(@optimizations).each do |optimization|
optimize(optimization)
Rails.logger.debug { "Finished optimization phase: #{optimization.name}" }
Rails.logger.debug { "Finished optimization phase: #{optimization}" }
end
Rails.logger.debug { "Finished all optimization phases" }
@ -60,6 +60,7 @@ module VNS
@best_solution = alternative_solution.deep_dup
@best_score = score
optimized = true
Rails.logger.debug { "[#{optimization_klass}] Found better solution with score: #{score}" }
break
end