| Binary variable | Continuous variable |
Particle position |
| First stage: Second stage: |
Velocity update |
where k is the iteration number. i is the particle number. x is the particle position. v is the particle velocity. and are the personal and global bests, respectively. and are the acceleration coefficients. and are the random numbers between 0 and 1. The time-varying inertia weight is and . where and are the minimum and maximum values of the inertia weight, respectively. is the maximum iteration. is a constant coefficient, where and . | |
Particle update |
where is a random number between 0 and 1, and is the sigmoid function ( ). |
|