Research Article

Modified Atom Search Optimization Based on Immunologic Mechanism and Reinforcement Learning

Algorithm 2

Pseudocode of the modified atom search optimization based on the immunologic mechanism and reinforcement learning.
(1)Chaotic initialize a set of atoms X (solutions) and randomly initialize their velocity , evaluate the fitness values by using the objective function, and then calculate and . Determine the parameters.
(2)While the stop criterion is not satisfied do
(3) For each atom do
(4)  Calculate the massing using equations (2) and (3);
(5)  Determine its K neighbors using equation (4);
(6)  Calculate the interaction force and the constraint force using equations (11) and (12), respectively;
(7)  Calculate the acceleration using equation (14);
(8)  Update the velocity using equation (15);
(9)  Update the position using equation (16);
(10)  Check out, update the fitness values;
(11)  Invoke the reinforcement learning operator by equations (20) and (21);
(12)  Invoke the vaccination operator by equations (17) and (18);
(13)  Invoke the immune detection operator by equation (19);
(14) End For.
(15)End While
(16)Find the best solution so far