Research Article
Multidepot Heterogeneous Vehicle Routing Problem for a Variety of Hazardous Materials with Risk Analysis
Algorithm 2
Particle swarm optimization (PSO).
(1) | Initialize swarm | (2) | For each particle | (3) | Parameter conversion (generate customer sequence, vehicle assignment) | (4) | Check the constraints | (5) | Fitness evaluation | (6) | Update best personal solution and global solution | (7) | End for | (8) | While termination condition not met | (9) | Update particle position and velocity | (10) | Goto line 2 | (11) | End while |
|