++++=
(6)
In the cooperative GA, the population represents the
whole nurse schedule of one month. Each individual
is coded in a chromosome which shows one-month
schedule of one nurse. The individual consists of the
sequence of the duty symbols as shown in Fig.1. The
duty sequence consists of thirty fields, since one
month includes thirty days in this practical example.
Each individual expresses one-month schedule of
the nurse n
i
. There are not two or more individuals
including the same nurse’s schedule in the
population. An example of the population is shown
in Fig.2.
Initially, the population is randomly generated as
satisfying the necessary number of nurses on every
duty at every date. In this paper, the necessary
number of nurses is specified as ten, six and five for
day time duty on a week day, Saturday and Sunday
respectively, three for a semi night duty and three
for night duty respectively. An overview of the
crossover operator is shown by Fig.3. First, two
hundreds pairs of the individual are selected as a
parent for the crossover. One of the pair is selected
from the population under the roulette selection
manner. The roulette selection gives an individual
with higher energy, H
i
. This manner tends to select
the worse individual. Another one of the pair is
randomly selected from the population. Exchanging
parts of the individuals divided at two crossover
points, two new pairs of individual are generated as
children. This exchanging process does not
exchange the fixed duties, such as the meeting, the
training and the requested holiday. These child pairs
are temporally returned to the original nurse position
respectively. The temporal population with the
children is performed by the energy function, E.
After all the pairs of individual have been
performed, one pair giving the smallest energy is
selected for the next generation.
3 NEW GENETIC OPERATORS
In this paper, two new genetic operators are
proposed to accelerate the nurse scheduling by
CGA. One of them is a mutation operator. In the
conventional way, it is considered that the mutation
loses the consistency of the population and does not
work effectively. However, the mutation is a very
strong genetic operator to widely search in the
solution space. In this paper, new effective mutation
operator is proposed for the cooperative GA which
does not lose the consistency of the schedule. The
aim of mutation is to bring small change into the
population. However if one of the duty fields is
randomly changed, the whole schedule become
meaningless thing, which is very hard to recover by
a genetic operation. Therefore, the mutation operator
must preserve the number of nurses in every duty at
all date. The basic operation of the mutation is
shown in Fig.4. One of dates is randomly selected.
Two nurses at the same date are decided. Finally, the
duties of these two positions are exchanged. If one
of the selected duties is the fixed duty, another nurse
duty schedule for one month
・・・・・
MRTSHHH HMRS
nurse n
i
DD DDD
duty schedule for one month
・・・・・
MRTSHHH HMRS
nurse n
i
DD DDD
Figure 1: An individual coded in chromosome giving
duty schedule of one nurse for one month.
・
・
・
individual set
duty schedule of nurse n
1
for one month
duty schedule of nurse n
3
for one month
duty schedule of nurse n
i
for one month
duty schedule of nurse n
N
for one month
duty schedule of nurse n
2
for one month
・
・
・
・
・
・
individual set
duty schedule of nurse n
1
for one month
duty schedule of nurse n
3
for one month
duty schedule of nurse n
i
for one month
duty schedule of nurse n
N
for one month
duty schedule of nurse n
2
for one month
・
・
・
Figure 2: Population including one-month schedules of
each nurse.
select parents
crossover
・
・
・
・
・
・
・
・
・
・
・
・
・
※
denotes fixed duty, for example,
meetin