The roles are: 2i A, 2i B, CR, 2ndline A, 2ndline B
A rota will always satisfy all of these:
- In every week:
- Each role must be assigned to exactly one person.
- For the 2i rota:
- 2i A must be able to do 2i
- 2i B must be able to do 2i
- 2i A must not be on the same team as 2i B
- CR must be able to do CR
- For the 2ndline rota:
- 2ndline A must be able to do 2ndline
- 2ndline B must be able to do 2ndline
- A person must:
- not be assigned more than one role in the same week
- not be assigned a role in a period they cannot do
- not be assigned multiple roles in the same 10 working day period if they are on a product team
- not be assigned roles on adjacent days
These will be relaxed if a rota cannot be found:
-
A SCD can only be assigned a 2i or CR role once every 5 working days
relax by decrementing the number of days, down to 1, doesn't affect hard constraints 2.3 or 2.4
-
A non-SCD can only be assigned a 2i or CR role once every 9 working days
relax by decrementing the number of days, down to 1, doesn't affect hard constraints 2.3 or 2.4
-
0 people on a product team can be assigned a role
relax by incrementing the number of people, up to the number of people on product teams
-
Optimise for 2ndline A and 2ndline B being on different teams
-
Rota part-time people pro rata