4 POPULATION SPACE AND
BELIEF SPACE
In the design and development of our cultural algo-
rithm solving SCP we considered in the population
space a genetic algorithm with binary representation.
An individual, solution or chromosome is an n-bit
string, where a value 1 in the bit indicates that the
column is considered in the solution and zero in an-
other case (value in j-bit corresponds to value of in
the linear programming model). The initial popula-
tion was generated with n selected individuals ran-
domly with a repair process in order to as-sure the
feasibility of the individuals. For the selection of par-
ents we used binary tournament and the method of the
roulette. For the process of variation we used the op-
erator of basic crossover and the fusion operator pro-
posed by Beasley and Chu (Beasley and Chu, 1996),
for mutation we used interchange and multibit. For
the treatment of unfeasible individuals we applied the
repairing heuristic proposed by Beasley and Chu too.
In the re-placement of individuals we use the strategy
steady state and the heuristic proposed by Lozano et
al. (Lozano et al., 2003), which is based on the level
of diversity contribution of the new offspring. The
genetic diversity was calculated by the Hamming dis-
tance, which is defined as the number of bit differ-
ences between two solutions. The fitness function is
determined for:
f
i
=
n
∑
j=1
c
j
s
ij
(5)
Where S is the set of columns in the solutions, S
ij
is the value of bit (or column) j in the string corre-
sponding to individual i and c
j
is the cost of the bit.
The main idea is try to replace a solution with worse
fitness and with lower contribution of diversity than
the one provided by the offspring. In this way, we
are working with two underlying objectives simulta-
neously: to optimize the fitness and to promote useful
diversity.
The main idea is try to replace a solution with
worse fitness and with lower contribution of diversity
than the one provided by the offspring. In this way, we
are working with two underlying objectives simulta-
neously: to optimize the fitness and to promote useful
diversity.
In a cultural algorithm, the shared belief space is
the foundation supporting the efficiency of the search
process. In order to find better solutions and improve
the con-vergence speed we incorporated information
about the diversity in the belief space. We stored in
the belief space the individual with better fitness of
the current generation and the individual who deliv-
ers major diversity to the population, which will be
considered leaders in the space of beliefs. With this
type of knowledge situational, each of the new indi-
viduals generated try to follow a leader stored in the
space of beliefs.
A situational-fitness knowledge procedure selects
from the initial population the individual with better
fitness, which will be a leader in the situational-fitness
space of beliefs. A situational-diverse knowledge pro-
cedure selects from the initial population the most di-
verse individual of the population, which will be a
leader in the situational-diverse space of beliefs.
In this work, we implemented the influence
of situational-fitness knowledge in the operator of
crossover. The influence initially appears at the mo-
ment of the parental selection, the first father will be
chosen with the method of binary tournament and the
second father will be the individual with better fitness
stored in the space of beliefs. In relation with the in-
fluence of situational-diverse knowledge in the oper-
ator of cross-over, this procedure works recombining
the individual with better fitness of every generation
with the most diverse stored in the space of beliefs,
with this option we expect to deliver diversity to the
population.
The updating the situational belief space proce-
dure implies that the situational space of beliefs will
be updated in all generations of the evolutionary pro-
cess. The update of the situational space of beliefs
consists in the replacement of the individuals by cur-
rent generation individuals if they are better consider-
ing fitness and diversity.
5 COMPARISON OF RESULTS
The following results present the cost obtained when
applying different operators in our algorithm for solv-
ing SCP41, SCP42, SCP48, SCP51, SCP61, SCP62,
SCP63, SCPa1, SCPb1, SCPc1 benchmarks, these
test problem sets were obtained electronically from
OR-Library (Beasley, 1990). The first table shows the
optimal values and the number of rows(m), number of
columns(n) for diverse instances of the Set Covering
Problem. Following the same sequence that the table
1, the table 2 shows the cost from a Genetic Algo-
rithm using the basic proposal described in section 4
not considering diversity. The next column presents
the best cost obtained when applying our Cultural Al-
gorithm. The table 3 shows the results applying Ant
System (AS) and Ant Colony System (ACS) taken
from (Crawford and Castro, 2006) and Round, Dual-
LP, Primal-Dual, Greedy taken from (Gomes et al.,
ICEIS 2007 - International Conference on Enterprise Information Systems
358