This commit is contained in:
Ross
2023-06-19 17:24:16 +01:00
parent 01f0ba6da6
commit d8cbfe2176
3 changed files with 12 additions and 5 deletions
+3 -3
View File
@@ -29,9 +29,9 @@ suspend_on_finish = True
solve = True
#time_to_run = 508500
#time_to_run = 2660000
time_to_run = 5000
time_to_run = 100
#allow = 5000
ratio = 0.01
ratio = 0.41
#ratio = 0.9
@@ -40,7 +40,7 @@ start_date = datetime.date(2023, 9, 4)
#start_date = start_date + datetime.timedelta(weeks=13)
# start_date = datetime.date(2022, 10, 10)
Rota = RotaBuilder(start_date, weeks_to_rota=14, balance_offset_modifier=1)
Rota = RotaBuilder(start_date, weeks_to_rota=10, 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