Research Article

An Improved Particle Swarm Optimization with Biogeography-Based Learning Strategy for Economic Dispatch Problems

Algorithm 3

(the repair operator for power balance constraint).
1 Initialize a set
2 If Then
3 Randomly select a component from the set ;
4 While
5  Exclude from , and let the new set be ;
6  Randomly select a component from ;
7  ;
8 End While
9 Add an amount to , such as ;
10 Else If
11 Randomly select a component from the set ;
12 While
13  Exclude from , and let the new set be ;
14  Randomly select a component from ;
15  ;
16 End While
17 Add an amount to , such as ;
18 End If