
 
violate some soft constraints. The numbers in the 
remaining columns show the number of times the 
corresponding constraint was violated over 50 runs. 
Table 1: Genetic Algorithm Setup. 
GA Type  Generational 
Chromosome Length (L)  11 * No of days in month 
Population Size  330 
Max No of Generations  5000 
Crossover Uniform, rate=1 
Mutation Traditional mutation, rate=1/L 
Mate Selection  Tournament selection, k=8 
Hill Climbing Selection  Tournament betw. 4 constraints 
Run Count  50 
     
Results show that C17 is the best test scenario in 
terms of success ratio to get the best fitness value in 
successful runs. In this test case, all operators and 
mechanisms, i.e. adaptive soft constraint weights, 
normalization of penalty scores, repair through hill 
climbing and increased weight for the 3
rd
 hard 
constraint (H3) are applied. There is only one 
difference between case 7 and case 17, which is the 
weight of the hard constraint H3. It was observed in 
the initial testing stages that, considering the last two 
days of the previous month causes more penalty 
points for constraint H3 and is hard to resolve, so the 
weight of H3 is increased (it is set to 10 as opposed 
to 1 for all other hard constraints) in cases C17 and 
C18 to remedy this problem. However, this increases 
the penalty score of H4 and H2 in C17 and increases 
the penalty score of some of the soft constraints in 
C18. C18 is the best test scenario based on β.  
It can be seen from the results that using the 
repair method which basically is a hill climbing 
operator, increases the success ratio. The 
normalization method improves the success ratio. 
The adaptive weight method increases the weight of 
the soft constraints exponentially, so the penalty 
points of soft constraints decrease, but this affects 
hard constraints due to the fact that the relative 
effect of the weights of the hard constraints on the 
overall fitness also decreases.  
5 CONCLUSION AND FUTURE 
WORK 
A real world instance of the nurse rostering problem 
is solved using mostly a standard GA. Actual data 
and hard and soft constraints have been obtained 
from a hospital (FSMH in Istanbul, Turkey) where 
currently the head nurse of the hospital is preparing 
the schedules by hand. The effect of two constraint 
handling methods, a repair technique, normalization 
of fitness values and parameter settings for these are 
explored in this study. As a result of the 
experiments, it is seen that normalization of the 
penalty scores, repairing of constraint violations and 
using adaptive weights for the constraints are all 
useful to obtain good results. During the 
experiments trying to satisfy the hard constraint (H3) 
which seemed to be a problematic constraint, it is 
seen that it could also be useful to give different 
weights to different constraints. It would be 
worthwhile to explore this in the future.  
Since this study aims to solve a real world 
problem, it is expected that it answers all the 
requirements of the hospital personnel for which it is 
designed. This study presents the results of 
preliminary experiments. Even though a very 
standard GA is used, the results are quite promising. 
After further experiments with fine tuning the 
current approach, experiments with more 
sophisticated GAs will be performed. Further work 
is currently being conducted to address these issues.  
REFERENCES 
Burke, E. K., de Causmaecker, P., vanden Berghe, G.,van 
Landeghem, H., 2004. ”The State of the Art of Nurse 
Rostering”. 7:411—499. Kluwer. 
Ahmad, J., Yamamoto, M., Ohuchi A., 2000. 
“Evolutionary Algorithms for Nurse Scheduling 
Problem”, Proc. of IEEE Congress on Evolutionary 
Computation, 196—203. 
Brusco, M. J., Jacobs, L. W., 1995. “Cost Analysis of 
Alternative Formulations for Personnel Scheduling in 
Continuously Operating Organizations”. European J. 
of Operational Research, 86:249—261.Elsevier. 
Burke, E., Soubeiga, E., 2003. ”Scheduling Nurses using a 
Tabu-Search Hyperheuristic”, Proc. of MISTA, 197—
218. 
Cheng, B.M.W., Lee, J.H.M., Wu, J.C.K.,1997. “A Nurse 
Rostering System using Constraint Programming and 
Redundant Modelling”, IEEE Trans. On Information 
Technology in Biomedicie, 1(1):44—54. 
Eiben, A. E., Smith, J. E., 2003. Introduction to 
Evolutionary Computing, Springer. 
 
ICEIS 2007 - International Conference on Enterprise Information Systems
476