Smootables

Use cases

Automatic school timetabling for vocational colleges

How Smootables generates a vocational college timetable automatically: a constraint solver that respects workshop equipment, allowed rooms, work placement days and teacher hours, explains why a plan cannot fit, and leaves the planner in control.

Juho Isola, Smootables founder

Key takeaways

  • Automatic timetabling places every lesson of a teaching period into time slots so that no teacher, group, room or equipment item is double-booked, then improves the result against the preferences you set.
  • Smootables solves in two phases on Google's CP-SAT solver: the first finds a timetable that keeps every hard rule, the second optimizes six weighted preferences you set from 0 to 200.
  • Vocational rules are part of the model: equipment quantities, allowed rooms per unit, lessons from 5 to 1,435 minutes on a 15-minute grid, and workplace or remote lessons that need no room.
  • When the plan cannot fit, checks before the run and named conflict causes after it tell you why, and lessons that do not fit wait in a waiting area instead of sinking the result.

What does automatic timetabling do at a vocational college?

The input is the plan for one teaching period: which study units run, how many lessons a week, how long each lesson is, who teaches it, which groups and learners attend, and which rooms and equipment it needs. The output is a timetable that places every lesson in a time slot without breaking a rule.

At a vocational college the rules are the hard part. A workshop has a fixed number of bays, lifts, benches or machines, and cohorts that share it each need enough consecutive hours for practice to mean something. Work-based learning takes groups off site for whole days. Some weeks are theory, others are practice. A generator built for class-based schools treats these as exceptions to patch afterwards. In Smootables they are fields in the year plan, and the solver reads them like any other rule.

Which rules does the solver always keep?

Hard rules decide whether a timetable is valid at all. The solver never breaks one to improve a preference; if the rules cannot all hold together, it reports that instead.

No double-booking

A teacher, a group or a room is in one place at a time. On a team-taught lesson every assigned teacher must be free.

Rooms and capacity

A lesson goes into one of its allowed rooms, only when that room is available, and only if the room holds everyone attending. Remote and workplace lessons take no room.

Equipment quantities

Each equipment item has a quantity. At no moment do more lessons hold an item than the college owns, whether it is four welding sets or one CNC machine.

Teacher hours and breaks

No teacher goes over their weekly maximum hours, and the minimum break between lessons from the school day profile holds for teachers and groups.

Fixed points and order

Pinned lessons stay where you put them, blocked days and holiday weeks stay empty, and units with a finish-to-start dependency keep their order.

Which preferences can you weight?

Soft preferences decide which valid timetable you get. Each weight runs from 0 to 200, where 0 switches the preference off; roughly, 50 is a low priority, 100 medium and 200 high. Weights are comparable across preferences, so doubling one roughly doubles its pull on the result.

PreferenceWhat a higher weight does
Student gapsFewer idle periods between a group's lessons
Teacher gapsFewer idle periods in a teacher's day
Student daily balanceLessons spread more evenly across a group's week
Teacher daily balanceLessons spread more evenly across a teacher's week
Subject spreadFewer repeats of the same unit on one day
Morning preferenceMore lessons early in the day

What happens when you generate a timetable?

Generation runs on one period at a time, from the plan as it stands. Each step below is something you can see in Smootables.

  1. Checks run before the solver starts: placements with no teacher or room (workplace learning, remote and to-be-decided placements are skipped on purpose), teachers over their weekly hours, pinned lessons that no longer fit, and too few rooms for the groups taught at the same time.
  2. You choose the scope: the whole period, or only the groups you select. Groups you leave unchecked keep their current timetable, and pinned lessons stay fixed.
  3. Phase one finds a timetable that keeps every hard rule.
  4. Phase two improves that timetable against your weighted preferences, and stops when the result is proven to be within 1 percent of the best possible score or stops improving.
  5. If the rules cannot all hold, you get the cause by name with a suggested fix, and you can save a partial result: lessons that fit go to the timetable, the rest to the waiting area.

How do you read a failed run and fix the plan?

Treat a failed run as a report on the plan. Smootables names the cause instead of returning a bare failure: a teacher, room, group or equipment conflict, teacher availability or weekly hours exceeded, a room the unit is not allowed to use, too little room capacity, too few time slots, a dependency that cannot be kept, or blocked days leaving too little time. Each cause comes with a concrete suggestion, such as changing the allowed rooms or unpinning lessons and regenerating.

Work through the causes in order of how much they block. A rule that turns out to be a wish belongs in the weighted preferences, where the solver can trade it off instead of failing on it. A cause that names one workshop or one teacher points at the plan: add a week, split the group, or move a unit to another period. Then regenerate only the groups you changed and compare.

What can you change after the solver has run?

A generated timetable is a draft you own. Drag a lesson to another slot, swap two lessons, or split one in half. Before you drop, the Free resources panel shows which teachers, rooms and equipment units are free in that slot, and a warning appears if the move would create a clash. Undo and redo work within the period.

Pin the lessons you have agreed with staff and regenerate only the groups that changed. Lessons in the waiting area can go back onto the grid by hand or return to the solver in the next run. For the planner assistant, which makes these changes from a plain-language request, see AI-powered school timetabling; for the full product view, see timetable generation.

Questions about automatic timetabling at vocational colleges

Does the solver decide which teacher teaches a unit?

No. Teachers are assigned in the year plan, where auto-assign can pick the least busy eligible teacher for you. The solver places lessons with the teachers already assigned. A placement whose teacher is marked to be decided is skipped by the missing-teacher check, so it does not block the run.

Can it handle learners on individual pathways?

Partly, and the boundary matters. The solver prevents clashes for groups. Individual learners added to a placement count toward room capacity, can be exempted from units, and get their own timetable view, but the solver does not yet check one learner's lessons against each other across groups.

Can we lock parts of the timetable?

Yes. Pinned lessons are a hard rule during regeneration, so placements agreed with staff or employers stay put while the solver works around them. You can also regenerate selected groups only.

Can we undo a generation run?

Within a period, edits can be undone and redone. Smootables also saves a version of the plan before large changes such as balancing, copying, clearing and importing, and you can restore any of the 30 newest versions of a school year.

Related reading

See how Smootables fits your school

Book a walkthrough and we will map Smootables to your planning, workload, and timetabling process.