An optimization algorithm is proposed to restrain the co-site intermodulation interference.The interference can be effectively suppressed with reasonable frequency assignment.It uses genetic algorithm with a new fitness function to optimize the assignment process.Comparison and simulation analysis are done for different fitness function.Result indicates that using the minimum distance of intermodulation signal and working frequency for fitness function makes the assignment process quick and effective.The effect of intermodulation interference can be reduced.