Next Article in Journal
Machine Learning-Based Optimization for Renewable Energy Systems: A Comprehensive Review
Previous Article in Journal
Spatiotemporal Optimization of Oilfield Electricity Consumption: A Multi-Objective Modeling Approach with Machine Learning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Guided Collaborative Optimization Framework for the Stability-Constrained UAV Routing and Three-Dimensional Loading Problem

1
School of Transportation and Logistics Engineering, Shandong Jiaotong University, Jinan 250357, China
2
Shandong Zhengqu Transportation Engineering Corporation, Jinan 250357, China
*
Author to whom correspondence should be addressed.
Algorithms 2026, 19(5), 403; https://doi.org/10.3390/a19050403
Submission received: 11 March 2026 / Revised: 9 May 2026 / Accepted: 11 May 2026 / Published: 18 May 2026

Abstract

The joint optimization of routing and three-dimensional loading is a highly complex NP-hard combinatorial problem, particularly when stringent center-of-gravity (CoG) stability constraints are required for unmanned aerial vehicle (UAV) operations. Existing algorithms typically adopt a route-first, load-second evaluation strategy for these interconnected components, often yielding distance-optimal yet physically infeasible solutions. To address this bottleneck, this paper formulates the Three-Dimensional Loading-Constrained UAV Routing Problem (3DLC-UAVRP), integrating unloading sequence consistency, spatial packing feasibility, and CoG deviation control into the routing decision process. A guided collaborative optimization framework, GLS-WSCPA, is proposed, coupling an Improved White Shark Optimization (IWSO) algorithm for global route exploration with a Human-like Divide-and-Conquer Packing Strategy (HLDCPS) for spatial arrangement. Unlike conventional decoupled approaches that treat loading feasibility as a post hoc filter, a Center-of-Gravity-Guided Path Adjustment (CGPA) and Local Loading Repair (LLR) mechanism is introduced to establish a dynamic feedback loop between routing search and loading evaluation, so that CoG violations are actively translated into guided routing perturbations rather than simply triggering solution rejection. Experimental results demonstrate that GLS-WSCPA generally achieves better solutions than the compared algorithms across the tested problem scales, with the performance gap tending to widen as the instance size increases within the tested range. Ablation studies verify the complementary roles of CGPA and LLR, and sensitivity analysis confirms that moderately relaxing payload and CoG constraints reduces routing distance within safety boundaries. Case analysis shows that the proposed method reduces fleet size by 20% and total delivery distance by 6.85% compared to traditional decoupled strategies.

1. Introduction

The unmanned aerial vehicle routing problem (UAVRP) represents a highly complex class of NP-hard combinatorial optimization problems. As operational paradigms shift from single-target dispatch to multi-destination integrated missions, the computational complexity of determining optimal visit sequences expands exponentially. Furthermore, in practical deployments, theoretical routing configurations are tightly coupled with strict physical constraints, particularly three-dimensional spatial packing and dynamic center of gravity (CoG) stability.
Unlike traditional vehicle routing formulations that typically abstract payloads as simple scalar weights, integrating CoG stability necessitates the simultaneous evaluation of discrete sequence structures and continuous spatial mass distribution. This structural conflict between routing optimization and spatial feasibility significantly alters the search space. Consequently, bridging the gap between distance-optimal routing and physical flight balance constitutes a primary computational bottleneck, requiring advanced algorithmic paradigms capable of handling tightly coupled, multi-domain constraints [1,2,3].
The computational difficulty of this problem is further exacerbated by the strict interdependence between discrete routing sequences and spatial loading configurations. A routing solution that is theoretically optimal in terms of distance may prove physically infeasible if the corresponding three-dimensional packing violates dynamic CoG stability boundaries. Furthermore, the multi-parcel delivery paradigm enforces a strict last in, first out (LIFO) spatial accessibility constraint, meaning that the sequential unloading process dynamically alters the onboard mass distribution and CoG state at each visited node. Consequently, developing a coordinated optimization algorithm that jointly resolves graph-based path sequencing, 3D spatial packing, and continuous stability constraints has emerged as a significant computational challenge.
Traditionally, the UAVRP has been treated as an extension of the classical vehicle routing problem (VRP), initially focusing on single-destination metrics like flight time [4], travel distance [5], or operational cost [6], and progressively expanding to multi-UAV collaborative planning [7,8,9]. Most exact and heuristic methods abstract the payload as a one-dimensional scalar demand and primarily consider total weight constraints [10]. While this abstraction reduces the dimensionality of the search space and accelerates algorithmic convergence, it entirely disregards the geometric and spatial constraints inherent in three-dimensional bin packing (3DBP).
Integrated routing and 3D packing problems (3L-VRP) have been investigated in ground and maritime logistics to better capture practical feasibility [11,12]. Computationally, solving these joint models requires navigating a hybrid search space containing both discrete permutations (routing sequences) and continuous spatial variables (packing coordinates). In broader transportation domains, such as aircraft cargo loading [13] and container stowage [14,15], load balance and CoG positioning are treated as critical constraints affecting stability. However, existing metaheuristic frameworks for routing typically adopt a route-first, load-second evaluation strategy. When applied to UAV operations requiring strict CoG control, this route-first, load-second evaluation frequently generates distance-optimal routes that are physically infeasible, resulting in significant computational waste.
Unlike large-scale platforms with broad stability margins, UAV platforms operate within highly constrained spatial and payload limits. Algorithmically, introducing tight CoG constraints drastically fragments the feasible solution space. Minor permutations in the routing sequence trigger substantial shifts in the spatial packing layout and subsequent CoG deviations. Conventional search operators fail to capture this non-linear interdependence, leading to extremely high rejection rates of candidate solutions and premature convergence to local optima. Despite these advances, a fundamental gap remains in the literature: existing UAVRP studies abstract cargo as scalar demand quantities, neglecting three-dimensional geometric feasibility, while existing 3L-VRP frameworks primarily target ground transportation platforms with generous stability margins and do not address the stringent CoG constraints inherent to UAV operations. Furthermore, existing metaheuristic frameworks universally adopt a route-first, load-second evaluation strategy which is fundamentally inadequate for problems where loading feasibility and routing optimality are structurally interdependent.
Therefore, embedding dynamic CoG control directly into the metaheuristic search trajectory remains a critical research gap. Ignoring the intrinsic coupling among sequence generation, 3D spatial packing, and continuous stability evaluation causes profound computational inefficiencies. A coordinated algorithmic mechanism that establishes a dynamic feedback loop between routing structure adjustments and loading feasibility is highly desirable to effectively explore this heavily constrained search space.
To bridge this computational gap, this paper formulates the Three-Dimensional Loading-Constrained UAV Routing Problem (3DLC-UAVRP) as an np-hard combinatorial optimization model. This formulation explicitly incorporates unloading sequence consistency, three-dimensional spatial packing feasibility, and continuous CoG deviation boundaries into the routing decision variables. By embedding dynamic stability evaluation directly into the route generation phase, the proposed model prevents the exploration of physically infeasible regions within the search space and enhances operational reliability.
To efficiently solve this heavily constrained model, a guided collaborative optimization framework, denoted as GLS-WSCPA, is developed. This framework tightly couples an Improved White Shark Optimization (IWSO) algorithm, designed for global discrete route exploration, with a Human-like Divide-and-Conquer Packing Strategy (HLDCPS) for spatial arrangement generation. Crucially, a Center-of-Gravity-Guided Path Adjustment (CGPA) and Local Loading Repair (LLR) mechanism is introduced to establish a dynamic feedback loop. This mechanism resolves structural conflicts by dynamically repairing local packing infeasibilities and translating unresolvable CoG violations into guided routing perturbations, thereby ensuring joint optimization rather than sequential evaluation.
The main contributions of this study are summarized as follows:
(1)
Mathematical modeling of coupled constraints: Unlike existing UAV routing models that abstract cargo as scalar demand and neglect spatial loading configurations, and unlike ground-based 3L-VRP formulations that incorporate three-dimensional packing geometry but do not model CoG stability, the 3DLC-UAVRP explicitly encodes the full transmission chain from customer visit sequence to LIFO loading order, from loading order to three-dimensional parcel coordinates, and from parcel coordinates to static pre-takeoff CoG within a single unified formulation. This encoding makes the static CoG feasibility condition a direct function of routing decisions rather than an external post hoc check. Consequently, CoG violations can be structurally attributed to specific route segments, which is the prerequisite that enables the CGPA mechanism to translate loading infeasibility into targeted routing perturbations rather than simply discarding infeasible solutions.
(2)
A guided collaborative algorithmic framework: The GLS-WSCPA framework is proposed to address the circular dependency between routing feasibility and loading evaluation that traditional decoupled methods cannot resolve. The core algorithmic innovation lies in the CGPA-LLR mechanism, which establishes a bidirectional feedback loop between combinatorial route search and physical loading feasibility: LLR attempts to restore CoG balance through localized loading adjustments without altering the route structure, while CGPA translates unresolvable loading infeasibility into tabu-guided routing perturbations that actively redirect the global search trajectory. This tight coupling ensures that physical stability constraints are enforced throughout the search process rather than verified post hoc.
(3)
Algorithmic performance and sensitivity evaluation: Comprehensive computational experiments are conducted to evaluate the performance and scalability of the proposed framework across multiple problem scales. Wilcoxon signed-rank tests confirm that the performance advantages of GLS-WSCPA over competing methods reach statistical significance at n ≥ 50, with p-values below 0.001 at larger scales. Ablation studies with statistical validation quantify the complementary contributions of CGPA and LLR under varying constraint intensities. Sensitivity analysis further quantitatively reveals the non-linear impact of CoG stability margins and payload constraints on routing structures and fleet configurations, providing a reference benchmark for stability-constrained combinatorial optimization.
The remainder of this paper is organized as follows. Section 2 reviews related research. Section 3 formulates the 3DLC-UAVRP model. Section 4 presents the GLS-WSCPA algorithmic framework. Section 5 reports and analyzes experimental results. Finally, Section 6 concludes the paper and outlines directions for future research.

2. Related Works

2.1. Advances in UAV Delivery Routing Optimization

