Professional Documents
Culture Documents
Genetic Algorithm
Abstract—The arrange timetable algorithms in common need to The paper consulted paper[7], and bring the elitist strategy
further improve. Aiming at the problem, classes divide into with dissimilarity chromosome into the timetable algorithm.
groups and elitist strategy with dissimilarity chromosome The paper improved the genetic algorithm using heuristic
methods based on genetic algorithms (GA) was proposed. initialization, dynamic variation's select rate and the max
Compared with standard genetic algorithms by simulation, its generation of fitness reduces continuously. It is satisfactory
efficiency was demonstrated. The experimental results show that that it converges quickly to the effective solution in the
it illustrates a good prospect of application and extension. enlarged solution space.
Key words- genetic algorithm; timetable problem; bipartite
graph; adaptive; II. IMPROVEMENT OF GENETIC ALGORITHM
Paper[3] proposes to tackle timetable with many steps. It The bipartite graph structure that can be expressed as the
divides the maximum search space into several parts, and matrix: ªa a ... a º n: the number of teachers, m: the
11 12 1n
optimizes every one of them using the genetic algorithm. «a a 22 ... a 2 n »»
A « 21
However, the partial sub-optimal solution may not be the « ... ... ... ... »
« »
global sub-optimal solution. ¬a m1 am2 ... a mn ¼
number of classes. If teacher ti(1<=i<=n) teach class
Paper[4] proposes to change the chromosomes and give up cj(1<=j<=n), then aij=1, else aij=0. The relation of teachers and
the spaces relative to unchangeable courses or classrooms to classes are strict defined by the matrix A.
reduce the search space and improving the searching efficient.
However, it is not so easy to remove these ineffective spaces. AT is the transpose of A, let B (bij )mum A x AT , By the
It needs deep analysis of the very problem and can’t be used n
universally. rules of matrix multiplication: b
ij ¦a
k 1
ik a jk , if define add and
üüüüüüüüüüüüüüüüüü
978-1-4244-3531-9/08/$25.00©2008 IEEE multiply operation of the matrix element are logic “or” and
“and” compute, then if and only if aik=ajk=1, then bij=1. If in space of n dimension, coding every components in different
aik=ajk=1, that mean there are edges (ci,tk) and (cj,tk) in the length. If the every component is m-band code, that is
bipartite graph, known as the teacher gk teach class ci and cj, xi ( xi1 , xi 2 ,..., xili ) , yi ( yi1 , yi 2 ,..., yili ) assume the
there is a relation between ci and cj. Therefore the value of the
matrix B element indicate whether relation between classes, dissimilar chromosome of these two chromosomes
this kind relation cause by the same teacher which is a direct H (M1, M 2 )
link, known as first-level relation. The class ci and cj may have is: P n
, H ( M 1 , M 2 ) is the Hamming
not a common teacher, but there are the first-level relation (m 1)¦ li
between the class Ck, which is also affect each other in the i 1
arranging timetable, so we called second-level relation. There distance between M1
is similar three-level relation, four-level relation and so on, up
n li
to m-level relation.
The powers of matrix B is B : e
and M 2 , H ( M 1 , M 2 ) ¦¦ | x
i 1 j 1
ij yij | . Evidently,
TABLE I. COMPARED WITH RUN TIME [3] Burke E K,Newall JP, “Multistage evolutionary algorithm for the
timetable problem,” IEEE Transactions on Evolutionary Computation,
Generation Standard GA Improved GA March 1999, pp.63-74.
100 292s 130s
200 590s 270s [4] Paechter B,Cumming A,Luchian H,Petriuc M, “Two solutions to the
400 1074s 532s general timetable problem using evolutionary methods,” IEEE World
800 2197s 1050s Congress on Computational Intelligence, January 1994,pp.300-305.
1000 2883s 1267s [5] Milena Karova, “Solving Timetabling Problems Using Genetic
From the table 1 we can know the improved GA algorithm Algorithms,” IEEE 27thinternational Spring Seminar on Electronics
Technology, January 2004. pp.96-98.
greatly reducing the running time. This is mainly because
[6] Thanh, Nguyen Duc, “Solving timetabling problem using genetic and
divide classes into groups to reduce the search space, and the heuristic algorithms,” Eighth ACIS International Conference on
application suit the multi-thread technology. Software Engineering, Artificial Intelligence, Networking, and
Parallel/Distributed Computing, March 2007. pp.472-477.
[7] BI WeiHong, REN HongMin and WU QingBiao,” A new elitist strategy
in genetic algorithms,” Journal of Zhejiang University(Science Edition),
January 2006. pp.32-35.
[8] Zhou HongWei; Yuan JinHui and Zhang LaiShun,” Improved Politics
of Genetic Algorithms for Premature,” Computer Engineering, October
2007. pp.201-203.
IV. CONCLUSIONS
This paper synthetically considered weakness of genetic
algorithm and the characteristic of timetable problem when
optimize timetable problem, and proposed some methods to
improve the standard genetic algorithm. Those improvements
enhanced the search ability of the genetic algorithm and have a
good prospect of application and extension.
[1] Hitoshi Kanoh,Yuusuke Sakamoto, “Interactive Timetabling System
Using Knowledge-Based Genetic Algorithms,” IEEE International
Confernce on Systems,Man and Cybernetics,June 2004:5852-5857.
[2] Ren QingSheng and Ye ZhongXing, ” Analysis of Genetic
Operators㧘” May 2000, pp.113-114..