University Automatic Timetable System

Generate Timetable

Automatic Timetable Generation

Click the button below to generate the timetable automatically based on all master data and constraints.

Pre-Generation Checklist:

  • ✓ All master data added (Faculties, Lecturers, Subjects, Batches, Buildings, Resources)
  • ✓ Lecturer-Subject mappings created
  • ✓ Batch-Subject mappings created
  • ✓ Blocked slots defined (if any)
  • ✓ Frozen slots defined (if any)
  • ✓ Lecturer time requests set (if any)

Scheduling Algorithm

Method: Constraint Satisfaction with Priority-based Backtracking

Priority Order:

  1. Frozen slots (highest priority - already scheduled)
  2. Blocked slots (exclusion constraints)
  3. Mandatory lecturer time requests
  4. Lecturer availability
  5. Batch availability
  6. Resource availability
  7. Preferred time requests (soft constraint)
  8. Optimization rules (minimize gaps, balance workload)

Hard Constraints (Must be satisfied):

  • No overlapping lectures for same batch
  • No lecturer teaching two sessions simultaneously
  • No resource double-booking
  • Room capacity ≥ batch size
  • Labs only in lab resources
  • Respect blocked and frozen slots
  • Mandatory lecturer time requests