I appreciate any and all that can be provided. I'm working through the workforce1.py example (link below) and I was curious as to how one would add the constraint that a given workers shifts must all be consecutive? For example, if Amy is to work 2 shifts, they would be Mon1 and Tue2.
Thanks for any assistance!
workforce_1.py example: https://www.gurobi.com/documentation/9.0/examples/workforce1_py.html
Please sign in to leave a comment.