Why is my timetable impossible? Finding what's blocking it
4 min read
Every timetabler eventually hits it: whatever you try, the last few lessons won't go in. By hand, it's the moment the board is 95% full and nothing moves. In software, it's a message that no valid timetable exists.
It's frustrating, but it's information. An impossible timetable means your rules, staff and rooms don't fit together. The job is to find out which part doesn't fit.
First, rule out data errors
A surprising number of "impossible" timetables are typos. Before questioning the curriculum, check:
- Teachers without subjects. A new member of staff added without their subjects can leave a subject short of qualified teachers.
- Availability entered the wrong way round. "Unavailable Monday" entered as "only available Monday" removes four days at a stroke.
- Room capacities. A lab entered with a capacity of 3 instead of 30 can't hold any class.
- Duplicate enrolments. A student enrolled twice in the same subject can need two lessons at once.
- Lessons longer than the day allows, such as a three-hour practical on a day with a two-hour afternoon.
Our guide to preparing timetable data covers how to catch these before they cause trouble.
Then check the totals
If the data is right, check whether the numbers can work at all:
- Teacher periods. For each subject, do qualified teachers have enough periods between them to teach every group? This is the staffing check in from curriculum plan to staffing plan.
- Room periods. For each room type, are there enough room-periods for every lesson that needs one? Labs are the usual culprit.
- Student periods. Does any student need more lessons than there are periods in the week? Unusual combinations, extra interventions and sixth formers with four subjects plus a resit can tip this over.
If any total is short, no amount of rearranging will fix it.
Then look for clashes in time
The totals can add up and the timetable still fail, because demand peaks at particular times.
- Parallel setting. Eight maths sets at once need eight maths teachers free at once.
- Option blocks. A block needs a teacher and a room for every subject in it, all at the same time.
- Part-time staff. A teacher who covers the hours but only works Monday to Wednesday concentrates their subject's demand into three days.
- Shared teachers. Someone who teaches both a Year 11 option block and Year 13 can't be in both blocks if they clash.
These are the hardest to see by hand, because each one looks fine on its own.
Then question the hard rules
If everything above checks out, look at your list of hard constraints. Each one removes options. A few that often turn a hard timetable into an impossible one:
- A preferred day off made into a firm guarantee
- A rule that a subject must never be last period
- Every double lesson fixed to a particular part of the day
- Lunch capped at a precise number of students
Ask of each: is this genuinely non-negotiable, or a strong preference? Turning preferences into soft goals is often all it takes. Our guide to hard and soft constraints explains how to sort them.
Relax one thing at a time
When you've found likely causes, change them one at a time and rerun. If you change three things at once and it works, you won't know which one mattered, and you may have given away more than you needed to.
Keep a note of what you tried. Next year's timetabler will thank you.
Decide who decides
Some fixes are the timetabler's call, like correcting data. Others aren't: dropping a subject, reducing a group size or asking a part-time teacher to change their days are leadership decisions. Bring them the evidence ("Year 10 science needs nine teachers on Tuesday period 3 and we have seven") and a few options.
How Timez helps
If your rules can't all be met with the staff and rooms you have, Timez tells you, rather than handing you a timetable that quietly breaks a rule. You can then relax a rule, add capacity or adjust availability and run it again. Because each project keeps its own data and settings, you can try a fix in a separate project without losing the original.
For what's happening inside the solver when it decides a timetable is impossible, see how an automatic timetable generator works.