Research Article

A Multiswarm Optimizer for Distributed Decision Making in Virtual Enterprise Risk Management

Table 1

Pseudocode for the PS2O algorithm.

Set ;
INITIALIZE. Randomize swarms each possesses particles;
WHILE (the termination conditions are not met)
  FOR (each swarm k)
    Find in the kth swarm neighborhood, the point with the best fitness;
    Set this point as ;
   FOR (each particle of swarm )
     Find in the particle neighborhood, the point with the best fitness;
     Set this point as ;
     Update particle velocity using (4.1);
     Update particle position using (4.2);
   END FOR
  END FOR
  Set ;
END WHILE