You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could there be an error when calculating the constraint that we specified should not be less than 10 hours between two shifts? Although 10 hours are calculated in seconds, why do we divide by 60 again after the total_seconds() method in line 68, where we get the difference between the 2nd shift and the 1st shift? Could you please explain that part to me?
Hello!
Could there be an error when calculating the constraint that we specified should not be less than 10 hours between two shifts? Although 10 hours are calculated in seconds, why do we divide by 60 again after the total_seconds() method in line 68, where we get the difference between the 2nd shift and the 1st shift? Could you please explain that part to me?
Thanks in advance!
optapy-quickstarts/employee-scheduling/constraints.py
Line 68 in 4bdf9cc
The text was updated successfully, but these errors were encountered: