Routine
A constraint solver assigns every lesson a slot, a competent teacher and a suitable room. When a routine is impossible it names which constraints make it impossible and what would have to change — a solver that says no without saying why is worse than a spreadsheet.