code: def create_constraints(self, courses):
          
          for i, course1 in enumerate(courses):
              for j, course2 in enumerate(courses):
                  if i <= j:
                      continue
                  self.p.add_constraint(self.section_constraint, [course1, course2])
              self.p.add_constraint(self.time_conflict, [course1])
docs: Internal use. Creates all constraints in the problem instance for the given
          courses.