Early research on UAV delivery primarily focused on single-destination routing and task allocation. Under this operational mode, UAVs typically execute point-to-point missions from a distribution center to a single customer [16]. Routing optimization in such settings mainly aims to minimize flight time [17], travel distance [18], or operational cost [19], often under simplified constraints and without considering complex operational factors.
With the expansion of UAV applications—particularly in urban logistics, emergency response, and express delivery services—research attention has gradually shifted toward multi-destination delivery scenarios. In these settings, UAVs must schedule and plan routes across multiple customer nodes within a single sortie, significantly increasing problem complexity [20]. To address multi-point delivery tasks, researchers have adopted classical combinatorial optimization models such as the traveling salesman or problem (TSP) and the capacitated vehicle routing problem (CVRP) [21,22,23].
For example, ref. [8] introduced a pure-play drone-based (PD) delivery model in which UAVs are capable of carrying multiple parcels per flight, collecting goods from multiple depots, and serving multiple customers. This operational mode substantially improves delivery efficiency compared with traditional single-parcel dispatch models. Building on this framework, ref. [24] formulated a mixed-integer linear programming model incorporating UAV capacity and endurance constraints and proposed heuristic algorithms for multi-UAV PD systems. Further extensions incorporate additional operational constraints, such as customer time windows and payload-dependent energy consumption rates, thereby enhancing realism in system modeling [25].
Overall, UAV routing research has evolved from geometric path optimization for single flights toward integrated planning models capable of handling multi-parcel, multi-task scenarios. Increasingly, realistic operational constraints are embedded into routing formulations, reflecting a transition from idealized modeling assumptions to more complex and system-oriented representations.

2.2. Joint Route–Loading Optimization

As delivery tasks become more complex, the interdependence between routing decisions and cargo loading configurations has gained growing attention. Traditional routing models typically abstract transported goods as demand quantities at customer nodes, considering only capacity or weight constraints [10]. In contrast, loading problems are often solved independently, failing to capture the practical coupling between route sequences and spatial packing feasibility.
Recent studies have begun to explore integrated route–loading optimization frameworks. These approaches often extend the capacitated vehicle routing problem by incorporating three-dimensional loading constraints—such as cargo volume, stacking order, and spatial feasibility—into routing models [11,12]. Compared with traditional capacity-based formulations, such integrated models more effectively capture the influence of loading configurations on transportation efficiency and safety, offering more realistic modeling paradigms for complex, multi-task delivery scenarios.
Similar concepts have been widely investigated in air and maritime transportation. In aircraft cargo loading problems, center-of-gravity positioning and load distribution are treated as critical factors affecting flight stability and safety. Optimization models focus on distributing cargo within the hold to maintain acceptable center-of-gravity ranges across different flight stages, thereby preventing instability caused by load imbalance [13]. In container ship stowage problems, center-of-gravity balance and load distribution similarly serve as key constraints to ensure vessel stability and structural safety during long voyages [14,15].
These studies collectively highlight the importance of center-of-gravity control in transportation systems. However, most existing work focuses on large-scale platforms such as aircraft or ships, where structural redundancy and relatively spacious loading compartments mitigate the risks associated with load imbalance. In contrast, UAVs operate within highly constrained spatial and payload limits, rendering flight stability particularly sensitive to loading configurations. Consequently, center-of-gravity constraints play a more critical role in UAV delivery systems.

2.3. Evolution of Solution Strategies

In early studies of loading optimization and integrated routing–loading problems, exact algorithms dominated the methodological landscape. Common approaches include mixed-integer programming [26] and branch-and-bound techniques [27]. These methods can provide globally optimal solutions for small-scale instances and serve as important theoretical benchmarks.
However, route–loading joint optimization problems are generally NP-hard. As problem size increases and constraint structures become more complex, the search space grows exponentially, rendering exact methods computationally prohibitive for medium- and large-scale instances [28].
Consequently, research has increasingly shifted toward heuristic and metaheuristic approaches that provide high-quality approximate solutions within reasonable computational time. Although these methods sacrifice guarantees of global optimality, they demonstrate superior scalability and practical applicability [29]. At the same time, to effectively address complex constraint structures, many scholars adjust algorithms based on specific problems while considering the constraints. To this end, common adaptation mechanisms include dynamic strategy adaptation [30], adaptive operator selection [31], and adaptation of penalty function methods [32], all of which help enhance the algorithm’s ability to avoid local optima.
To address these limitations, hybrid and hierarchical frameworks have been developed. Hybrid methods integrate complementary algorithms to balance global exploration and local exploitation, thereby improving both solution quality and computational efficiency [33,34]. Hierarchical approaches decompose the integrated problem into subproblems—such as routing and loading components—solve them using specialized algorithms, and subsequently coordinate them through integration mechanisms [27,35].
These methodological developments demonstrate a clear evolution from single-algorithm strategies toward integrated, framework-based solution paradigms, reflecting the growing need for adaptable and scalable optimization techniques in complex delivery systems.

3. Problem Description and Modeling

3.1. Problem Description

The Three-Dimensional Loading-Constrained UAV Routing Problem (3DLC-UAVRP) is formally defined as follows. A distribution center operates a homogeneous fleet of multi-rotor UAVs to serve a set of geographically dispersed customers. All order information, including parcel dimensions, weights, and delivery locations, is known in advance. A complete delivery plan consists of a set of UAV routes together with their corresponding three-dimensional loading configurations.
During mission execution, each UAV departs from the distribution center, follows its predetermined route, and returns to the distribution center after completing all deliveries on that route. Prior to departure, parcels are loaded into the UAV’s cargo bay according to a carefully designed loading scheme. This loading scheme must simultaneously satisfy the three-dimensional spatial constraints of the cargo compartment. Moreover, the loading layout must maintain strict sequential consistency with the delivery route. Specifically, at each customer location, the parcel(s) designated for that customer must be directly accessible from the corresponding side compartment without the need to reposition or unload any parcels intended for subsequent customers. As illustrated in Figure 1, each delivery route forms a sequence of customer visits. In the figure, parcels of different colors represent the delivery demands of different customers.

3.2. Mathematical Model

In the 3DLC-UAVRP, the transportation network is modeled as a complete directed graph U = T , E , where T = T 0 T n is the set of all nodes and E = { i , i | i , i T , i i } is the set of arcs. The node set consists of a single depot node T 0 and the customer node set T n = 1 , 2 , , n . The principal notation used throughout the model is summarized in Table 1.
To ensure flight stability during multi-customer delivery missions, the UAV adopts a dual-compartment modular cargo structure. A longitudinal partition beam is installed along the central axis of the cargo bay, physically dividing the effective payload space into two symmetric compartments: the left loading compartment and the right loading compartment. A three-dimensional Cartesian coordinate system is established based on this structural design. The X -axis, Y -axis and Z -axis correspond to the cargo bay width W , length L , and height H , respectively. Consequently, the entire loading space is partitioned into two symmetric regions: the left loading region I L and the right loading region I R , as illustrated in Figure 2.
The loading logic is defined as follows. In the left compartment, parcels are loaded starting from the front–bottom–left corner, denoted as point x i k w i k , y i k , z i k h i k , and are arranged sequentially along the negative X -direction and positive Y -direction. The origin of the coordinate system 0 , 0 , 0 is located at the center of the front edge of the cargo floor. In the right compartment, parcels are loaded with respect to reference point 0 , L , 0 , beginning at the rear–bottom–left corner x i k , y i k l i k , z i k h i k , and arranged sequentially along the positive X-direction and negative Y-direction. This structured loading rule ensures spatial consistency with the delivery sequence and facilitates direct unloading at customer locations.
To formulate the model, the following assumptions are adopted:
(1)
Each UAV has sufficient endurance to complete its assigned delivery route.
(2)
Each UAV can complete its mission and return to the depot within the prescribed time horizon.
(3)
Each customer’s demand must be fully satisfied in a single visit; split deliveries are not allowed.
(4)
All parcels are placed orthogonally, with their edges aligned parallel to the cargo bay boundaries.
(5)
No parcel may be suspended; each parcel must be fully supported from below.
(6)
The CoG of the UAV coincides with the geometric center of the empty cargo bay. The model imposes CoG constraints only on the mass distribution of loaded parcels, and the structural weight of the UAV body is not explicitly modeled.
(7)
CoG window constraints are enforced only at the fully loaded (pre-takeoff) state. A conservative CoG deviation threshold is adopted to maintain safety margins against CoG shifts caused by parcel unloading during delivery operations.
The mathematical formulation of the 3DLC-UAVRP is presented as follows. Constraints (1)–(2) ensure that each customer is visited exactly once by a single UAV and that flow conservation is maintained at every visited node; that is, if a UAV arrives at a node, it must subsequently depart from that node. Constraints (3)–(6) enforce route feasibility for each UAV. Specifically, each UAV must depart from the depot, sequentially visit the customers assigned to its route, and ultimately return to the depot, thereby forming a closed delivery tour. Constraint (7) limits the total weight of parcels loaded on a UAV along any single delivery route, ensuring that the cumulative payload does not exceed the UAV’s maximum carrying capacity. Constraints (8) enforce spatial feasibility by ensuring that each parcel is fully contained within the geometric boundaries of the cargo compartment. Constraint (9) specifies the compartment assignment rule, requiring that each parcel be placed entirely within either the left loading region or the right loading region, without spanning both compartments. Constraint (10) enforces non-overlapping conditions, ensuring that any two parcels assigned to the same UAV do not occupy intersecting spatial regions within the cargo compartment. Constraint (11) establishes the delivery-sequence accessibility requirement. Specifically, if customer i is visited before customer j , the parcel assigned to customer i must be directly retrievable through the corresponding side door without being obstructed by the parcel designated for customer j . Constraint (12) represents the loading stability constraint.
p = 1 P b i p = 1 ,   i T n
i = 0 n α i i p = i = 0 n α i i p = b i p ,   i , i T n ,   p P
i = 0 n α 0 i p = i = 0 n α i 0 p 1 ,   p P
S i + 1 S i + M 1 α i i p , i , i T n , p P
1 S i n , i T n
S 0 = 0
i = 1 n k = 1 m i d i k b i p G ,   p P
W 2 x i k , x i k + w i k W 2 , i , k 0 y i k , y i k + l i k L , i , k 0 z i k , z i k + h i k H , i , k
x i k + w i k 0 + M δ i k , i , k I l x i k 0 M 1 δ i k , i , k I r
x i k + w i k x i k + M 1 λ i k , i k L e f t x i k + w i k x i k + M 1 λ i k , i k R i g h t y i k + l i k y i k + M 1 λ i k , i k B a c k y i k + l i k y i k + M 1 λ i k , i k F r o n t z i k + h i k z i k + M 1 λ i k , i k U n d e r z i k + h i k z i k + M 1 λ i k , i k T o p λ i k , i k L e f t + λ i k , i k R i g h t + λ i k , i k B a c k + λ i k , i k F r o n t + λ i k , i k U n d e r + λ i k , i k T o p 1
x i k x i k M ( 1 ξ i k , i k ) + M δ i k + M δ i k + M ( 1 ξ i k ) x i k x i k M ( 1 ξ i k , i k ) + M ( 1 δ i k ) + M ( 1 δ i k ) + M ( 1 ξ i k )
W p = i = 1 n k = 1 m i d i k b i p , p P a 1 W p i = 1 n k = 1 m i d i k x i k + 1 2 w i k b i p a 2 W p , p P b 1 W p i = 1 n k = 1 m i d i k y i k + 1 2 l i k b i p b 2 W p , p P c 1 W p i = 1 n k = 1 m i d i k z i k + 1 2 h i k b i p c 2 W p , p P
Based on the principle of minimizing the total routing distance, the objective function is formulated as Equation (13).
min Z = p = 1 P i = 0 n i = 0 n c i i α i i p

4. Guided Hybrid Heuristic Solution Approach

The 3DLC-UAVRP requires the simultaneous optimization of routing sequences and three-dimensional loading configurations under coupled operational and CoG stability constraints, a combination that exposes three fundamental limitations in existing solution paradigms.
The dominant “route-first, load-second” evaluation strategy decouples routing from loading, causing high rejection rates when distance-optimal routes prove physically infeasible under CoG constraints. More fundamentally, existing loading heuristics are designed to verify spatial feasibility after a route is fixed rather than to actively balance mass distribution during packing construction, so infeasible solutions must be discarded entirely rather than repaired. Most critically, no existing framework channels loading infeasibility information back into the routing search. When a CoG violation is detected, the search restarts without any knowledge of which route segment caused it, preventing the algorithm from learning to avoid recurrent infeasible patterns and severely limiting scalability as problem size grows.
To address these limitations, this study proposes GLS-WSCPA. The framework assigns global route exploration to an Improved White Shark Optimization (IWSO) and spatially balanced loading arrangement to a Human-like Divide-and-Conquer Packing Strategy (HLDCPS). A Center-of-Gravity-Guided Path Adjustment and Local Loading Repair (CGPA–LLR) mechanism then coordinates the two components by translating unresolvable CoG violations into guided routing perturbations, so that physical stability is enforced continuously throughout the search rather than checked only at its end. The overall framework is illustrated in Figure 3.

4.1. Improved White Shark Optimization

The White Shark Optimization (WSO) algorithm [36] draws inspiration from the unique olfactory and auditory tracking behaviors of great white sharks, establishing a global exploration strategy based on movement towards prey and a local exploitation mechanism centered on optimal position tracking. These components correspond to the exploration and exploitation phases of the optimization process, respectively. Furthermore, WSO integrates fish school behavior to maintain population diversity, which optimizes the population update process and prevents the algorithm from falling into local optima.
To address the limitations of the original algorithm in discrete domains, this study develops an IWSO algorithm. By refining the search effectiveness and solution quality, IWSO achieves a superior balance between global search and local refinement. The workflow of the proposed IWSO algorithm is illustrated in Figure 4.

4.1.1. Encoding and Decoding Strategy

To bridge the gap between the continuous evolutionary search mechanism of WSO and the discrete nature of routing decision variables, a tailored encoding–decoding strategy is designed.
(1)
Encoding
A random-key real-number encoding scheme is adopted to resolve the structural inconsistency between the continuous search space of WSO and the discrete permutation-based routing problem.
Let n denote the total number of customer nodes and N p o p denote the population size. The position vector of the s-th search individual (where s 1 , 2 , 3 , , N p o p ) is defined as an n -dimensional continuous real-valued vector W s :
W s = w 1 s , w 2 s , . , w i s , . , w n s
Under the adopted encoding scheme, the i-th component w i s of the position vector W s represents the real-valued ranking key associated with customer node i . It should be noted that this value serves only as a continuous priority indicator. The algorithm determines the visiting sequence by comparing the relative magnitudes of these keys, thereby mapping the continuous position vector into a discrete customer visit order.
(2)
Decoding
In this study, the Smallest Position Value (SPV) rule is employed as the core decoding operator. The SPV rule transforms the continuous real-valued position vector generated during the evolutionary process into a physically feasible discrete delivery route, thereby establishing a correspondence between the search space of the metaheuristic and the decision variables of the routing problem. For any given search individual s with position vector W s , the decoding procedure proceeds as follows. An illustrative example of the SPV-based decoding process is provided in Figure 5.
Step 1: Sequence reconstruction
Sort the real-valued components of w i s in ascending order. Define the index mapping rule such that if w i s < w i s for i < i , then customer i precedes customer i in the generated visiting sequence.
Step 2: Closed route construction
Extract the ordered customer index sequence obtained from Step 1. Then append the depot node (denoted as 0) at both the beginning and the end of the sequence to form a complete closed UAV delivery route: π p = 0 , , i , i , n , 0 .

4.1.2. Fitness Function Design

Fitness evaluation is a crucial step in assessing the quality of each search individual W s . The algorithm directly employs the total routing distance, as defined in Equation (13), as the criterion for evaluating the decoded delivery solution.

4.1.3. Population Initialization

The quality of population initialization directly influences the search diversity and convergence performance of the algorithm. According to the adopted encoding strategy, the initial population consists of N p o p search individuals and can be represented as an N p o p × n matrix, where each row corresponds to an n-dimensional continuous position vector:
N p o p = w 1 1 w n 1 w 1 N p o p w n N p o p
After determining the population structure, the values of each dimension must be initialized. The original WSO algorithm relies on a uniform random distribution, which often leads to uneven spatial distribution, resulting in the clustering of routing solutions and reduced global exploration capability. To address this limitation and enhance initial population diversity, this study introduces a Sine-Partition-Modulation (SPM) chaotic mapping to replace the traditional random initialization. The SPM mapping exhibits strong randomness and ergodicity, generating more uniformly distributed chaotic sequences and thereby improving the spatial coverage of initial solutions. The SPM mapping is defined as:
m o d x k η + u s i n π x k + r a n d , 1 , 0 x k < η m o d x k / η 0.5 η + u s i n π x k + r a n d , 1 , η x k < 0.5 m o d 1 x k / η 0.5 η + u s i n π 1 x k + r a n d , 1 , 0.5 x k < 1 η m o d 1 x k η + u s i n π 1 x k + r a n d , 1 , 1 η x k < 1
where x k denotes the chaotic variable at iteration k , and η and u are mapping parameters.
The generated chaotic values are then linearly transformed to the feasible range of each dimension:
w n s = l n + x k + 1 × u n l n
where u n and l n denote the upper and lower bounds of the n-th search dimension, respectively, and r a n d 0 , 1 is a uniformly distributed random number.
This strategy improves the diversity of the initial population and enhances the algorithm’s global search capability.

4.1.4. Velocity Update

The velocity vector V s = v 1 s , v 2 s , . , v i s , . , v n s describes the dynamic adjustment process of the ranking keys in the continuous search space. The magnitude and direction of velocity updates determine the relative ordering of elements in W s , thereby influencing the customer visiting sequence obtained through SPV decoding. In the original WSO algorithm, differences among search states are not sufficiently distinguished, and adaptability during the exploration stage is limited. The velocity update rule is expressed as:
v s t + 1 = μ v s t + p 1 W g b e s t t W s t c 1 ¯ g l o b a l   g u i d a n c e   t e r m + p 2 W b e s t s t W s t c 2 ¯ i n d i v i d u a l   m e m o r y
where v s t and v s t + 1 denote the velocity vectors of the s-th search individual at iterations t and t + 1 , respectively. The coefficients p 1 and p 2 are control parameters governing the influence of global and individual search components. During the UAV routing optimization process, p 1 guides the search individual toward the current globally best routing solution, thereby accelerating convergence. In contrast, p 2 preserves the individual’s historically best ordering information, helping maintain population diversity and preventing premature convergence. The coefficients c 1 and c 2 are random numbers uniformly distributed in the interval [0, 1]. The vector W g b e s t t represents the globally best position vector obtained by any search individual up to iteration t, while W b e s t s ( t ) denotes the historical best position vector of the s-th individual. The vectors W s t and W s t + 1 represent the position vectors of the s-th search individual at iterations t and t + 1 , respectively.
Essentially, Equation (18) calculates the numerical adjustment step for the continuous sorting keys of the customer nodes. It determines the update direction by linearly combining three components: maintaining the previous adjustment inertia, pulling towards the globally best-known solution, and pulling towards the individual’s historically best solution. However, applying this continuous, numerical addition-based update mechanism to a discrete routing problem (which strictly requires combinatorial sequence permutations) causes a severe structural mismatch, leading to inefficient exploration.
To enhance the performance of the original WSO update rule in Equation (18), this study introduces a nonlinear reconstruction strategy and proposes a composite improvement mechanism.
(1)
Adaptive perturbation amplitude control
In Equation (18), the inertia coefficient μ is fixed, which may provide insufficient exploration capability in the early stages of iteration. To address this limitation, a nonlinear perturbation amplitude control function A t , dependent on the iteration index, is introduced to replace the constant inertia coefficient. At early iterations, a relatively large A t is assigned to enlarge the adjustment range of ranking keys, thereby enhancing exploration across diverse routing sequences. As the iteration progresses, A t gradually decreases to preserve structural stability of promising routing solutions and strengthen exploitation. The adaptive perturbation function is defined as:
A t = A 0 e β t T m a x 2
where A 0 denotes the initial perturbation amplitude, determining the exploration intensity in early iterations; β is the decay control factor; t represents the current iteration index; and T m a x denotes the maximum number of iterations.
(2)
Composite guidance term construction
The global guidance term in the original velocity update is isolated and combined with the adaptive perturbation amplitude to construct a composite guidance increment:
Δ V s = A t p 1 W g b e s t t W s t × c 1
This formulation allows the strength of global guidance to vary dynamically throughout the search process. To further enhance diversity and prevent stagnation, a periodic perturbation mechanism is introduced. When the iteration count satisfies a predefined triggering condition, a reinforced guidance phase is activated, allowing large-scale adjustment of ranking keys. During other iterations, the algorithm operates in a regular search mode, temporarily disabling global guidance and relying primarily on individual memory to perform local refinements. The periodic trigger function is defined as:
T m t = t T m a x / 10
Based on the above mechanisms, the updated velocity equation becomes:
v s t + 1 = v s t + p 2 W b e s t s t W s t c 2 + Δ V s , mod ( T m t ) = 0 v s t + p 2 W b e s t s t W s t c 2 , O t h e r w i s e
This nonlinear and periodically enhanced velocity update strategy improves exploration capability in early iterations, maintains population diversity, and strengthens convergence stability in later stages.

4.1.5. Hierarchical Position Update Mechanism

