-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
- Shift types (e.g., Early, Late, Long Day, Night, Office day, Day off), their durations (unit: hours and minutes), start time, end time. Last two are only for display, solver doesn't need to know.
- List of teams (e.g. Heather and Thistle)
- List of roles (e.g. Team leader, Senior nurse, Assistant nurse)
- Planning horizon in terms of number of weeks (e.g. 4 or 5)
- Extend the Person class #59
- Name
- Team
- Role
- Contracted work hours per week (unit: hours and minutes)
- Allowed shift types (multiselect)
- Minimum number of days per week where they are on a partifular shift (e.g. at least 3 Day offs)
- Whether they prefer to pack or spread their shift types. Just a boolean.
- Staffing minimums
- Minimum number of people required for a selected set of teams, set of roles, set of shift types (3 multiselects)
- Preset shifts, list of:
- Person
- Week
- Day
- Shift type
- Preference or absolute
- Note: annual leave, day off requests, are implemented using these
- Personal shift patterns, for a particular person
- Applies for a particular week or for a certain number of weeks
- Shift pattern, list of: (count, shift type) pairs
- Weekly uniform shifts
- Primary shift type (let’s call it P)
- Compatible shift types (let’s call these C)
- Semantics: if a shift of type P occurs in a week all other shifts must be from the set C
- Maximum shift count per week
- Shift type (let’s call it P)
- Maximum count (let’s call it c)
- Semantics: there can be up to c occurrences of P in a week
- Continuity, a list of
- Continuity from (shift type)
- Continuity to (shift type)
- Semantics: we count the number of shift pairs where from is followed by to and maximise the number of these
- e.g. [(L, E), (E,E)]
Metadata
Metadata
Assignees
Labels
No labels