I am implementing a scheduling algorithms where I allocate activities to some teams depending on the latter available work capacity. Of course, each team capacity varies wit