1. Introduction
The logistics industry plays a pivotal role in the global economy and is currently undergoing an accelerated transition towards green and low-carbon operations. In the context of sustainable logistics, the simultaneous optimization of vehicle routing and cargo loading is crucial for enhancing transportation efficiency, minimizing operational costs, and reducing carbon emissions. In particular, shorter travel distances directly contribute to lower energy consumption and greenhouse gas emissions in freight transport. Improving the vehicle loading rate allows for consolidating more requests into fewer trips. This directly translates to a reduction in the total number of vehicles and travel distance, thereby significantly lowering fuel consumption and the overall carbon footprint of logistics operations.
In addition to cost and emission reduction, transport safety and cargo integrity are critical in real-world freight operations. During the transportation of goods, damage and destruction of the transported cargo constitute a very large share of the damage dealt. The most common direct cause of damage is improper arrangement and securing of the transported load. An improperly secured load may pose a threat to the transporters and bystanders. In practice, typical fastening measures include block mounting, locking, top-over lashings, fastening with straight lashings, and fastening with straight lashings. These practical considerations further motivate the inclusion of stability- and feasibility-oriented three-dimensional loading constraints in integrated routing decisions [
1].
The one-to-many pickup and delivery vehicle routing problem with three-dimensional loading constraints (3L-PDVRP) represents a fundamental challenge in modern distribution systems. In this problem, each pickup customer may generate multiple delivery nodes, and all associated boxes must be transported by the same vehicle and feasibly arranged within a three-dimensional loading space. To visualize this one-to-many constraint, consider a practical operational example: A pickup node needs to send 2 items, where item 1 is destined for delivery point A and item 2 for delivery point B. Under the one-to-many constraint, a single vehicle is required to pick up both items simultaneously at the source and then deliver them to the respective destinations. This strict vehicle consistency distinguishes our problem from the traditional split delivery vehicle routing problem (VRP), where the transport of these items could potentially be divided among multiple vehicles.
Unlike standard vehicle routing problems, the one-to-many 3L-PDVRP must simultaneously satisfy routing constraints, precedence relations between pickup and delivery nodes, and realistic loading requirements such as stacking, stability, and fragility limits. Managing the trade-off between service quality, routing cost, and three-dimensional loading feasibility in such a high-dimensional combinatorial optimization setting remains a central hurdle for improving logistics efficiency.
The three-dimensional loading capacitated vehicle routing problem (3L-CVRP) model proposed by Gendreau et al. [
2] laid the theoretical foundation for the integrated study of vehicle routing and cargo loading. Since then, various metaheuristic approaches, such as ant colony optimization (ACO) [
3] and genetic algorithms (GAs) [
4], have been widely adopted to tackle these non-deterministic polynomial-time hard (NP-hard) problems. More recent studies have begun to integrate loading procedures into the routing search process, thereby going beyond purely sequential or decoupled strategies. Nevertheless, most existing research still focuses on one-to-one pickup and delivery problems [
5,
6]. Integrated optimization studies targeting one-to-many pickup and delivery scenarios remain scarce. Furthermore, the interaction between routing decisions and three-dimensional loading is often handled through relatively coarse feasibility checks or penalty functions.
Against this background, three main research gaps remain from the perspective of sustainable one-to-many distribution operations. First, existing three-dimensional load-constrained pickup and delivery models and benchmarks are predominantly designed for one-to-one requests and cannot directly capture one-to-many patterns in which the boxes of a pickup customer are delivered to multiple receivers. Second, although routing and loading have been combined in several heuristic frameworks, there is still a lack of solution methods that provide fine-grained, dynamic feedback from the three-dimensional loading feasibility check to the routing search at each route modification.
To address these challenges, this paper proposes a deeply coupled hybrid genetic algorithm (HGA) for the one-to-many 3L-PDVRP. The algorithm tightly integrates the three-dimensional loading verification procedure into the iterative routing search through a dynamic loading feasibility mechanism. In each generation, candidate routes are evaluated by an embedded three-dimensional loading module. The module checks the feasibility of box placements and triggers adaptive reinsertion and repair moves when infeasibilities occur. This design provides continuous feedback from the loading stage to the routing stage and guides the search toward solutions that are simultaneously efficient and physically feasible. Furthermore, this method was evaluated on an extended benchmark dataset derived from the well-known 3L-PDVRP instance, demonstrating outstanding routing-performance metrics.
The main contributions of this study are summarized as follows:
A one-to-many 3L-PDVRP is formalized, in which each pickup request can be served by a single vehicle and split into multiple delivery locations while respecting realistic three-dimensional loading constraints. This problem setting better reflects practical distribution scenarios with consolidated pickups and multiple receivers.
A deeply coupled HGA is developed that seamlessly integrates routing optimization with real-time three-dimensional loading feasibility verification. A dynamic feedback mechanism adaptively adjusts route modification and reinsertion strategies based on loading outcomes, thereby ensuring that the solutions generated during the search simultaneously satisfy routing objectives and strict loading feasibility requirements.
Extensive computational experiments on an extended benchmark set demonstrate that the proposed method achieves shorter travel distances, greater vehicle utilization, and improved loading efficiency compared with existing approaches. The method demonstrates substantial contributions to sustainability by effectively reducing transportation costs, enhancing operational efficiency, and mitigating environmental impact.
The remainder of this paper is organized as follows:
Section 2 reviews the literature relevant to this study and summarizes the limitations of existing research.
Section 3 presents the mathematical formulation of the one-to-many 3L-PDVRP.
Section 4 provides a detailed description of the proposed HGA and its integrated loading verification mechanism.
Section 5 presents the experimental results and a comparative analysis with existing methods. Finally,
Section 6 summarizes the main conclusions and outlines directions for future research.
2. Literature Review
In the context of sustainable development, the optimization of vehicle routing and cargo loading has become one of the core challenges in modern logistics management. As logistics scenarios evolve in complexity, the 3L-PDVRP, and in particular the one-to-many 3L-PDVRP, has emerged as an important research topic. To provide a solid theoretical foundation for this study, this section reviews the basic models underlying the 3L-PDVRP, analyzes the evolution of solution methodologies from layered strategies to more integrated frameworks, and identifies the remaining research gaps regarding scenario adaptability and algorithmic coupling.
2.1. Theoretical Foundations
The 3L-PDVRP is fundamentally the intersection of two NP-hard problems: the VRP and three-dimensional loading. The Pickup and Delivery Vehicle Routing Problem (PDVRP) extends the classical VRP by coupling pickup and delivery activities into a single route. Savelsbergh and Sol [
7] formalized this problem, distinguishing it from the classical VRP and providing a comprehensive mathematical formulation. Parragh et al. [
8] further taxonomized the PDVRP into three distinct categories: the unpaired VRP with pickup and delivery, the paired pickup and delivery problem (PDP), and the dial-a-ride problem (DARP), which accounts for user inconvenience. From a sustainability perspective, efficient solutions to PDVRP-type problems are critical for minimizing empty miles and improving fleet utilization in distribution systems.
In parallel to routing, three-dimensional loading addresses the physical reality of placing items inside a finite loading space. Unlike simplified one-dimensional models that only consider weight or volume, three-dimensional loading requires the regular and ordered arrangement of cargo within a three-dimensional space. This process must satisfy multiple complex physical constraints, including orthogonality, fragility, vertical support, item rotation, and loading/unloading sequence (LIFO) [
9,
10,
11,
12]. All items must be fully contained within the vehicle compartment and maintain stability during transportation. These loading constraints restrict the set of feasible routing plans and thus cannot be ignored in realistic applications.
The integration of these two domains was pioneered by Gendreau et al. [
2] through the proposal of the 3L-CVRP model. Subsequent research has focused on algorithmic improvements and problem extensions using various exact and meta-heuristic approaches. These methods include branch-and-cut algorithms [
13], GA [
14], ACO [
15], simulated annealing (SA) [
16], tabu search (TS) [
17], and memetic algorithm (MA) [
18]. Chen et al. [
19] investigated the 3L-CVRP with split deliveries, allowing a customer’s demand to be served by multiple vehicles. However, this differs fundamentally from the one-to-many pattern, where a single vehicle must perform multiple drops for one pickup. These contributions have established a rich methodological foundation for 3L-CVRP. Most of these models and benchmarks are still designed for one-to-one pickup and delivery structures and do not directly capture one-to-many request patterns in which the boxes of a pickup customer are delivered to multiple receivers.
2.2. Solution Methodologies
Methodologies for solving the 3L-CVRP and its PDVRP variants can be broadly categorized into two strategic streams: layered approaches and coupled approaches.
In layered approaches, routing and loading are treated as related but distinct sub-problems. In this paradigm, vehicle routes are generated first, often neglecting detailed three-dimensional constraints or representing them by simplified approximations. Subsequently, a detailed feasibility check is performed on the fixed route sequence to ensure compliance with loading constraints. If the check fails, the route is adjusted, and the process iterates. In their pioneering work, Gendreau et al. [
2] employed a Tabu Search algorithm that treats routing and loading as two distinct layers to solve the 3L-CVRP. Similarly, Fuellerer et al. [
3] proposed an ACO approach where candidate routes are constructed first and subsequently verified to ensure feasibility, iteratively converging on an optimal solution. Escobar-Falcon et al. [
20] explicitly decomposed the 3L-CVRP into separate 3D loading and vehicle routing sub-problems. Koch et al. [
21] extended this to the PDVRP, formulating it as an integrated transport and packing problem to strictly avoid cargo reloading after placement. Although layered methods are conceptually simple and easy to implement, they suffer from a fundamental disconnect between routing optimality and loading feasibility. This often leads to a high rejection rate of routes during the loading phase, resulting in low search efficiency and difficulty in attaining global near-optimal solutions.
To overcome the limitations of sequential approaches, advanced coupled methods have been developed to optimize vehicle routing and 3D loading simultaneously. These methods typically rely on sophisticated hybrid meta-heuristics. Bortfeldt [
22] demonstrated the advantages of a hybrid algorithm combining Tabu Search with Tree Search in terms of both solution quality and efficiency. Ruan et al. [
23] designed a hybrid algorithm based on honey bee mating optimization (HBMO), utilizing a combination of six packing heuristics to solve the 3D loading sub-problem. Cordeau et al. [
24] formally introduced the last-in-first-out (LIFO) constraint into the 3L-CVRP model, while Männel and Bortfeldt [
25] addressed a no-reloading constraint for point-to-point pickup and delivery scenarios. Furthermore, additional constraints such as Time Windows [
19,
26,
27] and product compatibility [
28] have been progressively integrated into the 3L-PDVRP framework.
These integrated approaches represent an important step toward more realistic modeling of logistics operations, as they allow the routing search to be informed by loading feasibility checks and packing outcomes. Nevertheless, several limitations remain for complex one-to-many distribution systems. First, most existing models and benchmark instances still focus on one-to-one pickup and delivery problems and cannot directly represent one-to-many requests where boxes from a single pickup customer are delivered to multiple destinations by the same vehicle. Second, in many integrated frameworks, the interaction between routing and loading is implemented through coarse penalty terms or occasional feasibility checks, rather than through dynamic feedback at each local route modification. This may limit the ability of the search process to fully exploit the structure of three-dimensional loading constraints.
In summary, existing studies have provided valuable insights into integrated routing-and-loading optimization through both layered and coupled metaheuristics. Nevertheless, the one-to-many pickup and delivery setting with strict three-dimensional loading feasibility is still insufficiently explored, and the interaction between routing decisions and loading feasibility is often handled via occasional checks or coarse penalty terms. These gaps motivate the development of algorithms that maintain fine-grained, real-time loading feedback during route modifications.
Motivated by these gaps, this paper proposes a deeply coupled HGA for the one-to-many 3L-PDVRP. During the search process, the algorithm provides a tightly coupled and dynamically updated feedback mechanism between feasibility assessment and route planning decisions. This study aims to provide a more practical and refined solution for the integrated routing and loading domain, thereby significantly enhancing both the efficiency and safety of logistics distribution.
3. Model
3.1. Problem Description
This paper investigates a distribution scenario that is frequently encountered in practice. A homogeneous fleet of vehicles is used to serve a set of customers with pickup and delivery demands. Each vehicle route starts from and returns to a central depot and visits a sequence of pickup and delivery nodes. The objective is to construct a set of feasible routes that satisfy all pickup–delivery requirements and three-dimensional loading constraints, while minimizing the total travel distance and making efficient use of the vehicle loading capacity.
Let be a complete directed graph. The node set comprises the depot, pickup nodes, and delivery nodes. Specifically, node represents the depot, where all vehicle routes must originate and terminate. Let denote the set of pickup nodes, and denote the set of delivery nodes. For each delivery node , let be its associated pickup node. To reflect the one-to-many operational mode, a single pickup node may correspond to multiple delivery nodes, so that in general and typically . The arc set represents the directed connections between nodes. Each arc is associated with a travel distance , where we assume symmetry such that .
Let represent the set of homogeneous distribution vehicles. Each vehicle is homogeneous and has a rectangular loading space with length , width , and height , and a maximum payload capacity .
Each pickup node is associated with a set of items , where represents the indices of items at pickup node . Each item is assigned a specific delivery node . The dimensions of item are defined by length , width , and height , with a weight of . Each item is also associated with a fragility attribute (fragile or non-fragile) and may be rotated by 90° in the horizontal plane during the loading process.
Figure 1 illustrates an example of the vehicle distribution network structure. Node
denotes the depot;
represent pickup nodes, and
denote delivery nodes. For instance,
and
are two different delivery locations corresponding to pickup node
. The network depicts a closed-loop routing pattern for three vehicles: Vehicle 1 follows the route
; Vehicle 2 follows
; and Vehicle 3 follows
. These illustrate the one-to-many pickup–delivery relationships and the closed-loop routing pattern.
3.2. Model Parameters
For clarity and ease of reference, the key notations, decision variables, and parameters employed in the mathematical formulation are summarized in
Table 1.
3.3. Mathematical Model
3.3.1. Objective Function
The primary objective is to minimize the total travel distance across all deployed vehicles:
3.3.2. Loading Constraint
Fragility Constraint: If item
is fragile (
), and item
is non-fragile (
), then the fragile item must be placed on top:
The term functions as a conditional activation mechanism for the constraint. When both item and item are assigned to the same vehicle , the penalty term vanishes, strictly enforcing that the fragile item must be placed above the non-fragile one. Conversely, if either request is not served by vehicle , the large constant makes the right-hand side sufficiently small, rendering the inequality redundant.
- 2.
Stacking Constraint: If item
is stacked on top of item
(
), then the contact area between items
and
must meet a certain proportion of the bottom area of each item. This constraint is calculated by computing the overlapping area of the two items’ projections on the horizontal plane. To present this more intuitively, the
and
two-dimensional projection diagrams of items
and
loaded on vehicle
are shown in
Figure 2. In these diagrams,
and
represent the placement coordinates of the two items:
The overlap lengths in the
and
directions are:
The overlapping area
is:
The stability constraint is thus formulated as:
where
is the minimum support ratio, defined as the proportion of the upper item’s base area that must be supported by the lower items. For the stacking stability constraint, the minimum support ratio was set to
.
- 3.
Orientation Constraint: Items are allowed to rotate 90° within the horizontal plane. Vertical rotation is prohibited to strictly adhere to “This Way Up” constraints common in logistics, ensuring the structural integrity of fragile goods and maintaining a low center of gravity for transport stability. The projection dimensions on the coordinate axes are determined by the orientation in which the item is placed in vehicle
, and are specifically defined by the following formula:
- 4.
Boundary Constraints: Items must be placed within the vehicle’s cargo dimensions and coordinates must be non-negative:
- 5.
Weight Constraint: The total weight of loaded items on any vehicle
must not exceed its capacity
:
- 6.
Volume Constraint: The total volume of loaded items must not exceed the vehicle’s volume limit:
- 7.
Non-overlapping Constraint: Any two boxes placed in the same vehicle’s loading space must not overlap:
3.3.3. Route Constraint
Node Visit Constraint: Each customer node must be served by only one vehicle once.
Depot Constraints: Every vehicle route must start and end at the depot:
Flow Balance Constraint: After a vehicle services a node, it must leave the node.
Pickup-Delivery Sequence Constraint: This constraint ensures the precedence relationship between pickup and delivery operations. Specifically, for any delivery node
, let
denote its associated pickup node. If vehicle
serves this request, the pickup node must be visited before the delivery node.
This constraint ensures that when and , we have .
- 5.
Subtour Elimination Constraint: Ensures that the order of nodes visited by a vehicle is strictly increasing along its route, eliminating any possible subtours.
- 6.
One-to-Many Vehicle Consistency Constraint: All delivery nodes corresponding to the same pickup node must be serviced by the same vehicle.
- 7.
Vehicle Travel Distance Constraint: The travel distance of the vehicle cannot exceed the maximum allowed travel distance.
- 8.
Vehicle Quantity Constraint: The number of vehicles used cannot exceed the maximum vehicle quantity.
4. Methods
To address the one-to-many 3L-PDVRP, this paper proposes a deeply coupled HGA. The algorithm adopts a grouping-based chromosome representation for vehicle routes and embeds a three-dimensional loading verification module into the evolutionary search. In each generation, candidate routing solutions are evaluated by a route-and-loading procedure that checks loading feasibility, attempts repair when infeasibilities occur, and incorporates loading outcomes into the fitness value. In this way, routing optimization and loading verification interact in a closed-loop manner.
In Algorithm 1, the function
is the key component that couples routing optimization with three-dimensional loading verification. It calls the loading algorithm described in
Section 4.3 to check the feasibility of the generated routes and performs loading-aware repair or penalization based on the outcomes.
| Algorithm 1: Hybrid Genetic Algorithm |
Input: Population size , Maximum generations , Mutation rate , Crossover rate , Elitism count Output: Best solution |
- 1.
InitializePopulation() - 2.
EvaluatePopulation() - 3.
GetFittest() - 4.
for to do - 5.
- 6.
//Elitism Strategy - 7.
for to do - 8.
. Add (GetFittest(, )) - 9.
end for - 10.
//Evolutionary process in current generation - 11.
while < do - 12.
, SelectParents() - 13.
//Crossover - 14.
if rand() < then - 15.
, Crossover(, ) - 16.
else - 17.
- 18.
- 19.
end if - 20.
//Adaptive route-reconstruction mutation with hybrid insertion - 21.
AdaptiveMutation(, , ) - 22.
AdaptiveMutation(, , ) - 23.
// Deeply coupled three-dimensional loading verification and feedback repair - 24.
if not IsValidLoading() then - 25.
LoadingAwareRepair() - 26.
end if - 27.
if not IsValidLoading() then - 28.
LoadingAwareRepair() - 29.
end if - 30.
//Fitness evaluation with loading penalties - 31.
EvaluateRouteAndLoading() - 32.
EvaluateRouteAndLoading() - 33.
.add(, ) - 34.
end while - 35.
- 36.
GetFittest() - 37.
if Fitness() > Fitness( then - 38.
- 39.
end if - 40.
end for - 41.
return
|
4.1. Overall Framework Design
The core concept of this algorithm is based on dynamic interaction between route optimization and loading verification. Conventional methods typically address these two subproblems separately, often leading to solutions that are impractical during actual loading. The proposed algorithm incorporates dynamic loading verification at each critical stage of genetic evolution, ensuring that the resulting delivery plans are both route efficient and operationally feasible.
The algorithmic framework is shown in
Figure 3, with the overall process consisting of:
Outer-layer route optimization: A Grouping Genetic Algorithm (GGA) framework is used, where the population is divided into subpopulations that evolve independently, exploring the optimal route space.
Inner-layer loading verification: Real-time loading feasibility checks are performed to ensure that each generated route solution satisfies the 3D loading constraints. Loading verification is triggered whenever a new route is generated; if loading is infeasible, the route is adjusted through fitness penalties and route repair mechanisms.
Deep Coupling Mechanism: Load feasibility acts as the core indicator for fitness evaluation. Route optimization and load verification are tightly interwoven during fitness calculation, thereby forming a closed-loop feedback mechanism.
4.2. Route Optimization Algorithm
The route construction algorithm uses a hybrid genetic algorithm based on the GGA framework. This approach integrates route optimization with 3D loading verification, using outer-layer genetic operations to explore the route space and embedding inner-layer loading checks during fitness evaluation to ensure the practical feasibility of solutions.
4.2.1. Chromosome Encoding and Population Initialization
A grouping-based encoding strategy is used. Each chromosome represents a complete delivery plan with multiple genes. As illustrated in
Figure 4, a single gene represents the complete travel route of a delivery vehicle, encoded so that the depot serves as both the starting and ending nodes, with visits to pickup nodes and their corresponding delivery nodes occurring sequentially. This coding approach inherently satisfies the constraint that pickup nodes must be visited before their corresponding delivery nodes.
This encoding method has three advantages: first, it naturally captures the grouping characteristics of vehicle routing problems, since each gene represents a group of customers assigned to the same vehicle; second, the variable-length chromosome design allows different numbers of vehicles to be used, which is suitable for problems with flexible fleet sizes; third, the encoding structure ensures that pickup nodes are visited before their corresponding delivery nodes.
Population initialization uses an incremental construction method to generate diverse initial feasible solutions. The steps are as follows:
During initialization, all pickup nodes are randomly sorted;
Each pickup node and its associated delivery node are sequentially inserted into the current route structure;
During insertion, a greedy algorithm selects the insertion position that minimizes the cost increase for each pickup node;
If the existing route cannot accommodate a new pickup node, a new vehicle route is created.
This method guarantees the feasibility of the initial solutions while ensuring population diversity through random sorting.
4.2.2. Fitness Function
The fitness function uses a weighted summation method, combining route length and constraint violation penalties. The core calculation involves subtracting the total route cost from a fixed baseline, so that solutions with shorter routes and fewer constraint violations have higher fitness. The total route cost consists of the driving distance and constraint violation penalties. The penalty components include penalties for unserved customers and loading infeasibility. The unserved customer penalty is calculated based on the number of unserved customers, ensuring the algorithm prioritizes fulfilling all service demands. The loading infeasibility penalty carries a high weight, forcing the algorithm to seek feasible solutions that satisfy the three-dimensional loading constraints.
The mathematical expression for the fitness function is provided as follows:
where
is a fixed baseline value,
denotes the total distance traveled by the vehicle, and
and
are penalty coefficients corresponding to penalties for failing to serve customers and for loading infeasibility, respectively. The values were fixed at
and
to establish a strict hierarchy of objectives: loading feasibility > service completeness > distance minimization.
4.2.3. Genetic Operator Design
Selection operation: A strategy combining tournament selection and elite retention is used. Tournament selection randomly selects a fixed number of individuals, choosing the highest-fitness ones as parents. The elite retention strategy preserves the optimal individuals from the current generation for the next generation.
Crossover operation: A grouping-preserving crossover algorithm is used. Gene fragments are selected from the parent generation and inserted into the offspring generation. Conflicting pickup/delivery nodes are removed from the offspring generation, and the chromosome is repaired. The repair process uses a greedy insertion strategy, reinserting unassigned customers into the route.
Mutation operation: A route reconstruction mutation is used. Non-empty genes are randomly selected, and their customer nodes are cleared, then redistributed using a hybrid insertion strategy. The mutation probability uses an adaptive mechanism, maintaining a higher mutation rate during early evolution to enhance exploration and gradually decreasing it later to strengthen local search.
4.2.4. Hybrid Insertion Strategy
The hybrid insertion strategy dynamically adjusts the ratio of greedy to regret insertion based on the evolutionary stage. The greedy insertion algorithm calculates the cost of all feasible insertion positions for each pending customer and selects the position with the smallest cost increase. The regret insertion algorithm introduces a forward-looking mechanism, considering the current insertion cost and evaluating the impact of decisions on subsequent operations. The Regret-2 algorithm calculates the cost difference between the optimal and suboptimal insertion positions. The Regret-3 algorithm further considers the cost relationships among the top three optimal insertion positions. During the early evolutionary phase, regret insertion predominates to enhance global exploration. In the later evolutionary phase, the proportion of greedy insertion increases to accelerate convergence to high-quality solutions.
4.3. Three-Dimensional Loading Algorithm
The three-dimensional loading algorithm ensures cargo meets spatial constraints within the vehicle compartment through dynamic simulation, maximum space partitioning, multi-strategy box placement, and strict constraint management. This algorithm collaborates with the route construction algorithm to ensure the practical feasibility of delivery solutions.
The spatial partitioning algorithm uses the maximum space method for three-dimensional space division, as shown in
Figure 5. After placing a box, the algorithm generates new residual spaces in three orthogonal directions: rightward along the length, rearward along the width, and upward along the height. After partitioning, overlapping or adjacent spatial regions are automatically merged to reduce fragmentation and enhance space utilization.
The box placement follows a multi-stage strategy: The corner-priority strategy places boxes tightly against the corners of the cargo hold to ensure stability; the edge-secondary strategy places boxes along the hold’s edges to maintain clear passageways; the top-placement strategy stacks boxes atop existing ones to utilize vertical space; the center-placement strategy places boxes at the spatial center to balance weight distribution. Each strategy includes 90° horizontal rotation optimization.
Algorithm Execution Steps
Step 1: Initialize the loading status. Let the set of goods currently in the carriage be denoted as (initially empty), the set of remaining available space as (initially the entire carriage space), and the set of goods awaiting loading for the current customer as . Initialize the current customer’s loading plan as .
Step 2: Generate candidate loading sequences. Implement a multi-sorting strategy to rank the goods within according to descending volume, descending base area, ascending fragility, and descending height. This yields four candidate loading sequences , providing diverse initial schemes for subsequent loading attempts.
Step 3: Sequential loading execution. From the candidate sequence set , the current sequence is selected. For each cargo item in this sequence, loading operations are performed sequentially using a four-stage placement strategy (corner priority, edge priority, top placement, center placement), combined with 90-degree rotation optimization. If a cargo item is successfully placed, the loading plan and the remaining space set are updated. If any cargo item in the current sequence cannot be successfully placed, proceed to Step 5.
Step 4: Stability verification. Perform stability verification on the successfully loaded scheme , checking the compliance with support area constraints and basic stability requirements. If all constraints are satisfied, proceed to Step 6; otherwise, proceed to Step 5.
Step 5: Sequence switching processing. Remove the current sequence from the candidate set . If , return to Step 3 to select a new candidate sequence and retry. Otherwise, determine that the current customer’s goods loading has failed, output , and terminate the algorithm.
Step 6: Status update and output. Merge the successfully loaded cargo collection into the global cargo collection, update to , and output the complete loading scheme . The updated spatial status provides a basis for the subsequent loading of customer goods.
In the HGA, Algorithm 2 is called within
whenever the loading feasibility of a given route or group of routes needs to be checked.
| Algorithm 2: 3D Cargo Loading Algorithm |
Input: Current customer items , Global items set , Remaining space Output: Loading scheme , Updated space state , Status (SUCCESS/FAILED). |
- 1.
Initialize ← - 2.
← Sort(, volume, DESC) - 3.
← Sort(, base area, DESC) - 4.
← Sort(, fragility, ASC) - 5.
← Sort(, height, DESC) - 6.
← Merge(, , ) - 7.
while do - 8.
← SelectNextSequence() - 9.
success ← true - 10.
← - 11.
← - 12.
for each do - 13.
position_found ← false - 14.
candidate_positions ← GenerateCandidatePositions() - 15.
for each position candidate_positions do - 16.
for each orientation ∈ {original, 90° rotation} do - 17.
if IsValidPosition(item, position, orientation, , ) then - 18.
← {(item, position)} - 19.
← UpdateSpace(, item, position, orientation) - 20.
position_found ← true - 21.
break - 22.
end if - 23.
end for - 24.
if position_found then - 25.
break - 26.
end if - 27.
end for - 28.
if not position_found then - 29.
success ← false - 30.
break - 31.
end if - 32.
end for - 33.
if success then - 34.
if CheckSupportArea() and - 35.
CheckStability() then - 36.
← - 37.
← - 38.
← ∪ - 39.
return (, , SUCCESS) - 40.
end if - 41.
end if - 42.
← \ {} - 43.
end while - 44.
return (, , FAILED)
|
4.4. Summary of Algorithm Innovations
The core innovation of this algorithm lies in its deep coupling mechanism between route optimization and load verification. Specifically, load verification is integrated as part of the fitness evaluation at every stage of route optimization, ensuring that generated solutions simultaneously satisfy both route and load constraints.
Synergy between Route Optimization and Loading Verification: Instead of optimizing routes and checking loading feasibility in separate stages, the proposed HGA integrates the loading module into the fitness evaluation. As a result, routing decisions are guided toward patterns that are both efficient in terms of travel distance and compatible with realistic three-dimensional loading constraints.
Real-time feedback mechanism for loading verification: After route crossings and mutation operations, loading verification is performed. If verification fails, the solution is not discarded immediately; instead, the route recommendation is adjusted through the feedback mechanism. After verification failure, the route is optimized using sequence change repair strategies to ensure compliance with loading constraints. This creates a closed-loop feedback mechanism between route optimization and loading verification repair. This closed-loop feedback enables interaction between route optimization and loading verification, enhancing the algorithm’s overall optimization capability.
Flexible yet structured encoding: The grouping-based encoding and hybrid insertion strategy allow the algorithm to handle different numbers of vehicles and complex one-to-many pickup–delivery patterns while preserving precedence and capacity constraints.
Through these mechanisms, the proposed algorithm is able to address the one-to-many 3L-PDVRP in a way that jointly considers routing efficiency and three-dimensional loading feasibility, providing a practically meaningful solution approach for complex distribution operations.
6. Conclusions
This paper has presented a deeply coupled HGA for the one-to-many 3L-PDVRP. The proposed method integrates real-time loading feasibility checks into the routing optimization process through a hierarchical collaborative mechanism: an outer-layer GGA generates and evolves routing schemes, while an inner-layer tree-search-based procedure verifies three-dimensional loading feasibility. A closed-loop feedback mechanism and an adaptive hybrid insertion strategy are employed to balance global exploration and local exploitation throughout the search.
Computational experiments conducted on extended benchmark instances derived from standard 3L-PDP datasets demonstrate that the proposed algorithm can reliably generate feasible delivery plans that combine shorter vehicle routes with greater spatial utilization. Compared with an LNS-based baseline from the literature, the average vehicle travel distance is reduced by 10.60%, and the average loading rate is increased by 2.76%. Our analysis of convergence characteristics demonstrates that the algorithm maintains robustness and solution quality even as the customer scale increases from 50 to 100 nodes, effectively handling the trade-off between minimizing travel costs and maximizing vehicle fill rates under complex physical constraints. The HGA algorithm requires more CPU time than the LNS algorithm, primarily due to its group-based evolutionary algorithm characteristics and the iterative three-dimensional load verification process. This process significantly enhances the quality and feasibility of the solutions.
This study provides a practical solution framework for logistics distribution optimization under complex one-to-many 3L-PDVRP, offering practical value for reducing transportation costs and enhancing operational efficiency. However, real-world logistics scenarios possess greater dynamism and complexity; therefore, future research could further deepen the investigation into networked delivery modes involving multi-distribution center coordination.