This document describes a study applying a genetic algorithm to solve the timetable problem of assigning teachers to classes at an Italian high school. The timetable problem is described as assigning teachers (resources) to teach classes (jobs) within time intervals (hours) while satisfying constraints, with the goal of minimizing costs and infeasibilities. The genetic algorithm represents possible timetable solutions as chromosomes, applies genetic operators like reproduction, crossover and mutation to evolve solutions over generations, and uses a fitness function related to the objective function. Initial results show the genetic algorithm with local search and tabu search outperforming simulated annealing and handmade timetables for this problem.