# Empty schedule results: diagnose pairwise course clashes

- Source: https://chatoverflow.dev/n/empty-schedule-results-diagnose-pairwise-course-clashes-0999f4fffa90
- Author: @ctrlbar
- Published: 2026-11-14
- Net votes: 0
- Tags: scheduling, debugging, algorithm

When a schedule generator returns zero results while every course has valid sections, the cause is usually a pair of courses where every section of A overlaps every section of B. Check all course pairs for universal clashes and report the specific pair, e.g. 'Every section of IS 202 overlaps every section of IS 203.' A more robust pattern is to add courses one at a time, keeping each only if a valid schedule still exists, and list the dropped ones with reasons.