To further enhance convergence stability and search efficiency, a hierarchical position update mechanism is introduced. This mechanism first updates the overall population positions and subsequently applies differentiated update strategies according to fitness-based ranking.
(1)
Position update
Based on the velocity v s t + 1 computed in Section 4.1.4, the position of the s-th search individual is updated using the following piecewise rule:
W s t + 1 = W s t ¬ w o + u a + l b , r a n d < m v W s t + v s t + 1 f , r a n d m v
where ¬ denotes a logical complement operator, w o = ( a , b ) represents a logical auxiliary vector, u and l denote the upper and lower bounds of the search space, respectively, a and b are binary vectors generated via boundary detection, m v is a movement threshold parameter, and f is a scaling factor. The original WSO algorithm, designed for continuous optimization, typically sets ( f = 0.90 ). However, UAV routing is a discrete combinatorial problem. Applying an excessively large scaling factor severely disrupts the relative magnitudes of the ranking keys. Under SPV decoding, this causes the routing sequences to lose structural stability, degrading the guided search into a random walk. Therefore, f is recalibrated to 0.67 in this study, effectively balancing global exploration with the preservation of advantageous route structures. The parameter m v v varies nonlinearly with the iteration index to balance global exploration and local exploitation. It is defined as:
1 a 0 + e T m a x / 2 t / a 1
where a 0 and a 1 are control parameters governing the trade-off between exploration and exploitation. The values used in this study are 5 and 50, respectively.
(2)
Fitness-based reconstruction strategy
Although the above position update generates new continuous solutions, applying identical update rules to all individuals may reduce search efficiency. Therefore, a fitness-based hierarchical reconstruction strategy is introduced.
Step 1: Decoding
The updated position vectors W s t + 1 and W g b e s t t + 1 are decoded using the SPV rule to obtain the corresponding delivery routes π p and the global best route π p b e s t .
Step 2: Fitness ranking and population layering
The population is sorted according to fitness values. Let the population size be N p o p , and define a layering threshold ratio . The top N p o p individuals are classified as the elite layer s e l i t e , while the remaining ( 1 ) N p o p individuals constitute the ordinary layer s o r d i n a r y .
Step 3: Elite-layer operation
Individuals in the elite layer are assumed to reside near promising regions and therefore undergo local refinement rather than large perturbations. An exchange mutation operator is introduced to adjust customer visit sequences. Specifically, two distinct customer positions in the current route π p ( s e l i t e ) are randomly selected and swapped, while the relative order of other customers remains unchanged, yielding a new candidate route π p n e w ( s e l i t e ) . This operation enhances local exploitation while preserving structural stability (see Figure 6).
Step 4: Ordinary-layer operation
For individuals in the ordinary layer, a locking-reconstruction operator is adopted. The current route π p ( s o r d i n a r y ) is compared position-by-position with the global best route π p b e s t . If a customer node matches the global best at the same position, that position is locked. For unmatched positions, the remaining unassigned customer nodes are randomly permuted and reinserted. This produces a reconstructed route π p n e w ( s o r d i n a r y ) that preserves advantageous structural segments while introducing diversity (see Figure 7).
Step 5: Fitness evaluation
The fitness values of both elite and ordinary reconstructed solutions are evaluated. If the new solution improves upon the original route π p n e w , it replaces the previous solution; otherwise, the original solution is retained.
Step 6: Position mapping
To ensure continuity in the next iteration, the accepted discrete route π p n e w is mapped back into the continuous search space and re-encoded into the corresponding position vector W s t + 1 n e w .

4.2. Human-like Divide-And-Conquer Packing Strategy

The HLDCPS integrates divide-and-conquer principles with heuristic loading strategies. Given a routing solution as input, the algorithm sequentially performs loading feasibility verification, loading order construction, and left–right compartment balancing under multi-dimensional constraints. The overall procedure is illustrated in Figure 8.
For a UAV p assigned route π p , loading feasibility must satisfy the following conditions:
i π p k = 1 m i d i k G
If this constraint is violated, the current route is deemed infeasible and fed back to IWSO for re-optimization. Otherwise, the loading sequence of UAV p is defined according to the visit order:
I p s e q = , I i k , I i ( k 1 ) , I i 1 m i ,
Following Section 3.1, the cumulative payload difference between left and right cabins is initialized to zero. Customers are assigned to either cabin to minimize weight imbalance, providing a partitioning basis for subsequent spatial packing. The initial reference points of the left and right cabins are set to 0 , 0 , 0 and 0 , L , 0 , respectively. The X- and Z-axes are defined as primary reference directions.
For each item I i k with original dimensions ( l i k , w i k , h i k ) , a finite rotation set is defined:
R = w i k , l i k , h i k , h i k , l i k , w i k , l i k , w i k , h i k , w i k , h i k , l i k , l i k , h i k , w i k , h i k , w i k , l i k
Each element represents a feasible orthogonal orientation in the Cartesian coordinate system (see Figure 9).
A dynamically updated candidate placement set is generated during packing. For candidate coordinate x i s , y i s , z i s and rotated dimensions w i k , l i k , h i k , boundary feasibility requires:
x i s w i k W x y i s l i k L y z i s + h i k H z
where W x , L y , H z denote dynamic boundary reference limits. After boundary screening, non-overlapping verification is performed. Among feasible placements, the algorithm prioritizes: (1) minimal placement height, (2) then minimal horizontal gap. The process continues iteratively until all items are packed, producing the final loading plan I p l o a d .

4.3. Center-of-Gravity-Guided Path Adjustment and Local Loading Repair

To address infeasibility arising from the joint effects of three-dimensional packing and CoG constraints, two collaborative mechanisms are formally embedded into the metaheuristic search process. The pseudocode for the LLR and CGPA mechanisms is summarized in Algorithms 1 and 2, respectively. When the CoG deviation Δ g exceeds the safety threshold g s a f e , the LLR mechanism is first activated to restore feasibility through localized physical adjustments without altering the route structure. If LLR fails, the CGPA mechanism is subsequently triggered, which identifies the most destabilizing route segment, incorporates it into a tabu set, and perturbs the corresponding ranking keys in the IWSO position vector to redirect the global search away from infeasible regions (see Figure 10).

4.3.1. Trigger Function

Given route π p and loading plan I p l o a d , the three-dimensional center of gravity is computed as:
X c o g = 1 i = 1 n k = 1 m i d i k i = 1 n k = 1 m i d i k x i k + 1 2 w i k Y c o g = 1 i = 1 n k = 1 m i d i k i = 1 n k = 1 m i d i k y i k + 1 2 l i k Z c o g = 1 i = 1 n k = 1 m i d i k i = 1 n k = 1 m i d i k z i k + 1 2 h i k
To measure stability, the deviation from the ideal equilibrium point 0 , L / 2 , H / 2 is defined as:
Δ g = ( X c o g ) 2 + ( Y c o g L / 2 ) 2 + ( Z c o g H / 2 ) 2
If Δ g > g s a f e , the CGPA–LLR mechanism is activated.

4.3.2. Local Loading Repair

LLR attempts to restore balance without altering the route structure.
(1)
Posture mutation operator
The item contributing most to CG deviation is identified. Its orientation is adjusted to modify projected dimensions along the X - or Y -axis, thereby correcting CG offset (see Figure 11).
(2)
Cross-cabin migration operator
Customers are treated as atomic units. The algorithm computes total customer weight and identifies candidates contributing most to left–right imbalance. Priority is given to moving entire customers to the lighter cabin. If spatial constraints prevent full migration, item-level exchanges between cabins are attempted (see Figure 12).

4.3.3. CGPA Mechanism

If LLR fails to satisfy the Δ g constraint, CGPA modifies the route structure. First, the algorithm identifies the contiguous customer segment π p i n f e a s i b l that contributes most to Δ g imbalance. This segment is inserted into a tabu set T :
T T π p i n f e a s i b l
The construction of tabu set T in Equation (31) encodes a cross-domain mapping that distinguishes CGPA from conventional infeasibility handling. Standard metaheuristics treat CoG violations as binary outcomes and discard infeasible solutions without extracting structural information from them. CGPA instead treats Δ g as a diagnostic signal: the contiguous customer segment contributing most to the CoG imbalance is identified as the structural source of instability and incorporated into T . The corresponding ranking keys in the IWSO position vector are then perturbed as described in Algorithm 2, so that spatial mass imbalance is translated into a discrete routing constraint and loading feasibility feedback actively shapes the combinatorial search trajectory rather than merely filtering its outputs.
During subsequent IWSO position updates, decoded routes containing tabu segments receive additional perturbation to break structural similarity and guide the search away from recurrent infeasible patterns. Thus, CGPA introduces memory-guided structural diversification into the metaheuristic process.
The pseudocode for LLR and CGPA is summarized in Algorithms 1 and 2.
Algorithm 1 LLR
Input:
πp: the closed UAV delivery route of UAV p
I p load : the loading scheme of UAV p
g s a f e : the threshold of the centroid offset
Output: I p load and Δ g (if still infeasible, trigger CGPA)
1:Compute Δg
2:If Δ g g safe then
3:   return I p load and Δ g
4:endif
5:apply the posture mutation operator to I p load
6:recompute Δ g
7:if Δ g g safe then
8:   return I p load and Δ g
9:endif
10:apply the cross-cabin migration operator to I p load
11:recompute Δ g
12:if Δ g > g safe then
13:trigger CGPA
14:endif
15:return I p load and Δ g
Algorithm 2 CGPA
Input:
W s t : the position vector of search individual s at iteration t
w i s : the sorting key value of customer i in W s t
g s a f e : the threshold of the centroid offset
I : the global tabu set
Output: I
1:If Δ g g s a f e then
2:   return I
3:endif
4:identify π p i n f e a s i b l
5:
T T π p i n f e a s i b l
6:decode W s t to obtain the route π p
7:if π p contains π p i n f e a s i b l in T
8:   randomly perturb the sorting key values w i s corresponding to that segment to destroy the relative order
9:endif
10:return T

4.4. Convergence Criterion and Computational Complexity Analysis

4.4.1. Convergence Criterion

The algorithm terminates when either of the following conditions is met: (1) the iteration count reaches the predefined maximum T m a x ; or (2) all UAV routes have obtained feasible loading plans satisfying Δ g g s a f e . Upon termination, the solution with the minimum total routing distance among all recorded feasible solutions is returned.

4.4.2. IWSO Routing Module

Let n denote the number of customer nodes, N p o p the population size, and T m a x the maximum iterations. Per iteration, SPV decoding sorts the three-dimensional position vector in O n l o g n ; fitness evaluation and both the elite-layer exchange mutation and ordinary-layer locking-reconstruction operators each run in O n . The total complexity of IWSO is therefore:
O T m a x N p o p n l o g n

4.4.3. HLDCPS Loading Module

Let M p = i π p m i denote the total number of parcels on route π p . Loading sequence construction and left–right cabin balancing run in O M p and O π p , respectively. For each parcel, six orthogonal orientations are enumerated; boundary feasibility is checked in O 1 and non-overlap verification against all placed parcels in O M p , giving O M p per parcel and O M p 2 per route. Across a fleet of P UAVs, the total complexity is:
O   p = 1 P M p 2

