I tried to solve this problem Work Scheduling and I think it can be solved with the Blossom Algorithm developed by Jack Edmonds but I can't find a clear explanation or good code that help me to understand the algorithm and finally the problem.If someone can sugest me a link or give me an explanation that would be very helpfull.