Abstract
This study deals with the task assignment problem of heterogeneous unmanned aerial vehicle (UAV) system with the limited resources and task priority constraints. The optimization model which comprehensively considers the resource consumption, task completion effect, and workload balance is formulated. Then, a concept of fuzzy elite degree is proposed to optimize and balance the transmission of good genes and the variation strength of population during the operations of algorithm. Based on the concept, we propose the fuzzy elite strategy genetic algorithm (FESGA) to efficiently solve the complex task assignment problem. In the proposed algorithm, two unlock methods are presented to solve the deadlock problem in the random optimization process; a sudden threat countermeasure (STC) mechanism is presented to help the algorithm quickly respond to the change of task environment caused by sudden threats. The simulation results demonstrate the superiority of the proposed algorithm. Meanwhile, the effectiveness and feasibility of the algorithm in workload balance and task priority constraints are verified.
Introduction
Unmanned aerial vehicle (UAV) has made outstanding contributions in military, agriculture, and commercial applications with its unique low cost and strong maneuverability over the previous decades. 1 However, it is difficult for a single UAV to satisfy the increasingly complex task requirements in many cases due to its limited airborne resources. Therefore, UAV applications are gradually developing toward clusteringLiu et al., and Zhou et al.,.2,3 tackled the multi-UAV collaborative data collection problem Motlagh et al. 4 studied the application of multi-UAV system in the Internet of Things (IOT) and realized the effective transmission of airborne information. Most of the above studies focus on the homogeneous UAV system. However, the diversity of tasks sets higher demands on the UAV system. The heterogeneity will be the main development direction of UAV system in the future. In the large-scale task scenario, the optimization effect of task assignment directly affects the work effectiveness of UAV system.5,6 The task assignment problem of heterogeneous UAV system has become a hot issue in the field of multiple UAVs control. 7
The multiple heterogeneous UAVs task assignment problem is a complex combinatorial optimization problem. In Deng et al., 8 the total task execution time was taken as the objective function of the UAV task assignment problem. In Motlagh et al., 4 the authors jointly optimized the energy consumption and operational time of UAV system. Most of current studies focus on reducing the resource consumption of UAV system. The task completion effect of UAVs is ignored, which may lead to unnecessary resource consumption. Therefore, it is necessary to evaluate the task completion quality rationally, and jointly optimize the resource consumption and task completion effect of UAV system. In addition, many researchers have studied the workload balance in the UAV task assignment optimization problem.9,10 The algorithms considering the workload balance can effectively prevent the situation that some vehicles run out of their resources, thereby decreasing the task completion time of UAV system. 11 However, the workload balance problem is difficult to solve due to the coordinated control of multiple UAVs. In Zhu and Yang, 9 the workload balance coefficient related to the average traveled distance of UAV system was introduced in objective function to alleviate the imbalance of task assignment effectively. However, the coefficient overlooks the great influence of the real-time resource information of UAV system to the task assignment optimization process. In Chen and Zhu, 12 a workload balance coefficient considering the real-time traveled distance of UAVs was proposed to achieve a fairer task assignment scheme. However, the proposed coefficient only focuses on the real-time change of traveled distance, the assignment scheme may not satisfy the equalization requirement of other types of resources. For instance, a UAV cannot continue working if a resource carried by the UAV is consumed excessively, then the stability of UAV system will be adversely affected. Therefore, it is of great practical significance to propose a workload balance method that comprehensively considers multiple real-time changing resources to ensure the efficient operation of UAV system.
The task assignment of UAV system is a complex nondeterministic polynomial hard (NP-hard) problem with multiple constraints. It is difficult to solve by traditional convex optimization theory. 8 In current studies, the deterministic algorithms such as mixed integer linear program (MILP),13–15 branch and bound (BAB) algorithm, 16 and tree search algorithm (TSA)17,18 have been widely adopted to solve the UAV system task assignment problem. In the process of solving large-scale complex task assignment problem, matrix operations involved in MILP and BAB are numerous and complex, search scope of TSA is large. Thus, they are only suitable for solving small and medium-sized task assignment problems with fewer constraints. As experience-based algorithms, heuristic algorithms can avoid the high computational complexity of the NP-hard problems. Therefore, they have been more extensively studied than deterministic algorithms in the field of task assignment. In Chen et al., 19 the authors developed a modified two-part wolf pack search (MTWPS) algorithm to solve the UAV system task assignment problem with task priority constraint effectively. In Xi et al., 20 a guiding mechanism based on particle swarm optimization (PSO) algorithm was presented to rapidly provide feasible task assignment scheme for homogeneous strike UAV cooperative operation. In Kalayci and Gupta, 21 the modified artificial bee colony (ABC) algorithm was proposed to effectively solve the decentralized task assignment problem. However, in the optimization process of algorithms,19–21 a solution can only be updated with the guidance of other solutions. Searching ability of the algorithms is insufficient due to the single updating way. Thus, they may fail to provide satisfactory solutions in more complex task scenarios. Compared with the above heuristic algorithms, genetic algorithm (GA) can update solutions in more diversified ways through mutation.22,23 GA shows stronger exploration ability and more advantages in solving the complex large-scale task assignment problem. In Deng et al., 8 a GA-based mirror representation method was proposed to cope with the limited resource constraint in the multi-UAV task assignment. In Schwarzrock et al., 24 the task assignment problem was transformed into a directed graph to simplify the problem complexity, and two different encoding methods were proposed for homogeneous UAVs and heterogeneous UAVs, respectively. In Jia et al., 25 the authors proposed a concept of penalty items to enable GA to solve the multi-UAV task assignment problem with task priority constraint effectively. More diversified constraints must be considered due to the complexity of task scenarios. The introduction of multiple complex constraints directly affects the solving efficiency of traditional GA. In Wu et al., 26 the authors proposed a distributed genetic algorithm (DGA) which treats each UAV as an independent processor to enhance the population diversity. In Bai et al., 22 multiple sub-populations were created to macroscopically increase the intensity of genetic operations, thereby enhancing search ability of the algorithm. In Zhou et al., 23 good individuals were achieved by adopting the greedy strategy to synthetically adjust the resource allocation of UAV system. These individuals can accelerate the population evolution and convergence speed. The above GAs focus on the convergence speed or search ability. They lack the comprehensive consideration of the two performances. However, it is difficult for GAs to improve these performances simultaneously. The increasing complexity of task scenarios requires higher performance of algorithms. Thus, it is significant to propose an improved GA with fast convergence speed and strong searching ability to solve the complex large-scale UAV system task assignment problem.
Given that GA is an opportunistic optimization algorithm, some infeasible solutions may be generated in the optimization process. Wherein, deadlock problem is the main reason of generating infeasible solutions. Especially in the large-scale task scenarios, deadlock solution appears with more possibility 19 , Lemaire et al., 27 proposed a swapping method to resolve deadlocks by exchanging the order of any two tasks which violate the task priority constraint. However, the method may fail when multiple UAVs are involved in deadlocks. In Deng et al., 28 an unlock method based on graph theory was presented to detect and solve the deadlock problem. Nevertheless, too many matrix manipulations and loop operations are involved in the method. The tedious and large calculation greatly reduce the unlock efficiency. Therefore, it is meaningful to design a low complexity and high reliability unlocking method to adapt to the ever-expanding task background.
Based on the given analysis, some main challenges in the field of task assignment of heterogeneous UAV system are given as follows: (1) The solving difficulty of task assignment problem increases with the multiplicity of constraints. (2) The current heuristic algorithms show insufficient precision and slow convergence speed in solving the large-scale complex task assignment problem. (3) The existing unlocking methods are inefficient for the deadlock problem caused by the heterogeneity of UAVs and task priority constraint. In this study, we aim to propose an improved GA to solve the task assignment problem of heterogeneous UAV system with multiple constraints. First, we construct a combinatorial optimization model about the resource consumption, task completion effect, workload balance, task priority, and limited resource constraints. Different from the existing studies,8,24,25 constraints contained in the proposed model are more comprehensive, which are conducive to improving the effectiveness of solutions. The joint optimization of multiple constraints may reduce the solution efficiency of traditional GA. To address the issue, a concept of fuzzy elite degree considering the preservation of good genes and the change intensity of individuals is presented. Based on the concept, we propose the fuzzy elite strategy genetic algorithm (FESGA) with high computational efficiency. Specifically, a novel initialization method and a parent selection method are presented to enhance the convergence speed of algorithm. An avoiding inbreeding (AI) mechanism and a hierarchical mutation (HM) rule are proposed to solve the local extremum problem. Then, a no zero mechanism and two unlock methods are presented to deal with the infeasible solutions which violate the limited resources constraint, and the deadlock infeasible solutions, respectively. Moreover, we presented the sudden threat countermeasure (STC) mechanism to enhance the ability of algorithm to converge quickly after detecting the sudden threats.
The main contributions of this study are further concluded as follows:
1) Aiming at the optimization of resource consumption, task completion effect, and workload balance of UAV system, we propose the resource consumption function, detection revenue function, and execution capability, respectively. Further, an optimization model with multiple constraints is formulated by jointly considering the task priority and limited resource constraints.
2) We propose a concept of fuzzy elite degree to evaluate the participation of individuals in the optimization process. In the proposed FESGA, the proposed concept can rationally optimize the retention and change intensity of genes. Therefore, the convergence performance and search ability of FESGA can be improved synthetically.
3) Multiple low computational complexity and effective unlock methods are presented to solve the deadlock problem in the genetic operations. The proposed diversified unlocking ways can help the algorithm avoid being affected by local extremes.
4) The STC mechanism is presented to improve the ability of algorithm to deal with sudden threats in the changing task scenario quickly. Thus, robustness of algorithm in the various complex environments is enhanced.
The rest of this paper is organized as follows. In Section 2, the task scenario and corresponding optimization model are formulated. In Section 3, details of FESGA are introduced. Section 4 describes the methods to deal with the deadlock problem and sudden threats, respectively. Numerical simulations and analyses are provided in Section 5. Finally, Section 6 summarizes this paper.
System model and problem formulation
In this section, we describe a scenario where a heterogeneous UAV system performs multiple tasks on a set of targets. Then, the complex task assignment optimization model with multiple constraints is formulated.
System model
In this study, we consider a task scenario which consists of several targets and a group of heterogeneous UAVs. Three tasks of reconnaissance, attack, and verification should be performed successively on each target. Denote the target set as
Considering that the resource of UAV is limited, each UAV should complete the assigned tasks in a limited time, the fuel consumption and traveled distance of each UAV are not allowed to exceed its maximum limit.
Total range of
where
Noting that the fuel consumption varies in different states of UAV, the total fuel consumption of
where
Similar to fuel consumption, the total time of
where
In equation (5),
In the multiple UAVs task assignment problem, we propose the concept of execution capability to better address the issue of workload unbalance. Execution capability is defined as the ability of UAV to continue executing tasks based on remaining resources, which is an important means to prevent UAVs from running out of resources. The more resources remain, the greater the execution capability is. When the remaining resources of UAV are sufficient, the ability of the UAV to continue executing tasks is relatively strong. In this condition, the execution capability decreases slowly. On the contrary, when the remaining resources of UAV are exhausted, the UAV is most likely to consume all resources and cannot continue executing tasks. To avoid this situation, the execution capacity should decrease sharply in this condition. Since the resource of UAV changes over time, execution capability is a time-varying concept. In this study, traveled range is considered as one of the criteria for the evaluation of execution capacity. Thus, the range-impact execution capability
where
In equation (7), with the increase of time
Naturally,
The execution capability of UAV is limited due to its limited resources. The situation that traveled distance of any UAV exceeds its permitted limits,
Note that resources of strike UAV are related to the number of carried weapons besides range. The weapon-impact execution capability
where
In equation (9), with the reduction of
Similar to equation (8),
Based on equations (7) and (9), the more residual resources UAV system has, the stronger its execution capability is. In the ideal task assignment process, UAVs with sufficient residual resources (high execution capability) should be fully utilized; UAVs with little residual resources (low execution capability) should be assigned with few tasks. In this way, the situation that some UAVs run out resources due to executing excessive tasks can be avoided, and the workload balance constraint can be satisfied. Thus, the execution capacity of UAV system is directly proportional to workload balance degree of the allocation result.
For the sake of concentrating on the main issue of this study, we make the following assumptions: (1) UAVs are not destroyed when performing tasks 25 ; (2) the actual flight distances of UAVs are replaced by Euclidean distances7,24; (3) UAVs fly at different altitudes to prevent collisions between them 19 ; (4) UAV cannot execute multiple tasks simultaneously; (5) the distance that the UAV moves in the task execution state is negligible.
Problem formulation
Resource consumption function
We adopt the total traveled distance
On the premise that the three factors mentioned above are equally important, the resource consumption function can be achieved as follows:
where
Detection revenue function
Some existing studies assume that UAVs only can perform tasks at the target points to ensure the effective execution of tasks.24,29 The detection scope of surveillance UAVs is not considered in these task assignment model, which may lead to unnecessary resource consumption of UAV system.
30
In Jia et al.,
25
the detection scope of UAV is represented by detection radius. In the allowed detection scope, the closer UAV gets to target, the higher detection accuracy is. For the sake of quantifying the detection accuracy of UAV, the detection revenue function
where
Optimization model
The task assignment optimization model of heterogeneous UAV system is described as follows:
s.t.
In the fitness function (equation (16)),
The denominator of fitness function is resource consumption function, and the molecule consists of detection revenue function and execution capability of the UAV system.
Equations (17) and (18) ensure that each task only can be completed by one UAV, and all tasks must be completely performed. Equation (19) is the task priority constraint, where
Fitness
In the proposed task assignment optimization model, we jointly consider the task completion effect, workload unbalance, and other factors. Although the proposed model makes the solutions more efficient, it makes the task assignment optimization problem more complicated. Especially in the large-scale task assignment, the proposed optimization problem is more difficult to be solved.
Fuzzy elite strategy genetic algorithm
GA, a heuristic algorithm with fast random search ability, can provide good approximated solutions for the complex task assignment problem.21,22,31 However, the traditional GA converges slowly and easily converges to the local extreme when the search space is large. Therefore, the FESGA is proposed. A simple flow chart of the proposed FESGA is illustrated in Figure 1.

Flow chart of FESGA.
Encoding
Encoding of chromosome is the most critical part of GA.
24
However, traditional encoding method cannot be directly applied to the proposed problem due to the heterogeneity of UAVs and the particularity of tasks.
8
Therefore, we propose a matrix encoding method to accommodate the task assignment background. Each chromosome is encoded by a matrix of five lines and
1) The encoding method of UAV chromosome: The UAV chromosome is composed of

Encoding of the UAV chromosome.
In addition, the fourth line of UAV chromosome is the distance
The proposed encoding method accomplishes the efficient assignment of all tasks, and the task execution order is encoded as the gene sequences of UAV chromosome. Thus, a UAV chromosome achieved by the proposed encoding method can represent a complete task assignment scheme.
2) The encoding method of target chromosome: The target chromosome is composed of

Encoding of the target chromosome.
Initialization
Most of studies generate the initial population by the way of random generation. 32 The way constructs a large search space when solving complex problems, which may lead to a slow convergence speed of the algorithm. Therefore, we propose the novel initialization method for target chromosome and UAV chromosome.
1) Target chromosome initialization: Depending on the proposed encoding method, the first two lines of target chromosome can be easily achieved. We assume that matrix formed by the first two lines of target chromosome is
Afterwards,
If
Afterwards, both
The gene generation process should be repeated until all elements of
The proposed target chromosome initialization method should be repeated
2) UAV chromosome initialization: UAV chromosome is generated during the generation of target chromosome. Once a gene

UAV chromosome initialization process.
In the proposed UAV initialization method, genes on the UAV chromosome correspond one to one with genes on the target chromosome. Therefore, the UAV initialization method ensures that each UAV chromosome has a unique corresponding target chromosome. In addition, the gene generation order of target chromosome is converted into the gene sequence of UAV sub-chromosome. Given that the gene sequence represents the task execution order of UAV, the generated UAV chromosomes can represent a complete assignment scheme and satisfy the encoding requirements.
Fuzzy elite degree
Elitism has a great promotion effect on GA. Convergence speed of the algorithm can be improved by selecting some elite individuals based on the fitness function value.
33
However, it may reduce the population diversity and finally cause that the algorithm falls into local extremum. Therefore, we propose the concept of fuzzy elite degree
Different from elite individuals defined in traditional GA, all individuals in the proposed FESGA are elite to a certain extent.
Selection fuzzy elite degree Es
In the selection process of proposed FESGA, some individuals with high elite degree are selected as elite individuals. Individuals with high
where
Crossover fuzzy elite degree Ec
In the crossover process of proposed FESGA, individuals with higher elite degree are selected as parents with higher possibility. Parents with high
where
Mutation fuzzy elite degree Em
In the mutation process of proposed FESGA, individuals with lower elite degree are mutated with higher possibility and have higher mutation intensity. Similar to the
where
Fuzzy elite degree is the core concept of the proposed FESGA. In the proposed fuzzy elite degree, the part of fitness function value can help the algorithm quickly converge by largely retaining the good genes of individuals which are closed to the optimal solution; the part of the occurrence number can prevent the algorithm from converging to local extreme by changing the genes of the individuals with more occurrences.
Selection process of FESGA
In the selection process of traditional GA, individuals which do not participate in subsequent genetic operations are defined as elite individuals. Fitness function value is the only criteria for selecting elite individuals without considering other information of the optimization process. 35 For the sake of comprehensively utilizing the effective information of optimization process and improving the performance of algorithm, we present a new selection method. Individuals involved in subsequent genetic operations are called as ordinary individuals in this study. The selection process of FESGA is shown in Algorithm 1.
As shown in Algorithm 1, the selection process of FESGA consists of two parts: elite individual selection process (the 1st to 5th statements), and ordinary individual selection process (the 6th to 11st statements). In the elite individual selection process, individuals with higher
Crossover process of FESGA
The essence of crossover is that the new individuals are produced through the gene recombination of parents. In Song et al., 34 a direction-based crossover operator (DBX) was presented to enhance the convergence performance and population diversity. However, DBX only can be applied to the numerically continuous system. It is not suitable for discrete system, such as the task assignment problem. Therefore, we present a parent selection method and a one-point crossover method.
Parent selection method is divided into two parts: selection of the first parent and the second parent.
Individuals with high
Then,
For the sake of further improving search ability of the algorithm, we present the AI mechanism to choose the second parent. The details of AI mechanism are as follows.
First, a concept of elite distance
Then, individuals which have longer elite distance from
where
Finally, the second parent is achieved by roulette wheel.
In the selection process, more diverse offsprings can be achieved by increasing the difference between parent generation.
After determining parents involved in the crossover, the proposed one-point crossover method is adopted to achieve offsprings. The crossover process of a pair of individuals is shown in Figure 5.

