
 
Also  the  process  is  time  consuming  and  takes 
several weeks to resolve which can slow down the 
academic activities if not well handled. 
The  currently  timetabling  system  is  very  time 
consuming  and  resources  optimization  problems 
occur  due  to  insufficient  room  resources  and  lab 
facilities.  This  method  is  not  only  inefficient  in 
terms  of  time  but  also  requires  precision  in  the 
process  because  there  are  no  error  messages  that 
indicate  the  occurrence  of  class  collisions  or 
mismanagement  of  lecture  time.  In  addition,  this 
process  is  very  susceptible  to  errors  in  its 
implementation which, if an error occurs, can cause 
problems in the lecture process in the future.  
We  identified  the  necessity  of  an  automated 
timetabling  system.  The  problem  with  the 
timetabling system itself, that it has a lot of variation 
according  with  the  policy  of  the  institution.  The 
preparation  of  lecture  schedules  in  the  Informatics 
Engineering  Study  Program  includes  determining 
the  number  of  classes  opened,  allocating  lecture 
halls  and  practice  rooms,  determining  lecturers, 
determining  the  length  of  the  lecture,  determining 
the start and end hours of lectures, and determining 
the day of lecture.  
This study aims to find a more accurate solution 
in  the  form  of  web-based  lecture  scheduling 
software  by  applied  the  Genetic  Algorithms.  This 
algorithm  used  computation  using  the  principle  of 
biological  evolution  modelling  that  can  provide 
positive  feedback  to  provide  optimum  results  in 
finding  solutions.  This  application  is  expected  to 
help in scheduling lectures more efficiently, as well 
as minimizing the occurrence of errors that usually 
occur  in  the  process  of  designing  class  schedules 
that are done manually. 
This paper will be divided into four main parts. 
The  first  part  discusses  about  some  related  works 
and  about  genetic  algorithm  in  solving  scheduling 
problem.  The  second  part  will  be  proposed  the 
methodology  that  used.  The  third  part  will  be 
architecture  design  of  the  system  and  discussion 
after implementing the system. The last part will be 
closed by the conclusion and also some suggestions 
to improve the system. PHP Programming language 
and  MySQL  were  used  in  this  timetabling 
application.  The  result  showed  that  the  proposed 
timetabling  system  was  successfully  minimize 
processing time and provide the optimal solution for 
the problem. 
2  A GENETIC APPROACH TO 
THE TIMETABLING 
PROBLEM 
A  Genetic  Algorithm  is  based  on  populations  of 
solutions.  Most  genetic  algorithms  operate  on  a 
population of solutions rather than a single solution. 
The  genetic  algorithm  generates  other  solutions, 
which tend to be better, by combining chromosomes, 
i.e. solutions, using three genetic operators that are 
fundamental for selection, crossover and mutation.  
The  genetic  search  begins  by  initializing  a 
population  of  individuals.  Initially  a  population  is 
created  by  some  mechanism.  Then  Individual 
solutions are selected from the population, then mate 
to form new solutions. The mating process, typically 
implemented  by  combining,  or  crossing  over, 
genetic  material  from  two  parents  to  form  the 
genetic  material  for  one  or  two  new  solutions, 
confers the data from one generation of solutions to 
the next. Random mutation is applied periodically to 
promote  diversity.  If  the  new  solutions  are  better 
than those in  the population, the  individuals in the 
population are replaced by the new solutions. Use of 
a  genetic  algorithm  requires  the  definition  of 
initialization,  crossover,  and  mutation  operators 
specific to the data type in the genome.  
In developing a genetic algorithm, we must have 
in mind that its performance depends largely on the 
careful  design  and  set-up  of  the  algorithm 
components,  mechanisms  and  parameters.  This 
includes  genetic  encoding  of  solutions,  initial 
population of solutions, evaluation of the fitness of 
solutions,  genetic  operators  for  the  generation  of 
new  solutions  and  parameters  such  as  population 
size,  probabilities  of  crossover  and  mutation, 
replacement scheme and number of generations. 
Genetic  Algorithm  itself  takes  long  time  to  be 
executed  and  requires  a  certain  machine 
configuration. This can be a problem for execution 
time.  The  second  limit  of  the  algorithm  is  the 
importance of the random part. Due to a huge set of 
solutions, the algorithm cannot guaranty to get the 
best result or the achievement of a certain level of 
fitness. 
2.1  Initialization 
The  initialization  process  is  done  by  giving  the 
initial  values  of  the  genes  with  random  values 
according to predetermined limits.  
In  our  research  approach,  inside  the 
chromosome, there is a gene for each activity in the 
EIC 2018 - The 7th Engineering International Conference (EIC), Engineering International Conference on Education, Concept and
Application on Green Technology
318