I am trying to implement the Rough Cut Capacity Planning for an school assignment. I currently have all constraints working except for the first constraint, since I do not know how I can loop over subset of time which is determined by two parameters release date(rj) and due date (dj).