A crossover process example.
Part 1 of Figure 5 can be summarized as following steps.
Step 1: The first two lines of parent 1 are directly passed on to nonstandard offspring 1 to ensure the integrity of the tasks.
Step 2: A crossover point are randomly set in the code string of parent 1. All genes in front of the crossover point in parent 1 are directly transmitted to nonstandard offspring 1.
Step 3: Other genes of nonstandard offspring 1 are provided from parent 2. Gene
In part 2 of Figure 5, nonstandard offspring 2 is achieved, and the generation process is similar to that of nonstandard offspring 1. Note that nonstandard offspring 2 is composed of genes in front of the crossover point in parent 2 and genes after the crossover point in parent 1.
In part 3 of Figure 5, the achieved nonstandard offsprings are standardized. Genes whose third line (UAV number) are same are put together to achieve the standard form of chromosomes.
In the one-point crossover method, the first two lines of parents are fully inherited to offsprings, which can guarantee that all tasks are assigned and these tasks are not repeatedly executed. Since the achieved offsprings can still represent a complete allocation scheme, the proposed one-point crossover method is suitable for multiple heterogeneous UAVs task assignment background.
The parent selection method and one-point crossover method should be repeated until
Mutation process of FESGA
Mutation is helpful for the algorithm to avoid falling into local extremum. 36 In the completely random traditional mutation method, the mutation intensity of good individuals and bad individuals are same. It may cause that good individuals get worse, and bad individuals do not have mutation intensity to overstep the local extreme. Therefore, we propose the HM rule in the mutation process. Meanwhile, we present three mutation methods.
Mutation methods
(1) Change the execution sequence of tasks: randomly exchange the position of genes on any UAV sub-chromosome. 26
(2) Assign a different UAV to a randomly selected task: randomly select a gene, and update the third line of the gene by randomly selecting a different matching UAV based on the type of task on the gene. 25
(3) Change the location of a randomly selected surveillance UAV: randomly select a gene gm whose third line represents the surveillance UAV. Then, change the values of
A variety of different mutation methods can achieve different task allocation strategy from multiple aspects, so as to better avoid the algorithm being trapped in local extremum.
The implementation process of HM rule
Step 1:
Step 2: Individuals which are involved in the mutation operation are selected by roulette wheel. We stipulate that individuals with higher
Step 3: The elite class of the selected individual is determined based on
Step 4: In the proposed HM rule, the lower the elite class of an individual is, the greater the mutation intensity of the individual. The different mutation rules are formulated for individuals of different elite classes. The specific content is shown in Table 1.
The classification criteria of individuals.
The HM rule should be repeated until
The proposed HM rule enhances the ability of individuals with smaller
Note that some infeasible solutions that do not satisfy the limited resource constraint may be generated in the genetic operations,
In Algorithm 2, the no zero mechanism converts the infeasible solutions to be feasible by coordinating the workload between UAVs. Compared with the method of directly generating new feasible solutions,25,38 the proposed no zero mechanism can retain good genes of the infeasible chromosomes to a large extent. Thus, the feasible solutions achieved by the no zero mechanism are better than the randomly generated solutions. The mechanism can help the algorithm converge fast.
Methods for deadlock and sudden threat
Deadlock
In the task assignment problem with task priority constraint, the UAV system may fall into deadlock. The possibility that UAV system falls into deadlock increases with the increase of task scale. The deadlock status mainly includes self-lock and interlock. 32
Self-lock problem
Self-lock means that lower-priority task on a target is executed earlier than the higher-priority task on the target. 19 The self-lock problem is easy to be solved by swapping the execution order of the tasks.
Interlock problem
In most situations, the deadlock that UAV system is stuck in is interlock. In the interlocked status, multiple UAVs fall into endless waiting as they wait for each other to execute tasks. 39 A pair of corresponding UAV chromosome and target chromosome contain the information of task execution order of UAVs and targets, respectively. The state of each UAV during the mission can be determined by decoding this pair of chromosomes. When two or more UAVs are in the permanent waiting state, the UAV system gets into interlock. Since the interlock problem involves the coordinated control of multiple UAVs, it is more complex and difficult to be solved than self-lock problem. We present two unlock methods for the interlock problem.
To describe the unlock process more clearly, we define the deadlock chromosome. Each deadlocked task assignment scheme is corresponding to a unique UAV chromosome. A new chromosome can be achieved by deleting the genes carrying information about the completed tasks from the UAV chromosome. The new chromosome is the deadlock chromosome. Similar to UAV chromosome, the deadlock chromosome can be divided into several deadlock sub-chromosomes according to the UAV number. The first gene in each deadlock sub-chromosome is defined as the deadlock gene.
Unlock Method 1: Firstly, a deadlock gene
Unlock Method 2: Firstly, a surveillance UAV
Each unlock method is conducted with one-half probability. Note that each method is adopted to remove current deadlock status. After each unlocking, the new solution should be determined whether is deadlocked. If the solution is deadlocked, the unlock methods are adopted again. A deadlock-free solution can be achieved by repeating the above process.
Compared with the unlock methods that only exchanging the task execution order,19,28 our proposed unlock methods can also resolve the deadlock problem by adjusting the matching relationship between UAVs and targets. Therefore, the proposed unlock methods are more diversified, they can increase the search ability of the algorithm. Moreover, compared with digraph-based unlock method, 32 fewer loops are involved in the proposed unlock methods. Thus, the proposed methods have less computation and faster unlock speed. Especially in the complex large-scale task scenario, the proposed unlock methods have more obvious advantages.
Task assignment with sudden threat
During the execution of scheduled tasks, UAV system may discover some unknown threats.
40
We call these threats sudden threats in this study. All sudden threats should be immediately destroyed after being detected. There are two tasks on each sudden threat: the attack task
In the proposed STC mechanism, the probability of
where
Simulation results
In this section, we evaluate the search ability and convergence speed of algorithms via extensive numerical simulations. Specifically, we consider a small-scale task assignment scenario (three targets and three UAVs) and a large-scale task assignment scenario (seven targets and four UAVs) in the simulations. The superiority of proposed algorithms is validated through the simulation in comparison with the variants of GA (modified genetic algorithm (GA), 25 DGA, 26 co-evolutionary multi-population genetic algorithm (CMGA), 22 modified genetic algorithm combined with greedy strategy (MGGS) 23 ) and other optimization algorithms (particle swarm optimization algorithm based on guidance mechanism (GMPSO), 20 artificial bee colony (ABC) algorithm, 21 and enumeration method). The effectiveness of proposed algorithm is confirmed by analyzing the typical solutions. All numerical simulations were conducted under the MATLAB environment (i.e. MATLAB 2014, Intel Core i5-8400 CUP@2.80 GHz).
In the simulations, parameters of UAV system and targets are shown in Tables 2 and 3, respectively. The resource consumption of UAVs under different states are shown in Table 4. Moreover, parameters of the proposed FESGA are summarized in Table 5.
Parameters of UAV system.
Parameters of targets.
Parameters involved in task scenario.
Parameters of the proposed FESGA.
To indicate the computational efficiency of the proposed FESGA intuitively, we analyze the complexity of the proposed algorithm as follows. The key factors affecting the running speed of proposed FESGA are the calculation of fuzzy elite degree, genetic operations of crossover and mutation, and unlocking of deadlock solutions. The complexity of these operations depends on the population size
Performance comparison of algorithms.
To verify the universal validity of FESGA, we perform 50 Monte Carlo comparison experiments under two different task-scale scenarios. Given that strong search ability can help the algorithm overstep the local extremum and find good solution, the average of the optimal fitness value achieved by algorithms in the Monte Carlo comparison experiments
As shown in Table 6, in the small-scale task scenario,
Generally, the convergence speed of algorithms is judged by

