lib/vns.rb in vns-1.0.pre.rc.1 vs lib/vns.rb in vns-1.0.pre.rc.2
- old
+ new
@@ -50,11 +50,9 @@
group_penalty = solution.map do |session, people|
people.group_by(&:group).map{|group, people| people.count - 1 }.sum
end.inject(:+)
- Rails.logger.info "Penalty: #{individual_penalty} + #{group_penalty}"
-
individual_penalty + group_duplication_factor * group_penalty
end
private