.
This commit is contained in:
@@ -11,7 +11,7 @@ sites = (
|
|||||||
"torbay",
|
"torbay",
|
||||||
"barnstaple",
|
"barnstaple",
|
||||||
"plymouth",
|
"plymouth",
|
||||||
#"taunton",
|
"taunton",
|
||||||
"proc",
|
"proc",
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ from rota.workers import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
suspend_on_finish = False
|
suspend_on_finish = True
|
||||||
solve = True
|
solve = True
|
||||||
time_to_run = 508500
|
time_to_run = 508500
|
||||||
#time_to_run = 2660000
|
#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 = start_date + datetime.timedelta(weeks=13)
|
||||||
# start_date = datetime.date(2022, 10, 10)
|
# 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 = RotaBuilder(start_date, weeks_to_rota=20, balance_offset_modifier=1)
|
||||||
Rota.constraint_options["balance_weekends"] = True
|
Rota.constraint_options["balance_weekends"] = True
|
||||||
Rota.constraint_options["max_night_frequency"] = 3 # 3
|
Rota.constraint_options["max_night_frequency"] = 3 # 3
|
||||||
|
|||||||
Reference in New Issue
Block a user