Add a perturbation step to the VNS engine #305
@ -19,10 +19,6 @@ module Tables
|
|||||||
expect(result.tables.size).to eq(3)
|
expect(result.tables.size).to eq(3)
|
||||||
expect(result.tables.map(&:size)).to all(eq(3))
|
expect(result.tables.map(&:size)).to all(eq(3))
|
||||||
|
|
||||||
# expect(result.tables).not_to include(initial_solution.tables[0])
|
|
||||||
# expect(result.tables).not_to include(initial_solution.tables[1])
|
|
||||||
# expect(result.tables).not_to include(initial_solution.tables[2])
|
|
||||||
|
|
||||||
expect(result.tables.map(&:to_a).flatten).to match_array((:a..:i).to_a)
|
expect(result.tables.map(&:to_a).flatten).to match_array((:a..:i).to_a)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user