This commit is contained in:
Ross
2023-01-24 21:47:18 +00:00
parent 0179ed410a
commit a444024eaa
2 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -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
+2 -1
View File
@@ -2,5 +2,6 @@ parallel/minnthreads = 5
parallel/maxnthreads = 10
limits/solutions = -1
limits/gap = 0
limits/time = 345600
limits/time = 20000