updated comment at requests for shift_scheduling_sat.py (#3046)

* updated comment at requests

* comment update
This commit is contained in:
georgiossalon
2021-12-29 16:30:36 +01:00
committed by GitHub
parent e70772278d
commit 565b672c71

View File

@@ -215,11 +215,11 @@ def solve_shift_scheduling(params, output_proto):
# Request: (employee, shift, day, weight)
# A negative weight indicates that the employee desire this assignment.
requests = [
# Employee 3 wants the first Saturday off.
# Employee 3 does not want the first shift on the first Saturday (negative weight).
(3, 0, 5, -2),
# Employee 5 wants a night shift on the second Thursday.
# Employee 5 does not want a night shift on the second Thursday (negative weight).
(5, 3, 10, -2),
# Employee 2 does not want a night shift on the first Friday.
# Employee 2 does want a night shift on the first Friday.
(2, 3, 4, 4)
]