0

Ok, I'm not a python programmer at all, in fact, I'm a registered nurse but with a taste for programming, but mainly js and swift.

The ward I work at is painstakingly old fashioned and the monthly planning is done by paper and pen. There's a lot of great code examples using sat solvers to manage staff, but all is missing real-world-problems that I'm currently trying to solve using the "A nurse scheduling problem" from ortools as a starting point.

I've currently have a working copy that is api friendly and serves it as an api endpoint with flask.

BUT

I'm missing the following features

  1. Each resource (nurse), might have a shortened work time, like only working part time, say 85%
  2. Each resource (nurse), might have fixed assignments specific days, these should be reflected on their total workload, but they should not be available for scheduling that specific day
  3. In most of our hospital, we like to have the same resources working all weekend shifts, in other words, instead of working one day on a weekend, we gather all weekend shifts to a single weekend.

Any help on pointing me into the right direction solving these problems is much appreciated.

The complete implementation is available in my git repo

And I know, I'm basically asking people to "work" for free, but this is for no financial gain, just to help us nurses out!

I've done what I can here.

Mondayhero
  • 11
  • 1
  • 3

0 Answers0