perfect timetable, it is usually possible to permute
many groups of timeslots without affecting the
quality of the timetable.
By other side, we defined that for the use of the
heuristic information η it must use a function that
calculates a weighted sum of several or all of the
soft and hard constrains in each assignation, which is
to incur very high computational cost stops this class
of problem (Socha, 2003). For this we will not use
this type of information to orient the route of the
ants.
4 EXPERIMENTATION
The framework is based in an algorithm in which
some modifications are made of presented in (Socha,
Knowles and Sampels, 2003) (Stützle and Hoos,
2000), it was implemented in C++ programming
language, under Linux system using GNU G++
compiler GCC 2.96. The behavior of Hypercube
framework Max-Min Ant System (MTH-MMAS)
was observed in the resolution of the UCTP. The
used instances appear below.
Instances 1: Instances of the UCTP are
structured using a generator described in
http://www.dcs.napier.ac.uk/~benp. This generator
allows generating classes of instances small,
medium, which reflect varied problems of
timetabling of several sizes.
Instances 2: In addition it was used a series of 20
instances created for International Timetabling
Competition, these instances are made with the same
generator used in instances 1.
The parameters study are made initially, to
evaluate the best values than must to assume these
parameters. The small (small1) instances was used
for using the MTH-MMAS without local search
making evaluations with different ants numbers m
and with different evaporations factors ρ, the
parameters of α = 1, number on attempts = 10 and a
maximum time by attempt = 90 seconds for all the
tests. The results are in the following table.
In the table it can observed the best results are
obtained using the parameter m=20 obtaining a
evaluation of 16 in 6.06 seconds. And for the case of
evaporation factor the best value is =0,5 in 8.1
seconds.
The values shown in the tables previously
presented they belong to a series of executions that
allow of experimental form to determine as are more
advisable parameters to use in the execution of the
algorithm of MTH-MMAS. This way we compared
the algorithm of the Max-Min Ant System with and
without Hypercube framework, in addition the local
search is included to increment the quality of the
solutions in different instances.
Table 1: It presents the best results obtained when proving
the instance small1.tim varying ants number m and
evaporation factor ρ.
Best solutions MTH-SHMM
m
Evaluation Tº seg.
ρ
Evaluation Tº seg.
5 17 6,79 0,2 15 7,11
10 16 7,46 0,5 13 8,1
20 16 6,06 0,8 17 6,79
4.1 Comparison with other Techniques
Here it present a comparative picture between the
solutions obtained for different instances for the
UCTP doing use of different techniques like
Simulated annealing, advanced search and simulated
annealing with local search. (Rossi-Doria, Blue,
Knowles and Sampels, 2006). The results obtained
for the competition instances appear below.
Table 2: It present the best results obtained when proving
the instances of the International Timetabling Competition
compared with other techniques.
Technique 1 2 3 4 5 6 7 8 9 10
SA 45 25 65 115 102 13 44 29 17 61
AS
257 112 266 441 299 209 99 194 175 308
SA-LS
211 128 213 408 312 169 281 214 164 222
MTH-
MMAS
270 193 294 586 406 221 305 244 201 358
Technique 11 12 13 14 15 16 17 18 19 20
SA
44 107 78 52 24 22 86 31 44 7
AS
273 242 364 156 95 171 148 117 414 113
SA-LS
196 282 315 345 185 185 409 153 281 106
MTH-MMAS
268 312 341 403 222 234 371 184 345 201
For these instances and compared with the
other solutions the MTH-MMAS it present two
characteristics to evaluate; first it has the capacity to
generate feasible solutions for these instances. These
instances are of great you make difficult since they
are for Timetabling competitions. Second the quality
of the generated solutions is of very low category
compared with the technique based on Simulated
Annealing, which has the best found historical
results for these instances, but in comparison with
the other instances do not present great difference.
These evaluations are not feasible in order to decide
if a technique is better than other, since the
differences in variable results can be for different
external variables.
SOLVING THE UNIVERSITY COURSE TIMETABLING PROBLEM BY HYPERCUBE FRAMEWORK FOR ACO
533