Balancing Efficiency and Fairness: An Iterative Exchange Framework for Multi-UAV Cooperative Path Planning Hongzong Li 1 , Luwei Liao 2* , Xiangguang Dai 3 , Yuming Feng 3 Abstract Multi-UAV cooperative path planning (MUCPP) is a fundamental problem in multi-agent systems, aiming to generate collision-free trajectories for a team of unmanned aerial vehicles (UAVs) to complete distributed tasks efficiently. A key challenge lies in achieving both efficiency , by minimizing total mission cost, and fairness , by balancing the workload among UAVs to avoid overburdening individual agents. This paper presents a novel Iterative Exchange Framework for MUCPP, balancing efficiency and fairness through iterative task exchanges and path refinements. The proposed framework formulates a composite objective that combines the total mission distance and the makespan, and iteratively improves the solution via local exchanges under feasibility and safety constraints. For each UAV, collision-free trajectories are generated using A* search over a terrain-aware configuration space. Comprehensive experiments on multiple terrain datasets demonstrate that the proposed method consistently achieves superior trade-offs between total distance and makespan compared to existing baselines. Rong Feng 4,5 , Shiqin Tang 4 I Introduction Unmanned aerial vehicles (UAVs) have been increasingly deployed in various mission-critical applications such as monitoring [ 13 ] , search and rescue [ 5 ] , delivery [ 4 ] , and agriculture [ 16 , 12 ] . Many of these tasks require a team of UAVs to cooperatively plan collision-free trajectories that efficiently cover multiple task points distributed in complex 3D environments with obstacles and terrain. This problem, referred to as Multi-UAV Cooperative Path Planning (MUCPP) [ 20 , 19 ] , poses significant challenges in terms of computational complexity, environment constraints, and coordination fairness. A desirable cooperative plan should not only minimize the overall mission cost, such as the total traveled distance or energy consumption, but also balance the workload among UAVs to prevent overburdening a subset of agents. This leads to a multi-objective optimization problem involving both efficiency and fairness . Existing approaches typically optimize one aspect at the expense of the other: Specifically, clustering-based and assignment-based methods prioritize minimizing total distance but can yield highly unbalanced workloads [ 3 ] , while prioritized or fairness-driven methods ensure better load distribution but sacrifice global efficiency [ 8 ] . To address these issues, an Iterative Exchange Framework is proposed for MUCPP. This framework iteratively refines task assignments and path structures via local exchanges guided by a composite objective. The proposed framework integrates assignment heuristics and path refinement via A* search into a unified optimization loop. By explicitly balancing total mission distance and makespan, our method attains superior trade-offs between efficiency and fairness. The main contributions of this paper are summarized as follows: • The MUCPP problem is formulated as a multi-objective optimization problem with a weighted sum of total distance and makespan, where both efficiency and fairness in cooperative missions are jointly captured. • A novel iterative exchange framework is proposed, where task allocations and paths are progressively improved through neighborhood exchanges under feasibility constraints. • Extensive experiments demonstrate that the proposed method consistently achieves superior performance over all baselines. II Related Work Early studies formulate MUCPP as a variant of the multi-traveling salesman problem (mTSP) [ 6 ] , where each UAV is treated as a salesman responsible for a subset of tasks. Classical solutions include clustering-first-routing-second approaches, such as k -means or Christofides-based clustering [ 11 ] , followed by independent route optimization. Although computationally efficient, these methods often produce unbalanced task distributions and long makespans. Assignment-based methods, including Hungarian and insertion heuristics [ 23 , 2 ] , assign tasks by solving cost-minimizing bipartite matching problems. They ensure good total distance but may result in unfair workload allocation. Metaheuristic algorithms such as genetic algorithms (GA) [ 21 , 14 ] , ant colony optimization (ACO) [ 7 ] , and GRASP [ 18 ] introduce stochastic search to explore more diverse solutions, achieving improved performance at higher computational cost. Prioritized planning and fairness-driven scheduling methods focus on balancing workloads but sometimes ignore global optimality. Recent works incorporate fairness-aware objectives [ 22 ] , such as minimizing makespan or variance of path lengths, yet balancing efficiency and fairness remains an open challenge, particularly in terrain-constrained environments. Our proposed framework addresses this by integrating iterative exchange operations that explicitly minimize a composite cost considering both criteria. III Problem Formulation Consider K UAVs with start positions \mathcal{S}=\{s_{1},\dots,s_{K}\} and N tasks \mathcal{T}=\{t_{1},\dots,t_{N}\} , each to be visited exactly once by one UAV. Each UAV u_{k} executes a collision-free route \pi_{k} that starts at s_{k} and sequentially visits its assigned tasks \sigma_{k}=(t_{k,1},\dots,t_{k,n_{k}}) . The route length is L(\pi_{k}) , computed using a distance oracle D(\cdot,\cdot) based on A* pathfinding. A multi-UAV plan \Pi=\{\pi_{1},\dots,\pi_{K}\} is feasible if all tasks are covered exactly once and all path segments satisfy the collision-free condition. The objective is to balance total efficiency and fairness by minimizing J(\Pi)=\alpha\sum_{k=1}^{K}L(\pi_{k})+(1-\alpha)\max_{k}L(\pi_{k}), (1) where \alpha\in[0,1] is a trade-off parameter. In our experiments, \alpha=0.5 . The problem generalizes the multi-depot m -TSP and is NP-hard. IV Method Algorithm 1 Iterative-Exchange Framework for Multi-UAV Cooperative Planning 1: Start positions \{s_{k}\}_{k=1}^{K} , tasks \mathcal{T} , distance oracle D(\cdot,\cdot) , trade-off \alpha , iteration budget I_{\max} 2: Feasible multi-route plan \Pi=\{\pi_{k}\}_{k=1}^{K} 3: Initialize empty routes \sigma_{k}\leftarrow() for all k 4: Assign tasks using LPT heuristic minimizing marginal increase of J 5: for each route \sigma_{k} do 6: Order tasks by nearest-neighbor; refine using open 2-opt 7: end for 8: for i=1 to I_{\max} do 9: Perform relocate moves on critical routes; apply best improvement 10: Perform swap moves between critical pairs 11: Apply intra-route 2-opt 12: Apply cross-exchange between routes 13: Rebalance with KL-style boundary reallocation if J improves 14: if no improvement then 15: break 16: end if 17: end for 18: for each route \sigma_{k} do 19: Stitch A*-feasible path \pi_{k} through ordered tasks 20: Set altitude z(x,y)=h(x,y)+H_{\text{safety}} 21: end for 22: return \Pi=\{\pi_{k}\}_{k=1}^{K} To solve the optimization problem defined in ( 1 ), an Iterative-Exchange Framework is developed to directly minimize the composite cost over K open routes. The framework operates entirely in the task-assignment space with implicit path feasibility ensured by an A*-based geodesic oracle. It integrates three key components: (i) a balanced initialization to generate feasible routes, (ii) a rich set of neighborhood exchange operators for iterative improvement, and (iii) an efficient incremental evaluation scheme leveraging the precomputed distance oracle D(\cdot,\cdot) . The method progressively refines the multi-UAV plan \Pi=\{\pi_{1},\dots,\pi_{K}\} by applying improving moves that jointly reduce the total distance term \sum_{k}L(\pi_{k}) and the makespan term \max_{k}L(\pi_{k}) in ( 1 ). All updates strictly maintain feasibility (unique task coverage and collision-free segments). Algorithm 1 outlines the overall procedure. The algorithm starts from a two-stage initialization: first, tasks are roughly allocated to UAVs based on a load-balancing heuristic; second, each route is internally ordered using nearest-neighbor construction followed by local 2-opt refinement. Subsequently, multiple types of exchange moves—such as relocate, swap, and cross-exchange—are explored to iteratively improve the objective until convergence or iteration budget exhaustion. Stage A (LPT-style balanced assignment). We estimate the marginal cost of inserting each task t_{j} into route k from start s_{k} by its nearest-neighbor distance proxy: \widehat{c}_{k}(t_{j})\;=\;\min\!\big(D(s_{k},t_{j}),\min_{t\in\sigma_{k}}D(t,t_{j})\big). Tasks are sorted in descending \max_{k}\widehat{c}_{k}(t_{j}) (longest-processing-time principle) and assigned greedily to the route that yields the smallest increase in J with \alpha in ( 1 ). Stage B (intra-route ordering). For each route \sigma_{k} , we compute a nearest-neighbor tour from s_{k} over its tasks using D(\cdot,\cdot) and refine the order with open-path 2-opt that does not reconnect endpoints (to avoid making a cycle). Given the current routes \{\sigma_{k}\}_{k=1}^{K} , we define five local move families; each move is accepted if it strictly decreases J : 1. Relocate (t\!:i\!\to\!j) : remove a single task t from route i and insert it into route j at the best position. 2. Swap (t_{a}\!\in\!i,\,t_{b}\!\in\!j) : exchange two tasks across routes and reinsert them at cost-minimizing positions. 3. 2-opt (intra) : reverse a subchain [u{:}v] within the same route to shorten the path. 4. Cross-exchange : exchange two contiguous subchains between two routes (a 2-opt ∗ -like inter-route move). 5. Kernighan–Lin style pair reallocation : greedily migrate boundary tasks between two routes to reduce the maximum route length. Each candidate move uses only local edge replacements; with cached D(\cdot,\cdot) we compute the delta of J in O(1) – O(\log n) time. We adopt a best-improving first schedule over neighborhoods with cyclical ordering: \text{Relocate}\rightarrow\text{Swap}\rightarrow\text{2-opt}\rightarrow\text{Cross-exchange}\rightarrow\text{KL-Rebalance} . Within a neighborhood, candidates are generated by focusing on critical routes that dominate the makespan and their nearest neighbors in task space. A move is accepted iff it strictly reduces J ; ties are broken by smaller makespan, then by smaller total distance. The loop stops after a full sweep without improvement or when a maximum iteration budget is met. All exchanges preserve the one-visit-per-task constraint by construction. If a route becomes empty, it is kept as a valid (zero-length) route. If an A*-segment temporarily fails, we fall back to Euclidean insertion for that local evaluation and mark the pair for a background cache refresh, which in practice keeps the search smooth and stable. Let N be the number of tasks. Each local evaluation changes O(1) edges and thus costs O(1) given the cache. Per sweep we consider O(N) to O(N\log N) prioritized candidates (via nearest-neighbor task lists). V Experiments TABLE I: Overall results on ten MUCPP datasets, where the objective J in ( 1 ) with \alpha=0.5 . Best values are in bold ; second best are underlined . Algorithm Objective Value J(\Pi)\downarrow Total Distance L_{\text{total}}\downarrow Makespan L_{\text{max}}\downarrow (Mean \pm Std) (Mean \pm Std) (Mean \pm Std) Hungarian-Insertion A* 1443.3435 \pm 205.9473 1781.7661 \pm 156.5428 1104.9209 \pm 326.1408 Prioritized MAPF 2233.9476 \pm 119.8648 3217.6595 \pm 204.2803 1250.2356 \pm 74.2545 Christofides-Clustering 1759.4372 \pm 212.7339 2442.2445 \pm 285.6886 1076.6300 \pm 207.8431 GRASP with Randomized 2-Opt 1613.3484 \pm 74.3594 2231.3833 \pm 112.7443 995.3135 \pm 133.9381 Genetic mTSP 1618.0432 \pm 178.4172 2244.4838 \pm 276.5072 991.6025 \pm 99.3729 MST-Cut with Nearest-Neighbor A* 1612.0077 \pm 204.7288 2064.8387 \pm 286.1651 1159.1767 \pm 249.2148 Nearest-Insertion A* 1527.9011 \pm 181.1135 1740.7739 \pm 163.7793 1315.0283 \pm 230.1973 Randomized Round-Robin A* 2072.4359 \pm 156.6918 2994.4944 \pm 227.0709 1150.3774 \pm 105.7643 LPT-Balanced A* 1366.9009 \pm 116.8621 2003.9318 \pm 194.4334 729.8700 \pm 52.7574 Iterative-Exchange A* Framework (herein) 1262.7015 \pm 75.3780 1773.2517 \pm 167.5717 752.1512 \pm 62.1520 V-A Benchmarks and Compared Methods All algorithms were evaluated on a suite of benchmark scenarios constructed from realistic 3D terrains that incorporate multiple tasks and obstacles. To ensure a fair comparison, all methods were provided with identical initial conditions (start positions, task sets) and utilized the same A*-based distance oracle for path generation. The objective’s trade-off coefficient was set to \alpha=0.5 to equally balance total distance and makespan. For statistical robustness, we report the mean and standard deviation over ten independent trials for three metrics: the composite objective value, total distance, and makespan. The experiments were implemented in Python and executed on an Intel i7 CPU workstation. The compared baselines include Hungarian-Insertion A* [ 23 ] , Prioritized MAPF [ 15 ] , Christofides-Clustering [ 11 ] , GRASP with Randomized 2-Opt [ 18 ] , Genetic mTSP [ 6 ] , MST-Cut with Nearest-Neighbor A* [ 10 ] , Nearest-Insertion A* [ 1 ] , Randomized Round-Robin A* [ 9 ] , and LPT-Balanced A* [ 17 ] . The proposed Iterative-Exchange A* framework is evaluated against these methods to demonstrate its superior performance in balancing efficiency and fairness. Fig. 1: Distribution of objective function values J(\Pi) on the ten datasets (lower is better). (a) Prioritized MAPF (b) Christofides-Clustering (c) Genetic mTSP (d) MST-Cut with Nearest-Neighbor A* (e) Randomized Round-Robin A* (f) Iterative-Exchange A* (proposed) Fig. 2: Qualitative comparison on a dataset, including a 3D terrain view (left) and a bird’s-eye view (right). V-B Evaluation Metrics The performance of each planner is evaluated via three quantitative metrics. The objective value is defined as J in ( 1 ), balancing total efficiency and fairness among UAVs. The total distance and the makespan are given by: \displaystyle L_{\text{total}}=\sum_{k=1}^{K}L(\pi_{k}), (2) \displaystyle L_{\text{max}}=\max_{k}L(\pi_{k}), (3) total distance representing the overall mission cost, and the makespan indicating the longest individual route and thus the task load balance. V-C Quantitative Results Table I summarizes the numerical results. The proposed Iterative-Exchange A* achieves the best composite objective and competitive total distance with a low makespan, illustrating its ability to trade off efficiency and fairness effectively. In particular, it improves the composite objective by a large margin over classical constructive heuristics while avoiding the heavy tails observed in some meta-heuristics. Fig. 1 further shows the distribution (box plot) of the composite objective across datasets. V-D Qualitative Results Fig. 1 presents the distribution of the composite objective across all datasets. Fig. 2 visualizes representative paths on a dataset for several methods, including both the 3D terrain view and the bird’s-eye view with obstacle projections. The proposed Iterative-Exchange A* framework produces well-balanced task partitions and compact inter-task routes, thereby achieving a low total mission distance while maintaining fairness across UAVs. VI Conclusion This paper presented an Iterative Exchange Framework for multi-UAV cooperative path planning that jointly optimizes mission efficiency and fairness. By formulating a composite objective that considers both total distance and makespan, and by applying iterative local exchanges guided by this objective, the framework effectively balances global efficiency and load distribution among UAVs. Compared with representative algorithms, the proposed method consistently achieved the best overall performance in terms of objective value, total distance, and makespan. Future work may focus on extending the framework to dynamic environments with moving obstacles and time-varying tasks. Additionally, energy constraints and communication limitations to further enhance real-world applicability in large-scale UAV fleets.