more work on sat c#

This commit is contained in:
Laurent Perron
2018-02-06 19:47:11 +01:00
parent b685824e5b
commit 6820d51741
6 changed files with 123 additions and 16 deletions

View File

@@ -95,7 +95,7 @@ def main():
for s in all_working_shifts:
model.Add(sum(works_shift[(n, s)] for n in all_nurses) <= 2)
# If s nurses works shifts 2 or 3 on, she must also work that shift the
# If a nurse works shifts 2 or 3 on, she must also work that shift the
# previous day or the following day.
# This means that on a given day and shift, either she does not work that
# shift on that day, or she works that shift on the day before, or the day