From 088006aefd99a839a713c6032d89adfe19c15c75 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sun, 6 Oct 2024 15:44:19 -0700 Subject: [PATCH] Increased time limit --- test/shift_scheduling_sat_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/shift_scheduling_sat_test.rb b/test/shift_scheduling_sat_test.rb index 8ef7acf..53a3496 100644 --- a/test/shift_scheduling_sat_test.rb +++ b/test/shift_scheduling_sat_test.rb @@ -200,7 +200,7 @@ def test_shift_scheduling_sat # Solve the model. solver = ORTools::CpSolver.new - solver.parameters.max_time_in_seconds = 1 + solver.parameters.max_time_in_seconds = 300 # solution_printer = ORTools::ObjectiveSolutionPrinter.new # status = solver.solve_with_solution_callback(model, solution_printer) status = solver.solve(model)