.
This commit is contained in:
+2
-1
@@ -482,11 +482,12 @@ def main(
|
|||||||
weeks_to_rota=weeks,
|
weeks_to_rota=weeks,
|
||||||
balance_offset_modifier=bom,
|
balance_offset_modifier=bom,
|
||||||
use_previous_shifts=True,
|
use_previous_shifts=True,
|
||||||
name="cons rota feb 2026",
|
name="cons rota feb 2026 run 1",
|
||||||
allow_force_assignment_with_leave_conflict=True,
|
allow_force_assignment_with_leave_conflict=True,
|
||||||
constraint_options=RotaConstraintOptions(
|
constraint_options=RotaConstraintOptions(
|
||||||
balance_weekends=True,
|
balance_weekends=True,
|
||||||
max_shifts_per_week=6,
|
max_shifts_per_week=6,
|
||||||
|
max_weekend_frequency=3,
|
||||||
max_days_per_week_block=[(4, 2), (4, 4)],
|
max_days_per_week_block=[(4, 2), (4, 4)],
|
||||||
#balance_weekend_days=True,
|
#balance_weekend_days=True,
|
||||||
balance_weekend_days_quadratic=True,
|
balance_weekend_days_quadratic=True,
|
||||||
|
|||||||
Reference in New Issue
Block a user