Timetab by Overthinking LAMB

Generate

Generate places your lessons’ cards in the timetable for you, keeping every rule that is always kept and as many of your other rules as it can.

Starting a run

Click Generate in the top bar, or press Ctrl+G. The Generate timetable drawer opens at the side. Choose:

  • How long: Quick (up to 30 seconds), Balanced (up to 2 minutes), Thorough (up to 10 minutes), or Custom, where you type the minutes. A run stops early once it finds no better timetable.
  • What to place: Everything that isn’t locked, Only the unplaced cards, or Only selected classes and teachers, which shows a list to tick.

Locked cards stay where they are; the drawer says how many there are. Then click Generate at the foot of the drawer.

While it runs

The drawer shows how many cards are placed so far, the penalty and the time. The timetable can’t be edited until the run ends. Click Stop and keep best at any time to end the run and keep the best timetable found so far.

Reading the result

When the run ends, the drawer says why it stopped and what it found:

  • Complete: every card is placed with no hard problem.
  • Otherwise it says how many cards are still unplaced, and lists them under Unplaced cards:. Click Show beside one to see it in the timetable; select it in the tray to see why it isn’t placed.

Lessons with a teacher pool and no teacher yet get one first, and the drawer lists who got which teacher.

The penalty is the score: lower is better, and 0 means every rule is met. Click Show the score breakdown to see which rules cost points.

The whole run is one undo step: Undo puts the timetable back as it was before. Click Generate again… to change the choices and run once more.

When Generate can’t start

If the input check found errors, Generate doesn’t start and says how many there are to fix. Click Show issues to open the list, fix each one, then generate again. The Rules page of this help explains the input check.