Research Article
A Local and Global Search Combine Particle Swarm Optimization Algorithm for Job-Shop Scheduling to Minimize Makespan
Algorithm 1
Pseudo Code of LGSCPSOA.
Step : Initialize parameters; including swarm size PS, end of generation G, and other | parameters will be used in LGSCPSOA; | Step : Segment and scheduling; | (i) Generate stochastically initialization population and velocity using Section 3.2.1 coding | scheme | (ii) Evaluate each particle’s fitness | (iii)Initialize gbest position with the lowest fitness particle in the swarm | (iv) Initialize ibest and lbest position with a copy of particle itself | (v) | While (the end G of generation is not met) | | (i) | (ii) Generate next generation particle population by recurrence equations (3.3), (3.4) | and (3.5) | (iii)Evaluate swarm | (1)Compute each particle’s fitness in the swarm | (2)Find new of the swarm, of generation population and of each | particle by comparison, and update and | (3)Update with (3.5) | Using the best particle of k generation replace the generation u% | particles which are random selected | | Step : Output optimization result ; | |
|