Increase max_shifts in MaxShiftsPerWeekConstraint from 1 to 2 for improved scheduling flexibility
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ def main(
|
||||
days=days[:5],
|
||||
balance_offset=2,
|
||||
workers_required=1,
|
||||
constraints=[MaxShiftsPerWeekConstraint(max_shifts=1)],
|
||||
constraints=[MaxShiftsPerWeekConstraint(max_shifts=2)],
|
||||
),
|
||||
SingleShift(
|
||||
sites=(
|
||||
|
||||
Reference in New Issue
Block a user