{'fraction_non_alphanumeric': 0.013888888888888888, 'fraction_numerical': 0.0, 'mean_word_length': 5.6453900709219855, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Polynomially solvable formulations for a class of nurse rostering problems

Identifying underlying structures in combinatorial optimisation problems leads to a better understanding of a problem and, consequently, to efficient solution methodologies. The present paper introduces a new network flow formulation for a large class of nurse rostering problems. By solving an integer minimum cost flow problem in a carefully constructed network, nurses’ shift schedules can be constructed in polynomial time. The performance of the new formulation is compared with a state of the art algorithm on a benchmark dataset. Computational experiments show that the new formulation performs best both in terms of solution quality and computation time. By identifying inherent combinatorial structures which can be efficiently exploited, insight is gained into the problem’s complexity, thereby laying the foundations for a theory of nurse rostering.