Immune algorithm has become a hotspot in the area of computational intelligence.We proposed an immune algorithm based on immune recognition(IAIR).The design of IAIR was inspired by the negative selection mechanism in the biological immune system and its idea was different with current optimization methods in that it got the good solution by excluding bad solutions.This paper introduced in detail the design of IAIR
analyzed its ability and time complexity.We also designed experiments to solve the TSP problem.The theoretical analysis and experimental results showed that IAIR had a good ability of problem solving.