Application of algorithms to optimize the antenna array, in the half-power beamwidth limit, the adjustment element antenna position, weight, suppress sidelobe level to a minimum. Analysis relationship of antenna radiation patterns in the mainlobe, sidelobe level and half-power beamwidth and the ability to communicate. In this study, Electromagnetism-like mechanism hybrid simulated annealing, and found that indeed the problem to improve the antenna array to achieve the optimal goal.