This commit is contained in:
Ross
2025-12-17 14:12:58 +00:00
parent 9d187dfa75
commit 3ba4467812
+2 -1
View File
@@ -482,11 +482,12 @@ def main(
weeks_to_rota=weeks,
balance_offset_modifier=bom,
use_previous_shifts=True,
name="cons rota feb 2026",
name="cons rota feb 2026 run 1",
allow_force_assignment_with_leave_conflict=True,
constraint_options=RotaConstraintOptions(
balance_weekends=True,
max_shifts_per_week=6,
max_weekend_frequency=3,
max_days_per_week_block=[(4, 2), (4, 4)],
#balance_weekend_days=True,
balance_weekend_days_quadratic=True,