
142 Chapter Four—Evolutionary Computation Implementations
Following the numbers for the first PSO are the numbers for the second PSO. All
of the numbers have similar meanings to those for the first PSO, so we don’t repeat
the explanation here. Three points, however, should be noted. First, the optimization
type is
1 (maximization problem) instead of 0 (minimization problem) and the
corresponding function type is
1 (G1_MAX) instead of 0 (G1_MIN). Through this
kind of specification, the two PSOs work as two swarms in a co-evolutionary PSO
algorithm. Second, the number of dimensions (9) corresponds to the number of
constraints. Third, the upper and lower