2.4.1. Initialization

The first step of PSOHS is the initialization of the population of random solutions with random velocities and positions in *d*-dimensions in the search space. Some parameter values of the proposed algorithm are assigned: (i) harmony memory size; (ii) harmony consideration rate; (iii) swarm size; (iv) positive constant; (v) the number of iterations; and (vi) inertia weight. The harmony memory size is

6, the number of iterations is 20, and the harmony consideration rate is 0.9. Then, the fitness of each particle in *d* variables is evaluated.