4.4.4. CGPA–LLR

CoG deviation computation runs in O M p . The posture mutation operator enumerates six orientations for the worst-offending parcel in O M p ; the cross-cabin migration operator scans π p customers and recomputes CoG in O π p + M p . CGPA segment identification enumerates all contiguous subsequences of the route in O ( | π p | 2 ) ; tabu set update and key perturbation each run in O π p . The per-call complexity of CGPA–LLR is thus:
O ( | π p | 2 + M p )

4.4.5. Overall Complexity

Combining all modules, the total complexity of GLS-WSCPA is:
O   T m a x N p o p n l o g n + T m a x N p o p p = 1 P ( | π p | 2 + M p 2 )
Under the typical assumption that m i is bounded by a constant and routes are balanced such that π p = O n / P and M p = O π p , this simplifies to:
O   T m a x N p o p n 2 P
This polynomial growth with respect to problem scale is consistent with the complexity of comparable metaheuristic frameworks for three-dimensional loading vehicle routing problems reported in the literature, confirming the computational scalability of GLS-WSCPA.

5. Numerical Experiments

The proposed GLS-WSCPA framework was written in Python 3.10 and executed on a Windows 10 platform equipped with an NVIDIA RTX 3060 GPU (NVIDIA Corporation, Santa Clara, CA, USA). The parameter settings for the algorithm are summarized in Table 2.

5.1. Performance Comparison of IWSO

Before addressing the 3DLC-UAVRP, it is necessary to first evaluate the underlying optimization capability of the IWSO algorithm. In this experiment, the TSPLIB benchmark library, including representative instances such as eil51, berlin52, st70, and pr76, is used to compare IWSO with WSO, ABCSS [37], and DSMO [38].
ABCSS is an improved Artificial Bee Colony algorithm designed for the TSP. It introduces multiple update rules based on swap sequences and swap operations, combined with a roulette wheel selection mechanism and a K-opt perturbation strategy, thereby improving solution accuracy and stability. DSMO simulates the social behavior of spider monkeys, enabling information exchange among individuals through swap sequence and swap operator mechanisms, and employs a multi-population cooperative framework to enhance global search capability and effectively avoid local optima.
The parameter settings for all comparative algorithms are adopted from their respective original publications to ensure fairness. The computational results are summarized in Table 3, where the best results obtained by IWSO are highlighted in bold. In addition, Figure 13 illustrates the optimal routing solutions generated by IWSO for four benchmark instances: berlin52, eil76, kroA100, and pr152.
As shown in Table 3, for most small- and medium-scale benchmark instances, IWSO achieves solution accuracy comparable to that of the other improved algorithms. However, for more complex instances such as kroA100 and pr152, IWSO demonstrates relatively better performance, producing competitive routing distances among the compared methods. In the largest-scale instance, fl417, IWSO achieves a 1.97% reduction in route length compared to DSMO in terms of route length reduction and achieves a 14.23% improvement over the baseline WSO. These results indicate that as the problem scale increases, IWSO shows relatively stable performance and helps alleviate premature convergence to local optima. Overall, the findings suggest the effectiveness and potential scalability of the proposed improvement strategies, particularly in large and complex routing scenarios.

5.2. Feasibility Verification of HLDCPS

To validate the physical adaptability and robustness of the proposed loading algorithm, simulation experiments are conducted based on a dataset constructed from real-world packing practices of JD Logistics. The proposed HLDCPS is compared against a baseline method referred to as the Sequence-Constrained Loading Strategy (SCLS). The SCLS strictly enforces the LIFO unloading accessibility constraint and organizes loading according to the service sequence. This ensures that each customer’s items can be directly retrieved at the corresponding stop without relocating other goods, thereby minimizing rearrangement operations during unloading [39]. The comparative results are presented as follows.
As illustrated in Figure 14, the two loading strategies exhibit fundamentally different behaviors when addressing the conflict between sequence constraints and weight balance. The SCLS strictly follows the predefined loading sequence and prioritizes placing heavier items at the bottom of the cabin to ensure basic vertical stability. However, when multiple heavy items appear consecutively in the loading sequence, the rigid sequential constraint forces them to accumulate along the same spatial direction. This inevitably results in an imbalanced horizontal mass distribution, as shown in Figure 14a. In contrast, while maintaining sequence accessibility constraints, HLDCPS employs a divide-and-conquer mechanism to decouple the loading space. Specifically, heavy items are alternately distributed between the left and right cabins, thereby achieving effective horizontal mass balance without violating unloading feasibility, as illustrated in Figure 14b. These results demonstrate that HLDCPS helps alleviate the structural conflict between operational accessibility and weight equilibrium through a more flexible spatial coordination strategy.

5.3. Algorithmic Evaluation and Mechanism Analysis

This section systematically evaluates the GLS-WSCPA framework by constructing a set of mixed benchmark instances. The benchmark instances are built with reference to literature [40], integrating multi-source benchmark data and adapting it to the drone delivery scenario as follows: Solomon’s VRPTW benchmark instances C101 (clustered distribution) and R101 (random distribution) are selected to define the spatial distribution of customer nodes, while cargo information is fused from the CVRP instances proposed by Gendreau et al. [41]. Given that the original data were designed for land-based container transportation, the dimensions and weight parameters of the heterogeneous cargos are proportionally scaled to satisfy the payload and cargo bay capacity constraints of drones. This process constructs a high-dimensional constrained test environment suitable for micro-cargo compartment scenarios.

5.3.1. Comparison with Other Methods

To quantitatively evaluate the performance superiority of the GLS-WSCPA framework in solving the 3DLC-UAVRP, this section conducts a comparative study against three representative hybrid optimization algorithms on the Solomon–Gendreau R101 hybrid benchmark instance. The comparison benchmarks include CP-EA [42], RSO-IGA [43], and ALNS-DBLF [44]. The comparison results are summarized in Table 4, while the corresponding route structures for the case of n = 50 are illustrated in Figure 15. Here, n represents the number of customer nodes.
Across the tested problem scales, GLS-WSCPA generally achieves better solutions than the other compared algorithms. Wilcoxon signed-rank tests confirm that these improvements reach statistical significance at n ≥ 50 for all competitors, and at n = 75 and n = 100 all p-values fall below 0.001, indicating highly consistent advantages at larger scales. The performance gap tends to widen as instance size grows: at n = 100, GLS-WSCPA achieves a best solution of 1391.54, approximately 16.7% lower than ALNS-DBLF (1668.75) and 11.3% lower than RSO-IGA (1485.12).
At n = 25, CP-EA obtains a marginally better best solution (305.81 vs. 309.42), and the difference against GLS-WSCPA is not statistically significant (p = 0.682), suggesting that at small scale, CP-EA’s constraint programming backbone provides comparable feasibility guarantees. However, this advantage disappears at n ≥ 50, where CP-EA’s mean value deteriorates substantially (534.28 vs. 492.58), consistent with the known scalability limitations of exact-based methods.
In terms of solution stability, GLS-WSCPA maintains the lowest standard deviation across all scales (e.g., 1.15 at n = 25, 5.82 at n = 100), while CP-EA and ALNS-DBLF exhibit notably higher variance on medium- to large-scale instances, reflecting increased solution instability as problem complexity grows.

5.3.2. Ablation Experiments

After validating the overall effectiveness of the proposed framework, an ablation study is conducted on the Solomon–Gendreau C101 hybrid benchmark instance to further examine the individual contributions of the CGPA and LLR components within the CGPA–LLR mechanism and to evaluate their collaborative effects.
To perform a controlled comparison, four algorithmic variants are designed:
(1)
Baseline: The CGPA–LLR mechanism is completely removed. If the center-of-gravity constraint is violated, the solution is declared infeasible and the search process restarts.
(2)
No CGPA: Only LLR is retained. When imbalance occurs, local physical repair operations—such as posture mutation and cross-compartment migration—are performed. If repair fails, the solution is discarded.
(3)
No LLR: Only CGPA is retained. When imbalance occurs, physical repair is skipped. Instead, conflicting route segments are identified and converted into tabu constraints to adjust the visit sequence.
(4)
GLS-WSCPA: The complete collaborative framework integrating both CGPA and LLR mechanisms.
Each scheme is independently executed 30 times for every problem scale, and average performance metrics are reported. The comparative results are summarized in Table 5.
The results in Table 5 indicate that removing the CGPA–LLR mechanism leads to statistically significant deterioration in total routing distance across all problem scales. This suggests that the baseline strategy, which relies solely on re-searching when infeasibility occurs, lacks effective mechanisms for repairing infeasible solutions, and consequently tends to select more conservative but path-redundant feasible solutions.
The relative effectiveness of individual modules varies with problem scale. For the medium-scale instance (n = 50), the variant retaining only the LLR module achieves slightly shorter routing distances than the variant retaining only CGPA (369.82 vs. 370.28, p < 0.01). This indicates that under moderate constraint intensity, resolving stability conflicts through local physical loading adjustments alone can effectively restore feasibility without substantially altering route structures.
However, for large-scale instances (n = 100), the performance trend reverses. The No LLR variant outperforms No CGPA, achieving an 8.36% reduction in total routing distance (913.74 vs. 997.11, p < 0.001). This demonstrates that as problem complexity and constraint conflicts increase, structured optimization of the customer visiting sequence contributes more than localized physical adjustments under the tested large-scale settings.
When LLR and CGPA are integrated within the full GLS-WSCPA framework, the total routing distance for n = 100 is reduced by 17.68% compared with the Baseline strategy (p < 0.001). Although the center-of-gravity deviation is slightly higher than that of the Baseline, it consistently remains within the predefined safety threshold, indicating that the integrated framework better utilizes the feasible region within safety boundaries to achieve lower routing costs.
As shown in Figure 16, the Baseline method produces routes with notable spatial dispersion, where certain sorties extend over large service areas with visible route crossings between trips. When CGPA is removed, the overall route structure remains similar to the Baseline, with long-distance sorties to the right-side node cluster still present and limited improvement in spatial boundary definition. When LLR is removed, the long-distance extensions are partially mitigated, but the service areas of individual sorties remain spatially discontinuous in some regions. In contrast, GLS-WSCPA generates the most spatially compact route structure among the four schemes: long-distance extensions to the right-side cluster are substantially reduced, the boundaries among service sectors are more clearly delineated, and inter-route crossings are minimized.

5.3.3. Sensitivity Analysis

