implement no overlapping constraint between 2 tasks in MIP
I have 2 sets of tasks each with start and end times, I want to enforce a constraint that ensures that 2 tasks do not overlap with each other. I know that in constraint programming we have specialised constraints such as AddNoOverlap
, but how can I achieve the above through mixed integer programming (open source solvers). Below is the starter code :