Skip to content

Commit 11b314f

Browse files
committed
Update repo
1 parent 7061810 commit 11b314f

File tree

143 files changed

+9909
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+9909
-2
lines changed

Diff for: .Rhistory

Whitespace-only changes.
File renamed without changes.

Diff for: .ipynb_checkpoints/nurse_scheduling-checkpoint.ipynb

+492
Large diffs are not rendered by default.

Diff for: .ipynb_checkpoints/nurse_scheduling_2shifts_1week-checkpoint.ipynb

+1,248
Large diffs are not rendered by default.

Diff for: .ipynb_checkpoints/nurse_scheduling_general-checkpoint.ipynb

+1,275
Large diffs are not rendered by default.

Diff for: README.md

+70-2

Diff for: description.txt

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Each day is divided into 2 separate shifts of 12 hours (day/night).
2+
3+
There are a number of required nurses for each of them.
4+
5+
A nurse is off on a specific day if no shift is assigned or if the nurse has requested a PTO on that specific day.
6+
7+
The planning length is 4 weeks (28 days).
8+
9+
Each nurse should work either 12, 24 or 36 hours hours per week.
10+
11+
* No nurse will work on both shifts in the single day.
12+
* A nurse who works on today's night will not work on next day.
13+
14+
15+
The problem can be decomposed into three independent stages.
16+
17+
1. Check there are enough nurses to provide adequate cover.
18+
2. The second stage assigns the nurses to the correct number of day or night shifts.
19+
3. A final phase allocates those working on particular day to the early or late shift on that day.
20+
21+
22+
For each nurse i and
23+
each shift pattern j all the information concerning the desirability of the pattern for this nurse is captured in a
24+
single numeric preference cost pij.
25+
26+
pij: Basic shift-pattern cost, general day / night preferences, specific requests, continuity
27+
problems, number of successive working day, rotating nights / weekends and other working history information
28+
29+

Diff for: figs/2shifts1week/nurse0.png

4.25 KB

Diff for: figs/2shifts1week/nurse1.png

4.25 KB

Diff for: figs/2shifts1week/nurse10.png

4.36 KB

Diff for: figs/2shifts1week/nurse11.png

4.35 KB

Diff for: figs/2shifts1week/nurse12.png

4.34 KB

Diff for: figs/2shifts1week/nurse13.png

4.31 KB

Diff for: figs/2shifts1week/nurse14.png

4.23 KB

Diff for: figs/2shifts1week/nurse15.png

4.23 KB

Diff for: figs/2shifts1week/nurse16.png

4.23 KB

Diff for: figs/2shifts1week/nurse17.png

4.21 KB

Diff for: figs/2shifts1week/nurse18.png

4.23 KB

Diff for: figs/2shifts1week/nurse19.png

4.35 KB

Diff for: figs/2shifts1week/nurse2.png

4.35 KB

Diff for: figs/2shifts1week/nurse20.png

4.25 KB

Diff for: figs/2shifts1week/nurse21.png

4.23 KB

Diff for: figs/2shifts1week/nurse22.png

4.35 KB

Diff for: figs/2shifts1week/nurse23.png

4.34 KB

Diff for: figs/2shifts1week/nurse24.png

4.23 KB

Diff for: figs/2shifts1week/nurse25.png

4.33 KB

Diff for: figs/2shifts1week/nurse26.png

4.23 KB

Diff for: figs/2shifts1week/nurse27.png

4.23 KB

Diff for: figs/2shifts1week/nurse3.png

4.23 KB

Diff for: figs/2shifts1week/nurse4.png

4.33 KB

Diff for: figs/2shifts1week/nurse5.png

4.34 KB

Diff for: figs/2shifts1week/nurse6.png

4.31 KB

Diff for: figs/2shifts1week/nurse7.png

4.35 KB

Diff for: figs/2shifts1week/nurse8.png

4.24 KB

Diff for: figs/2shifts1week/nurse9.png

4.34 KB

Diff for: figs/2shifts1week/nurse_scheduling.png

47.4 KB

Diff for: figs/5shifts4weeks/nurse0.png

2.78 KB

Diff for: figs/5shifts4weeks/nurse1.png

2.8 KB

Diff for: figs/5shifts4weeks/nurse10.png

2.91 KB

Diff for: figs/5shifts4weeks/nurse11.png

2.82 KB

Diff for: figs/5shifts4weeks/nurse12.png

2.82 KB

Diff for: figs/5shifts4weeks/nurse13.png

2.9 KB

Diff for: figs/5shifts4weeks/nurse14.png

2.91 KB

Diff for: figs/5shifts4weeks/nurse15.png

2.86 KB

Diff for: figs/5shifts4weeks/nurse16.png

2.81 KB

Diff for: figs/5shifts4weeks/nurse17.png

2.87 KB

Diff for: figs/5shifts4weeks/nurse18.png

2.76 KB

Diff for: figs/5shifts4weeks/nurse19.png

2.85 KB

Diff for: figs/5shifts4weeks/nurse2.png

2.79 KB

Diff for: figs/5shifts4weeks/nurse20.png

2.79 KB

Diff for: figs/5shifts4weeks/nurse21.png

4.59 KB

Diff for: figs/5shifts4weeks/nurse22.png

4.73 KB

Diff for: figs/5shifts4weeks/nurse23.png

4.7 KB

Diff for: figs/5shifts4weeks/nurse24.png

4.58 KB

Diff for: figs/5shifts4weeks/nurse25.png

4.7 KB

Diff for: figs/5shifts4weeks/nurse26.png

4.59 KB

Diff for: figs/5shifts4weeks/nurse27.png

4.58 KB

Diff for: figs/5shifts4weeks/nurse3.png

2.84 KB

Diff for: figs/5shifts4weeks/nurse4.png

2.87 KB

Diff for: figs/5shifts4weeks/nurse5.png

2.93 KB

Diff for: figs/5shifts4weeks/nurse6.png

2.8 KB

Diff for: figs/5shifts4weeks/nurse7.png

2.79 KB

Diff for: figs/5shifts4weeks/nurse8.png

2.88 KB

Diff for: figs/5shifts4weeks/nurse9.png

2.94 KB

Diff for: figs/5shifts4weeks/nurse_scheduling.png

21.4 KB

Diff for: figs/notebook/nurse0.png

7.39 KB

Diff for: figs/notebook/nurse1.png

7.38 KB

Diff for: figs/notebook/nurse11.png

7.41 KB

Diff for: figs/notebook/nurse12.png

7.39 KB

Diff for: figs/notebook/nurse13.png

7.33 KB

Diff for: figs/notebook/nurse14.png

7.4 KB

Diff for: figs/notebook/nurse15.png

7.39 KB

Diff for: figs/notebook/nurse16.png

7.41 KB

Diff for: figs/notebook/nurse17.png

7.37 KB

Diff for: figs/notebook/nurse18.png

7.38 KB

Diff for: figs/notebook/nurse19.png

7.41 KB

Diff for: figs/notebook/nurse2.png

7.37 KB

Diff for: figs/notebook/nurse3.png

7.36 KB

Diff for: figs/notebook/nurse4.png

7.23 KB

Diff for: figs/notebook/nurse5.png

7.38 KB

Diff for: figs/notebook/nurse6.png

7.39 KB

Diff for: figs/notebook/nurse7.png

7.38 KB

Diff for: figs/notebook/nurse8.png

7.41 KB

Diff for: figs/notebook/nurse9.png

7.41 KB

Diff for: figs/notebook/nurse_scheduling.png

66.3 KB

0 commit comments

Comments
 (0)