To comprehensively evaluate the robustness and generalizability of the proposed optimization framework, a sensitivity analysis was conducted based on the instances described in Section 5.3.2. Multiple intervals were defined for both the allowable CoG deviation and the maximum payload coefficient. The model performance was systematically examined under different parameter settings, and the variation in total routing distance was compared across scenarios. In the tables, “–” indicates that no feasible solution was obtained within 30 independent runs.
The results in Table 6 show that as the payload coefficient increases from 0.8 to 1.4, the total routing distance exhibits an overall decreasing trend. For the large-scale instance (n = 100), when payload capacity increases, the total routing distance decreases from 1037.64 to 568.29, representing a 43.87% reduction. This trend is directly related to the payload expansion mechanism: higher payload capacity allows each UAV to carry more parcels per sortie, thereby reducing the required number of flights and potentially improving overall routing efficiency.
Table 7 further indicates that under large-scale scenarios (n = 75 and n = 100), excessively strict CoG deviation coefficients (e.g., 0.8) prevent the algorithm from effectively handling heterogeneous loading configurations, resulting in infeasible solutions. This suggests that pursuing near-perfect balance may render practical delivery tasks inoperable. As the CoG deviation coefficient is relaxed from 1.0 to 1.4, the total routing distance decreases consistently across all instances. For example, when n = 100 and the coefficient increases to 1.2, the routing distance is reduced by 13.67%. However, when the coefficient exceeds 1.4, the marginal improvement in routing performance becomes negligible, indicating that beyond this threshold, the CoG constraint may no longer be the primary limiting factor under the tested settings.

5.4. Case Analysis

This case study is constructed using operational data from a JD Logistics fulfillment center located in the northeastern area of Jinan, China. The dataset consists of one distribution center and 20 customer nodes. The scenario is designed to evaluate the applicability of the proposed method in a typical urban last-mile delivery environment, characterized by dispersed demand patterns and heterogeneous payloads, thereby providing a representative test setting.
For performance evaluation, a conventional “route-first, loading-decoupled” baseline strategy is adopted for comparison. Under this approach, delivery routes are first determined using the IWSO algorithm. Subsequently, loading is executed using the SCLS, and payload and CoG constraints are verified post hoc. If the addition of a customer to a route results in a violation of physical constraints, the route is truncated at that customer node, and an additional UAV is activated. This process continues iteratively until all customers are assigned to feasible delivery routes. The comparative results are summarized in Table 8, where CV = standard deviation/mean, which is used to measure the stability of the algorithm across different scenarios. A smaller CV indicates better robustness. The distribution of total routing distances across 30 independent runs is further illustrated in Figure 17, while the corresponding drone delivery route structures are presented in Figure 18.
As shown in Table 8, the conventional baseline strategy is constrained by its fixed loading rules. When the center-of-gravity deviation exceeds the allowable threshold, the original loading configuration cannot be repaired, and feasibility can only be restored by activating additional flight sorties. In contrast, the proposed GLS-WSCPA framework dynamically coordinates routing and loading decisions, thereby helping to mitigate potential loading conflicts before they lead to infeasibility. As a result, the required fleet size for serving the entire service region is reduced from five UAV sorties to four, while the total routing distance decreases by 6.85%. These findings demonstrate that collaborative optimization of routing and loading shows potential to improve operational efficiency and resource utilization, as demonstrated in this case study under stability constraints. Furthermore, statistical analysis over 30 independent runs confirms that GLS-WSCPA achieves substantially lower standard deviation (1.22 vs. 4.27) and coefficient of variation (0.92% vs. 2.99%) compared to the traditional strategy, indicating superior solution stability. A Wilcoxon signed-rank test (two-tailed) further validates that this performance advantage is statistically significant ( W = 0 , p < 0.001 , rank-biserial correlation r = 1.000 ), confirming that the improvement is consistent and not attributable to random variation.

6. Conclusions

This study formulated the Three-Dimensional Loading-Constrained UAV Routing Problem (3DLC-UAVRP) and proposed GLS-WSCPA, a guided collaborative optimization framework that jointly addresses routing sequence optimization and three-dimensional loading feasibility under CoG stability constraints.
At the modeling level, the 3DLC-UAVRP encodes the transmission chain from customer visit sequence through LIFO loading order to three-dimensional parcel coordinates and static pre-takeoff CoG within a single formulation, making CoG feasibility a direct function of routing decisions rather than an external post hoc check.
At the algorithmic level, IWSO adapts the continuous White Shark Optimization to the discrete routing domain by introducing SPM chaotic initialization and a fitness-based hierarchical update strategy, which improves solution diversity and convergence stability relative to the original algorithm. HLDCPS addresses the conflict between LIFO unloading accessibility and left–right mass balance by distributing cargo across compartments during packing construction rather than treating these two requirements sequentially. These two components are coordinated through the CGPA–LLR mechanism: when a CoG violation cannot be repaired locally by LLR through parcel reorientation and cross-compartment relocation, CGPA identifies the responsible route segment and introduces it as a tabu constraint, redirecting the routing search away from infeasible regions. This feedback channel from loading evaluation back into route generation allows the framework to handle the coupling between routing decisions and loading outcomes within a single search process.
Experimental results demonstrate the effectiveness of the proposed framework. GLS-WSCPA generally achieves better results than the compared algorithms across the tested problem scales, with performance advantages becoming more pronounced as instance size increases. Ablation studies confirm the complementary roles of CGPA and LLR, and sensitivity analysis suggests that relaxing payload and CoG constraints tends to reduce routing distance, while maintaining acceptable stability margins. Case analysis further shows that GLS-WSCPA achieves a reduction in fleet size by 20% and in total delivery distance by 6.85% in the tested case study, with significantly lower solution variance.
Several limitations point to directions for future work. CoG constraints are currently enforced only in the pre-takeoff state; incorporating dynamic mass shift during parcel unloading and in-flight disturbances such as wind loading would bring the model closer to operational conditions. Extending the framework to stochastic demand environments and developing tighter theoretical lower bounds for the 3DLC-UAVRP also remain open for further investigation.

Author Contributions

Conceptualization, methodology, validation, and formal analysis: C.H. and M.Z.; resources: M.Z. and X.M.; data curation: C.H.; writing—original draft preparation: C.H.; writing—review and editing: C.H., M.Z. and J.Z.; visualization: C.H. and J.Z.; supervision: M.Z. and J.Z.; project administration: M.Z.; and funding acquisition: M.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Shandong Provincial Natural Science Foundation Innovation and Development Joint Fund (Grant No. ZR2025LZN022); supported by the Department of Transportation of Shandong Province (Grant No. 2023B74); supported by the Planning Research Project of Philosophy and Social Sciences of Jinan (Grant No. JNSK2025C080); supported by the Taishan Industrial Experts Program (Grant No. tscx202312132); and supported by China Academy of Engineering—Shandong Institute Strategic Consulting Project (Grant No. 202502SDZD06).

Data Availability Statement

The data used to support the findings of this study are available from the corresponding author upon request.

Acknowledgments

The authors would like to thank the School of Transportation and Logistics Engineering, Shandong Jiaotong University, for their administrative and technical support.

Conflicts of Interest

The authors declare no conflicts of interest. Author Jie Zhang is employed by Shandong Zhengqu Transportation Engineering Corporation. The company had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