Comparison of the optimization process in the small-scale task scenario.

Comparison of the optimization process in the large-scale task scenario.
Figures 6 and 7 indicate that the comprehensive performance of proposed FESGA is superior to other algorithms in any task scales. First, FESGA is slightly inferior to GMPSO in terms of convergence speed. This is because that GMPSO effectively uses the global information to search the current optimal solution space. However, GMPSO is easy to fall into the local extremum due to the over-dependence of current optimal solution. Compared with other algorithms, the proposed FESGA shows the fastest convergence speed. It benefits from the high-quality population obtained by the proposed initialization method. In addition, as shown in Figures 6 and 7, FESGA shows obvious advantages in searching ability than other algorithms. Unlike GMPSO and ABC, the variants of GA can better explore the solution space by the mutation operation. However, the inflexible genetic operation intensity may lead to the insufficient searching strength in the later stage of algorithms. Compared with other algorithms, the great advantage of FESGA lies in the proposed concept of fuzzy elite degree (
In one case of the large-scale task scenario, a solution achieved by FESGA is taken as an example to verify the effectiveness of FESGA. The approximate trajectory of each UAV under the achieved solution is demonstrated in Figure 8. Then, we analyze the feasibility of the solution from two aspects of task priority constraint and workload balance constraint.

The approximate trajectory of UAV system: (a) approximate trajectories of
The satisfied task priority constraint
The information of task execution order is extracted from Figure 8. Then, the task sequence of UAV system is given in Figure 9. The timeline in Figure 9 starts with the beginning of task execution and ends with the completion of all tasks. The dotted orange line corresponds to the time when all tasks on each target are completed. For each UAV, the flight time required to reach the next target, task execution time and synchronous waiting time are represented by blue, red, and green, respectively. The number of target that UAV reaches and the task to be executed are shown at the end of the blue rectangle. In Figure 9, task execution order of all targets are:

Task sequence of UAV system.
The satisfied workload balance constraint
Define an equalization coefficient
In equation (35),
Evaluation of the workload balance degree of UAV system.
In Table 7,
The above experiments mainly compare the performance of algorithms in the static task scenario. To verify the wide adaptability of proposed FESGA and the superiority of proposed STC mechanism in dealing with sudden threat, we introduce sudden threat in the original task scenarios. Then, the comparison study on the optimization process of ABC, GMPSO, GA, DGA, CMGA, MGGS, FESGA, and FESGA with STC mechanism are demonstrated. The comparison results are indicated in Figures 10 and 11.

Comparison result in the small-scale task scenario with sudden threat.

Comparison result in the large-scale task scenario with sudden threat.
The focus of our study is the optimization process of the algorithm after detecting the sudden threat. Therefore, in the optimization process without sudden threat, we only show the last 50 iterations in Figures 10 and 11. In the simulation of small-scale and large-scale task scenarios, the sudden threat is detected at
Rapidity performance comparison in the task scenario with sudden threats.
As shown in Table 8, both
Conclusion
In this study, we focus on the complex task assignment problem of heterogeneous UAV system with multiple constraints. The optimization model is formulated based on the comprehensive consideration of the UAV resource consumption, task completion effect, workload balance, task priority, and limited resources. The concept of fuzzy elite degree is proposed to optimize the retention and change intensity of genes, so as to improve the efficiency of the algorithm. Based on the concept, the FESGA is presented to assign tasks to heterogeneous UAV system. In addition, two unlock methods are presented to deal with the deadlock solutions appearing in the optimization process. Then, the STC mechanism is proposed to help the algorithm converge quickly in the complex changing task scenario with sudden threats. Finally, the comparative results indicate that the proposed algorithm has significant search ability and convergence performance. Especially in large-scale task scenarios, advantages of the algorithm are more obvious.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported in part by the National Natural Science Foundation of China under Grant 62003295, Grant 61873224, Grant 41976182, and Grant 61873223, in part by the S&T Program of Hebei under Grant F2020203037, and F2019203031, in part by the China Postdoctoral Science Foundation under Grant 2020M670690, in part by the Science and Technology Research Project of Universities in Hebei under Grant QN2020301, in part by the Science Foundation for Postdoctoral of Hebei under Grant B2019003019, and in part by the PhD Foundation Project of Yanshan University under Grant BL18039.
