This is a solution to problem 11.3 in the book An Introduction to Compuational Physics 2nd Edition by Dr. Tao Pang. In this problem, we seek to find the stable geometric structures of a multi-charge cluster of Na and Cl atoms. This problem is the minimization of a potential by means of the genetic algorithm. The potential being:
where
All results were visualized with Visual Molecular Dynamics (VMD 1.9.3)