From a444024eaa43026b19881df99e4c730e758803c3 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 24 Jan 2023 21:47:18 +0000 Subject: [PATCH] . --- gen.py | 6 +++--- scip.set | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gen.py b/gen.py index 5de37fa..58e4e2f 100644 --- a/gen.py +++ b/gen.py @@ -11,7 +11,7 @@ sites = ( "torbay", "barnstaple", "plymouth", - #"taunton", + "taunton", "proc", ) @@ -25,7 +25,7 @@ from rota.workers import ( ) -suspend_on_finish = False +suspend_on_finish = True solve = True time_to_run = 508500 #time_to_run = 2660000 @@ -40,7 +40,7 @@ start_date = datetime.date(2023, 3, 6) #start_date = start_date + datetime.timedelta(weeks=13) # start_date = datetime.date(2022, 10, 10) -Rota = RotaBuilder(start_date, weeks_to_rota=6, balance_offset_modifier=1) +Rota = RotaBuilder(start_date, weeks_to_rota=26, balance_offset_modifier=1) #Rota = RotaBuilder(start_date, weeks_to_rota=20, balance_offset_modifier=1) Rota.constraint_options["balance_weekends"] = True Rota.constraint_options["max_night_frequency"] = 3 # 3 diff --git a/scip.set b/scip.set index 97df4a6..f482c61 100644 --- a/scip.set +++ b/scip.set @@ -2,5 +2,6 @@ parallel/minnthreads = 5 parallel/maxnthreads = 10 limits/solutions = -1 +limits/gap = 0 -limits/time = 345600 +limits/time = 20000