|
Algorithm 9 GSA |
Input: the parameters M, N,, ,
Begin
S1: initialize M particles randomly, , iterative times t = 1;
S2: compute, update ; if it satisfies (t > N or precision), then go to step S4; otherwise, go to step S3;
S3: update by Equation (25), update and by Equation (31), update by Equation (30), calculate by Equation (27), compute by Equation (28), update and by Equation (29), iterative times t = t + 1; go to step S2;
S4: output the optimized results.
End
|