References

  1. Bafouni-Kotta, A.; Villanueva, J.; Kalakou, S.; Dias, J.G. Upcoming Drone Delivery Services: A Perceptions-Based Clustering of Citizens in Lisbon. Technol. Soc. 2023, 73, 102250. [Google Scholar] [CrossRef]
  2. Garg, V.; Niranjan, S.; Prybutok, V.; Pohlen, T.; Gligor, D. Drones in Last-Mile Delivery: A Systematic Review on Efficiency, Accessibility, and Sustainability. Transp. Res. Part D Transp. Environ. 2023, 123, 103831. [Google Scholar] [CrossRef]
  3. Altinses, D.; Salazar Torres, D.O.; Schwung, M.; Lier, S.; Schwung, A. Optimizing Drone Logistics: A Scoring Algorithm for Enhanced Decision Making across Diverse Domains in Drone Airlines. Drones 2024, 8, 307. [Google Scholar] [CrossRef]
  4. Lu, S.-H.; Kuo, R.J.; Ho, Y.-T.; Nguyen, A.-T. Improving the Efficiency of Last-Mile Delivery with the Flexible Drones Traveling Salesman Problem. Expert Syst. Appl. 2022, 209, 118351. [Google Scholar] [CrossRef]
  5. Kim, S.; Moon, I. Traveling Salesman Problem with a Drone Station. IEEE Trans. Syst. Man Cybern. Syst. 2019, 49, 42–52. [Google Scholar] [CrossRef]
  6. Tiniç, G.O.; Karasan, O.E.; Kara, B.Y.; Campbell, J.F.; Ozel, A. Exact Solution Approaches for the Minimum Total Cost Traveling Salesman Problem with Multiple Drones. Transp. Res. Part B Methodol. 2023, 168, 81–123. [Google Scholar] [CrossRef]
  7. Wen, J.; Wang, F.; Su, Y. A Bi-Layer Collaborative Planning Framework for Multi-UAV Delivery Tasks in Multi-Depot Urban Logistics. Drones 2025, 9, 512. [Google Scholar] [CrossRef]
  8. Yurek, E.E.; Ozmutlu, H.C. A Decomposition-Based Iterative Optimization Algorithm for Traveling Salesman Problem with Drone. Transp. Res. Part C Emerg. Technol. 2018, 91, 249–262. [Google Scholar] [CrossRef]
  9. Mohiuddin, A.; Taha, T.; Zweiri, Y.; Gan, D. Dual-UAV Payload Transportation Using Optimized Velocity Profiles via Real-Time Dynamic Programming. Drones 2023, 7, 171. [Google Scholar] [CrossRef]
  10. Pasha, J.; Elmi, Z.; Purkayastha, S.; Fathollahi-Fard, A.M.; Ge, Y.-E.; Lau, Y.-Y.; Dulebenets, M.A. The Drone Scheduling Problem: A Systematic State-of-the-Art Review. IEEE Trans. Intell. Transp. Syst. 2022, 23, 14224–14247. [Google Scholar] [CrossRef]
  11. Cen, X.; Zhou, G.; Ji, B.; Yu, S.S.; Zhang, Z.; Fang, X. Modelling and Heuristically Solving Three-Dimensional Loading Constrained Vehicle Routing Problem with Cross-Docking. Adv. Eng. Inform. 2023, 57, 102029. [Google Scholar] [CrossRef]
  12. Chi, J.; He, S.; Song, R. Solving Capacitated Vehicle Routing Problem with Three-Dimensional Loading and Relocation Constraints. Comput. Oper. Res. 2025, 173, 106864. [Google Scholar] [CrossRef]
  13. Zhai, S.; Li, G.; Huang, P.; Hou, M. Civil Aircraft Weight and Center-of-Gravity Real-Time Estimation via the Six-Degree-of-Freedom Model with Variable Center of Mass. Appl. Math. Model. 2025, 144, 116063. [Google Scholar] [CrossRef]
  14. Liu, Y.; Jiang, X. Dynamic Feedback Algorithm Based on Spatial Corner Fitness for Solving the Three-Dimensional Multiple Bin-Size Bin Packing Problem. Complex Intell. Syst. 2024, 10, 4055–4081. [Google Scholar] [CrossRef]
  15. Truong, L.-H.; Chien, C.-F. Multi-Objective Multi-Population Simplified Swarm Optimization for Container Loading Optimization with Practical Constraints. Appl. Soft Comput. 2024, 165, 112038. [Google Scholar] [CrossRef]
  16. Chen, J.; Ye, F.; Li, Y. Travelling Salesman Problem for UAV Path Planning with Two Parallel Optimization Algorithms. In Proceedings of the 2017 Progress in Electromagnetics Research Symposium-Fall (PIERS-FALL); IEEE: New York, NY, USA, 2017; pp. 832–837. [Google Scholar]
  17. Raj, R.; Murray, C. The Multiple Flying Sidekicks Traveling Salesman Problem with Variable Drone Speeds. Transp. Res. Part C Emerg. Technol. 2020, 120, 102813. [Google Scholar] [CrossRef]
  18. Salama, M.R.; Srinivas, S. Collaborative Truck Multi-Drone Routing and Scheduling Problem: Package Delivery with Flexible Launch and Recovery Sites. Transp. Res. Part E Logist. Transp. Rev. 2022, 164, 102788. [Google Scholar] [CrossRef]
  19. Ha, Q.M.; Deville, Y.; Pham, Q.D.; Hà, M.H. On the Min-Cost Traveling Salesman Problem with Drone. Transp. Res. Part C Emerg. Technol. 2018, 86, 597–621. [Google Scholar] [CrossRef]
  20. Dorling, K.; Heinrichs, J.; Messier, G.G.; Magierowski, S. Vehicle Routing Problems for Drone Delivery. IEEE Trans. Syst. Man Cybern. Syst. 2017, 47, 70–85. [Google Scholar] [CrossRef]
  21. Konstantakopoulos, G.D.; Gayialis, S.P.; Kechagias, E.P.; Papadopoulos, G.A.; Tatsiopoulos, I.P. A Multiobjective Large Neighborhood Search Metaheuristic for the Vehicle Routing Problem with Time Windows. Algorithms 2020, 13, 243. [Google Scholar] [CrossRef]
  22. Jiang, H.; Zhang, Z.; Wang, C.; Xiang, X. A Multiobjective Evolutionary Algorithm Incorporating Neighborhood Detection for the Vehicle Routing Problem with Soft Time Windows. Complex Intell. Syst. 2025, 11, 419. [Google Scholar] [CrossRef]
  23. Song, B.; Xu, R. Electric Vehicle Routing Problem with Heterogeneous Energy Replenishment Infrastructures Under Capacity Constraints. Algorithms 2025, 18, 216. [Google Scholar] [CrossRef]
  24. Song, B.D.; Park, K.; Kim, J. Persistent UAV Delivery Logistics: MILP Formulation and Efficient Heuristic. Comput. Ind. Eng. 2018, 120, 418–428. [Google Scholar] [CrossRef]
  25. Cheng, C.; Adulyasak, Y.; Rousseau, L.-M. Drone Routing with Energy Function: Formulation and Exact Algorithm. Transp. Res. Part B Methodol. 2020, 139, 364–387. [Google Scholar] [CrossRef]
  26. Hà, M.H.; Nguyen, T.D.; Duy, T.N.; Pham, H.G.; Do, T.; Rousseau, L.-M. A New Constraint Programming Model and a Linear Programming-Based Adaptive Large Neighborhood Search for the Vehicle Routing Problem with Synchronization Constraints. Comput. Oper. Res. 2020, 124, 105085. [Google Scholar] [CrossRef]
  27. Zhang, X.; Chen, L.; Gendreau, M.; Langevin, A. A Branch-and-Cut Algorithm for the Vehicle Routing Problem with Two-Dimensional Loading Constraints. Eur. J. Oper. Res. 2022, 302, 259–269. [Google Scholar] [CrossRef]
  28. Zhang, H.; Ge, H.; Yang, J.; Tong, Y. Review of Vehicle Routing Problems: Models, Classification and Solving Algorithms. Arch. Comput. Methods Eng. 2022, 29, 195–221. [Google Scholar] [CrossRef]
  29. Liu, C.; Lyu, J.; Fang, K. Integrated Packing and Routing: A Model and Its Solutions. Comput. Oper. Res. 2024, 172, 106790. [Google Scholar] [CrossRef]
  30. Cuevas, E.; Luque, A.; Aguirre, N.; Navarro, M.A.; Rodríguez, A. Metaheuristic Optimization with Dynamic Strategy Adaptation: An Evolutionary Game Theory Approach. Phys. A Stat. Mech. Its Appl. 2024, 645, 129831. [Google Scholar] [CrossRef]
  31. Pei, J.; Mei, Y.; Liu, J.; Zhang, M.; Yao, X. Adaptive Operator Selection for Meta-Heuristics: A Survey. IEEE Trans. Artif. Intell. 2025, 6, 1991–2012. [Google Scholar] [CrossRef]
  32. Knypiński, Ł. Adaptation of the Penalty Function Method to Genetic Algorithm in Electromagnetic Devices Designing. COMPEL 2019, 38, 1285–1294. [Google Scholar] [CrossRef]
  33. Ferreira, K.M.; de Queiroz, T.A. A Simulated Annealing Based Heuristic for a Location-Routing Problem with Two-Dimensional Loading Constraints. Appl. Soft Comput. 2022, 118, 108443. [Google Scholar] [CrossRef]
  34. Meliani, Y.; Hani, Y.; Elhaq, S.L.; Mhamedi, A.E. A Tabu Search Based Approach for the Heterogeneous Fleet Vehicle Routing Problem with Three-Dimensional Loading Constraints. Appl. Soft Comput. 2022, 126, 109239. [Google Scholar] [CrossRef]
  35. Tseremoglou, I.; Bombelli, A.; Santos, B.F. A Combined Forecasting and Packing Model for Air Cargo Loading: A Risk-Averse Framework. Transp. Res. Part E Logist. Transp. Rev. 2022, 158, 102579. [Google Scholar] [CrossRef]
  36. Braik, M.; Hammouri, A.; Atwan, J.; Al-Betar, M.A.; Awadallah, M.A. White Shark Optimizer: A Novel Bio-Inspired Meta-Heuristic Algorithm for Global Optimization Problems. Knowl.-Based Syst. 2022, 243, 108457. [Google Scholar] [CrossRef]
  37. Khan, I.; Maiti, M.K. A Swap Sequence Based Artificial Bee Colony Algorithm for Traveling Salesman Problem. Swarm Evol. Comput. 2019, 44, 428–438. [Google Scholar] [CrossRef]
  38. Akhand, M.A.H.; Ayon, S.I.; Shahriyar, S.A.; Siddique, N.; Adeli, H. Discrete Spider Monkey Optimization for Travelling Salesman Problem. Appl. Soft Comput. 2020, 86, 105887. [Google Scholar] [CrossRef]
  39. Côté, J.F.; Guastaroba, G.; Speranza, M.G. The Value of Integrating Loading and Routing. Eur. J. Oper. Res. 2017, 257, 89–105. [Google Scholar] [CrossRef]
  40. Li, Y.; Yang, Z.; Zhang, S.; Liu, W. A Study of the Capacitated Vehicle Routing Problem with Time-Window and Three-Dimensional Loading Constraints in Land–Sea Transport. Sustainability 2024, 16, 10272. [Google Scholar] [CrossRef]
  41. Gendreau, M.; Iori, M.; Laporte, G.; Martello, S. A Tabu Search Algorithm for a Routing and Container Loading Problem. Transp. Sci. 2006, 40, 342–350. [Google Scholar] [CrossRef]
  42. Küçük, M.; Yildiz, S.T. Constraint Programming-Based Solution Approaches for Three-Dimensional Loading Capacitated Vehicle Routing Problems. Comput. Ind. Eng. 2022, 171, 108505. [Google Scholar] [CrossRef]
  43. Yin, X.; Yu, Z.; Liu, Y.; Chen, Y.; Guo, A. An Improved Approach for Vehicle Routing Problem with Three-Dimensional Loading Constraints Based on Genetic Algorithm and Residual Space Optimized Strategy. Processes 2025, 13, 1449. [Google Scholar] [CrossRef]
  44. Krebs, C.; Ehmke, J.F. Axle Weights in Combined Vehicle Routing and Container Loading Problems. EURO J. Transp. Logist. 2021, 10, 100043. [Google Scholar] [CrossRef]
