Task assignment is one of fundamental problems in multiple unmanned combat aerial vehicle(UCAV) cooperative control. Therefore, the factors which effect the task assignment are analyzed, the multiple UCAV cooperative task assignment model for attacking the ground targets is built. The particle swarm optimization(PSO) algorithm for solving such a problem is proposed, based on proper task assignment solution to PSO particle mapping. In order to reduce the search space, a saturation strategy is provided. An adaptive inertia weight strategy is also introduced into the algorithm to balance the global and the local search ability. Considering the capacitated limitation of UCAV, the buy-sell contract scheme is adopted to solve task coordination. The simulation results show that the model and the algorithm can effectively solve the task assignment problems for multiple UCAV.