Research Article

Optimization of Interplanetary Trajectories Using the Colliding Bodies Optimization Algorithm

Pseudocode 2

1. Initialize the CBO population in the search space (Equation (1))
2. Evaluate the objective functions and define the masses as in Equation (2)
3. Update the Colliding Memory (CM) and population
4. Sort the population in order to identify stationary and moving groups and calculate the velocities as in Equations (3) and (4)
5. Calculate the velocity after the collisions by means of Equations (5) and (6)
6. The new positions can be determined by Equations (8), (9), and (10)
7. If the terminating criterion is fulfilled, proceed to step 8; otherwise, go to step 2
8. Report the best solution found by the algorithm
9. END