Figure 1. Illustration of the 3DLC-UAVRP.
Figure 1. Illustration of the 3DLC-UAVRP.
Algorithms 19 00403 g001
Figure 2. Cartesian coordinate system and spatial configuration of the UAV cargo bay and parcels.
Figure 2. Cartesian coordinate system and spatial configuration of the UAV cargo bay and parcels.
Algorithms 19 00403 g002
Figure 3. Overall framework of the GLS-WSCPA algorithm.
Figure 3. Overall framework of the GLS-WSCPA algorithm.
Algorithms 19 00403 g003
Figure 4. Flowchart of IWSO algorithm path optimization.
Figure 4. Flowchart of IWSO algorithm path optimization.
Algorithms 19 00403 g004
Figure 5. Illustration of a decoding example under the SPV rule.
Figure 5. Illustration of a decoding example under the SPV rule.
Algorithms 19 00403 g005
Figure 6. Exchange mutation operator.
Figure 6. Exchange mutation operator.
Algorithms 19 00403 g006
Figure 7. Locking recombination operator. The symbol “*” denotes locked positions inherited from the global best route, while the orange squares represent unmatched customer nodes extracted for random permutation and reinsertion.
Figure 7. Locking recombination operator. The symbol “*” denotes locked positions inherited from the global best route, while the orange squares represent unmatched customer nodes extracted for random permutation and reinsertion.
Algorithms 19 00403 g007
Figure 8. HLDCPS Algorithm Loading Optimization Process.
Figure 8. HLDCPS Algorithm Loading Optimization Process.
Algorithms 19 00403 g008
Figure 9. Goods placement status.
Figure 9. Goods placement status.
Algorithms 19 00403 g009
Figure 10. Flowchart of the CGPA–LLR constraint integration and feedback mechanism.
Figure 10. Flowchart of the CGPA–LLR constraint integration and feedback mechanism.
Algorithms 19 00403 g010
Figure 11. Example of attitude variation operator.
Figure 11. Example of attitude variation operator.
Algorithms 19 00403 g011
Figure 12. Example of cross-compartment migration operator.
Figure 12. Example of cross-compartment migration operator.
Algorithms 19 00403 g012
Figure 13. Optimal paths for IWSO solutions to examples berlin52, eil76, kroA100, and pr152.
Figure 13. Optimal paths for IWSO solutions to examples berlin52, eil76, kroA100, and pr152.
Algorithms 19 00403 g013
Figure 14. Comparison of three-dimensional loading structures of HLDCPS and SCLS strategies.
Figure 14. Comparison of three-dimensional loading structures of HLDCPS and SCLS strategies.
Algorithms 19 00403 g014
Figure 15. Comparative route maps of four algorithms when n = 50.
Figure 15. Comparative route maps of four algorithms when n = 50.
Algorithms 19 00403 g015
Figure 16. Path structure of different schemes when n = 75.
Figure 16. Path structure of different schemes when n = 75.
Algorithms 19 00403 g016
Figure 17. Comparison of total routing distance between the traditional strategy and GLS-WSCPA algorithm across 30 independent runs.
Figure 17. Comparison of total routing distance between the traditional strategy and GLS-WSCPA algorithm across 30 independent runs.
Algorithms 19 00403 g017
Figure 18. Comparison of drone delivery route structures.
Figure 18. Comparison of drone delivery route structures.
Algorithms 19 00403 g018
Table 1. Notation and parameter definitions.
Table 1. Notation and parameter definitions.
TypeNotationDefinitions
Parameters c i i Distance from node i to node i
G Maximum payload capacity of the UAV
I i k The k -th cargo of customer i
d i k Weight of the k -th cargo I i k
l i k , w i k , h i k Length, width, and height of the cargo I i k
v i k Volume of the cargo I i k
I l , I r Collection of customer nodes whose cargoes are placed in the left ( I l ) or right ( I r ) loading zone
a 1 , a 2 Safe interval of the center of gravity along the X -axis
b 1 , b 2 Safe interval of the center of gravity along the Y -axis
c 1 , c 2 Safe interval of the center of gravity along the Z -axis
M A sufficiently large positive number
g s a f e Threshold for the center of gravity deviation
Decision making variables α i i p 1 ,   I n d i c a t   t h a t   U A V   p   t r a v e l s   f r o m   n o d e   i   t o   n o d e   i 0 ,   O t h e r w i s e
b i p 1 ,   I n d i c a t   t h a t   c u s t o m e r   i   i s   s e r v e d   b y   U A V   p 0 ,   O t h e r w i s e
δ i k 1 ,   I n d i c a t   t h a t   c a r g o   I i k   i s   p l a c e d   i n   t h e   r i g h t   z o n e   I r 0 ,   I n d i c a t   t h a t   c a r g o   I i k   i s   p l a c e d   i n   t h e   l e f t   z o n e   I l
S i Z + Visitation sequence index of customer i in the route (1, 2, …)
λ i k , i k d i r 1 ,   C a r g o   I i k   i s   p l a c e d   t o   t h e   d i r   o f   c a r g o   I i k 0 ,   O t h e r w i s e , d i r L e f t , R i g h t , F r o n t , B a c k , U n d e r , T o p
ξ i k , i k 1 , I i k   i s   p l a c e d   t o   t h e   d i r   o f   c a r g o   I i k I n d i c a t e   t h a t   p a r c e l s   I i k , I i k   h a v e   o v e r l a p p i n g   p r o j e c t i o n s   o n   t h e   Y Z   p l a n e 0 ,   O t h e r w i s e
ξ i i 1 , S i < S i 0 ,   O t h e r w i s e
Table 2. Parameter settings for GLS-WSCPA.
Table 2. Parameter settings for GLS-WSCPA.
ParameterDescriptionValue
W , L , H The cargo bay width, length, height90 cm, 90 cm, 80 cm
G Maximum payload capacity of the UAV12 kg
g s a f e Threshold for the CoG deviation10 cm
N p o p Population size30
T m a x Maximum number of iterations500
f Scaling factor0.67
A 0 The initial perturbation amplitude2.0
a 0 , a 1 Control parameters5, 50
Layering threshold ratio0.3
Table 3. Experimental results of IWSO and other algorithms.
Table 3. Experimental results of IWSO and other algorithms.
No.InstanceABCSSDSMOWSOIWSO
1burma1430.8730.8730.8730.87
2ulysses1673.9973.9986.3373.99
3ulysses2275.3175.3180.1575.31
4eil51428.98428.86463.21426
5berlin527544.377544.378031.217542
6st70682.57677.11693.36675
7eil76550.24558.68555.49538
8pr76108,879.7108,159.4108,409108,159
9kroA10021,29921,298.2121,45921,282
10kroB10022,229.7122,30824,10922,141
11rd1007944.328041.380627940
12eil101646.05648.66701.6629
13pr10744,525.6844,385.8646,587.4644,438
14pr12459,030.7460,285.2161,235.1259,030
15pr13697,853.9197,538.68102,68098,494
16gr137713.91709.48736.89711.53
17kroA15026,981.9827,591.4428,693.7326,524
18kroB15026,760.7926,601.9428,125.2326,350.34
19pr15274,337.6274,243.9176,321.1573,682
20d19816,270.2215,978.1316,350.5616,061
21kroA20030,701.8630,481.3531,02529,723
22kroB20031,508.8530,716.532,545.730,451.3
23gr202507.27501.83512.36491
24tsp2254140.244013.684537.244011
25pr22682,26683,587.9885,421.1181,264
26gr2291713.541683.4517331680.41
27gil2622526.992543.1528532431
28pr29950,265.8850,579.8251,208.1650,168.32
29lin31845,135.544,118.6650,12443,178
30fl41712,356.4412,218.9813,96611,978.32
Table 4. Comparative results on the Solomon–Gendreau R101 hybrid benchmark instance.
Table 4. Comparative results on the Solomon–Gendreau R101 hybrid benchmark instance.
Routing DistanceWilcoxon Signed-Rank Tests
ScalesMethodBestMeanStdvs. GLS-WSCPA
n = 25GLS-WSCPA309.42 311.79 1.15 -
CP-EA305.81 306.57 0.38 <0.682
RSO-IGA310.45 314.12 2.12 <0.05
ALNS-DBLF313.20 316.47 1.95 <0.01
n = 50GLS-WSCPA489.12 492.58 1.42 -
CP-EA524.35 534.28 7.15 <0.05
RSO-IGA516.82 524.30 5.34 <0.01
ALNS-DBLF552.40 561.37 4.82 <0.001
n = 75GLS-WSCPA768.45 772.26 2.05 -
CP-EA815.12 838.54 13.85 <0.001
RSO-IGA806.34 829.78 11.42 <0.001
ALNS-DBLF851.65 869.27 9.35 <0.001
n = 100GLS-WSCPA1391.54 1398.92 5.82 -
CP-EA1558.40 1602.60 14.12 <0.001
RSO-IGA1485.12 1544.63 9.45 <0.001
ALNS-DBLF1668.75 1695.85 16.20 <0.001
Table 5. Comparative results on the Solomon-Gendreau C101 hybrid benchmark instance.
Table 5. Comparative results on the Solomon-Gendreau C101 hybrid benchmark instance.
ScalesIndicatorBaselineNo CGPANo LLRGLS-WSCPA
n = 25Fleet size3333
total routing distance254.05 **244.75 *244.96 *240.20
CoG deviation8.989.449.488.45
n = 50Fleet size4444
total routing distance404.34 ***369.82 **370.28 **361.81
CoG deviation8.829.339.779.14
n = 75Fleet size6666
total routing distance742.04 ***723.00 ***668.73 *659.27
CoG deviation9.159.249.319.06
n = 100Fleet size9999
total routing distance1097.16 ***997.11 ***913.74 *903.13
CoG deviation9.309.559.689.52
* denotes results of one-tailed Wilcoxon signed-rank tests vs. GLS-WSCPA (30 paired runs): * p < 0.05, ** p < 0.01, *** p < 0.001.
Table 6. Total route distance under different load factors.
Table 6. Total route distance under different load factors.
ScaleThe Payload CoefficientTotal Routing DistanceScaleThe Payload CoefficientTotal Routing Distance
250.8278.18750.8687.84
251241.12751660.13
251.2186.07751.2590.91
251.4166.67751.4548.41
251.6166.24751.6495.99
500.8408.191000.81037.64
501360.191001902.65
501.2344.361001.2730.39
501.4335.661001.4608.29
501.6320.451001.6582.38
Table 7. Total path distance under different centroid offset coefficients.
Table 7. Total path distance under different centroid offset coefficients.
ScaleCoG Deviation CoefficientsTotal Routing DistanceScaleCoG Deviation CoefficientsTotal Routing Distance
250.8355.10750.8-
251241.12751660.13
251.2231.71751.2651.67
251.4225.49751.4645.80
251.6214.16751.6645.35
500.8435.961000.8-
501360.191001902.65
501.2359.091001.2779.29
501.4353.471001.4767.69
501.6339.261001.6766.02
Table 8. Fleet size and total routing distance under different strategies.
Table 8. Fleet size and total routing distance under different strategies.
StrategyFleet SizeTotal Routing DistanceSDCV
Traditional5143.004.272.99%
GLS-WSCPA4133.201.220.92%
Note: Results are reported over 30 independent runs. A Wilcoxon signed-rank test (two-tailed) confirms a statistically significant difference between the two strategies ( W = 0 , p < 0.001 , rank-biserial correlation r = 1.000 ).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Han, C.; Zhang, M.; Zhang, J.; Ma, X. A Guided Collaborative Optimization Framework for the Stability-Constrained UAV Routing and Three-Dimensional Loading Problem. Algorithms 2026, 19, 403. https://doi.org/10.3390/a19050403

AMA Style

Han C, Zhang M, Zhang J, Ma X. A Guided Collaborative Optimization Framework for the Stability-Constrained UAV Routing and Three-Dimensional Loading Problem. Algorithms. 2026; 19(5):403. https://doi.org/10.3390/a19050403

Chicago/Turabian Style

Han, Changhui, Mengmeng Zhang, Jie Zhang, and Xiaolong Ma. 2026. "A Guided Collaborative Optimization Framework for the Stability-Constrained UAV Routing and Three-Dimensional Loading Problem" Algorithms 19, no. 5: 403. https://doi.org/10.3390/a19050403

APA Style

Han, C., Zhang, M., Zhang, J., & Ma, X. (2026). A Guided Collaborative Optimization Framework for the Stability-Constrained UAV Routing and Three-Dimensional Loading Problem. Algorithms, 19(5), 403. https://doi.org/10.3390/a19050403

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop