Research Article
An Advanced Chemical Reaction Optimization Algorithm Based on Balanced Local and Global Search
(1) Input: Objective function f, constraints | (2) ∖∖Initialization | (3) Set ini PopSize, iniKE, buffer, CollRate, iter, | ChangeRate and StepSize | (4) Create PopSize number of molecules | (5) ∖∖Iterations | (6) while (the stopping criteria not met) do | (7) if iter % and iter/n > 10 | (8)if totalsuccess | (9)StepSize = StepSize/0.85 | (10)else | (11)StepSize = StepSize × 0.85 | (12) | (13) | (14) Generate | (15)if | (16)Randomly select one molecule | (17)if Decomposition criterion met then | (18)Trigger Decomposition | (19)else | (20)Trigger On-wall Ineffective Collision | (21) | (22)else | (23) Randomly select two molecules | (24)if Synthesis criterion met then | (25)Trigger Synthesis | (26)else | (27)Trigger Inter-molecular Ineffective Collision | (28) | (29) | (30)Check for any new minimum solution | (31) | (32) ∖∖The final stage | (33) Output the best solution found and its objective function value |
|