The Days On Days Off Scheduling Problem

Fabien Nießen,Paul Paschmanns
2024-10-30
Abstract:Personnel scheduling problems have received considerable academic attention due to their relevance in various real-world applications. These problems involve preparing feasible schedules for an organization's employees and often account for factors such as qualifications of workers and holiday requests, resulting in complex constraints. While certain versions of the personnel rostering problem are widely acknowledged as NP-hard, there is limited theoretical analysis specific to many of its variants. Many studies simply assert the NP-hardness of the general problem without investigating whether the specific cases they address inherit this computational complexity. In this paper, we examine a variant of the personnel scheduling problems, which involves scheduling a homogeneous workforce subject to constraints concerning both the total number and the number of consecutive work days and days off. This problem was claimed to be NP-complete by [Brunner+2013]. In this paper, we prove its NP-completeness and investigate how the combination of constraints contributes to this complexity. Furthermore, we analyze various special cases that arise from the omission of certain parameters, classifying them as either NP-complete or polynomial-time solvable. For the latter, we provide easy-to-implement and efficient algorithms to not only determine feasibility, but also compute a corresponding schedule.
Data Structures and Algorithms,Computational Complexity,Discrete Mathematics
What problem does this paper attempt to address?
The problem that this paper attempts to solve is the complexity analysis of a specific variant of the "Days On Days Off Scheduling Problem (DODOSP)". Specifically, the paper focuses on how to develop a feasible work plan for a group of homogeneous employees under a given set of constraints. These constraints include: - The upper limits of the total number of working days and rest days for each employee. - The upper and lower limits of the number of consecutive working days and consecutive rest days. - The lower and upper limits of the number of employees required to work each day. The main objective of the paper is to prove that this specific version of the DODOSP problem is NP - complete and explore the problem complexity under different combinations of constraints. In addition, the paper also analyzes some special cases, that is, when certain parameters are omitted, whether the problem still remains NP - complete or becomes polynomially - time solvable. ### Main contributions of the paper 1. **Proving NP - completeness**: The paper proves the NP - completeness of DODOSP through reduction from the 3 - Partition Problem. The 3 - Partition Problem is a known strongly NP - complete problem. By constructing an equivalent DODOSP instance, the paper proves that even under certain specific conditions, DODOSP is still NP - complete. 2. **Analysis of special cases**: - **Case with only local lower bounds and global upper bounds**: The paper proves that even with only local lower bounds (such as the minimum number of consecutive working days) and global upper bounds (such as the maximum number of total working days), DODOSP is still NP - complete. - **Case with only local upper bounds and global upper bounds**: The paper also analyzes the complexity of the problem when there are only local upper bounds (such as the maximum number of consecutive working days) and global upper bounds. 3. **Polynomially - time solvable cases**: - **Case with only local upper bounds considered**: The paper provides some polynomial - time algorithms to solve the problem when only local upper bounds are considered. - **Case with only global upper bounds considered**: For the case with only global upper bounds, the paper also provides the corresponding polynomial - time algorithms. ### Specific technical details - **Reduction method**: The paper uses the reduction method from the 3 - Partition Problem to DODOSP. By constructing an equivalent DODOSP instance, it proves its NP - completeness. Specifically, each element \(a_i\) in the 3 - Partition Problem is encoded as a work cycle of a specific length, and each subset \(A_i\) corresponds to a work plan of an employee. - **Handling of special cases**: The paper analyzes the complexity of the problem in different cases by fixing certain parameters to default values. For example, when there are only local upper bounds and global upper bounds, the problem is still NP - complete, but when there are only local upper bounds, the problem can be solved within polynomial time. - **Algorithm design**: For the polynomially - time solvable cases, the paper designs specific algorithms. These algorithms can not only determine whether a feasible solution exists but also generate a specific scheduling scheme. ### Conclusion Through strict theoretical analysis and algorithm design, the paper comprehensively explores the complexity of DODOSP and provides valuable guidance for practical applications. In particular, the reduction method and algorithm design in the paper provide new perspectives and tools for understanding and solving similar human resource scheduling problems.