Loading web-font TeX/Main/Regular
Optimizing Heterogeneous Vehicle Routes for Urban Distribution Considering the Three-Dimensional Bin Packing Problem of Electric Meters | IEEE Journals & Magazine | IEEE Xplore

Optimizing Heterogeneous Vehicle Routes for Urban Distribution Considering the Three-Dimensional Bin Packing Problem of Electric Meters


This research addresses these challenges by integrating three-dimensional packing and efficient vehicle scheduling, considering factors such as electric meter characteris...

Abstract:

With the establishment of smart grids, there is a growing demand for metering electric meters in urban areas. Given the diverse sizes and delicate nature of these meters,...Show More

Abstract:

With the establishment of smart grids, there is a growing demand for metering electric meters in urban areas. Given the diverse sizes and delicate nature of these meters, traditional scheduling solutions are unable to cater to the multifaceted requirements of urban environments, meters loading, and subsequent logistics scheduling. This study presents an intelligent scheduling model for electric meters in an urban context, taking into account various constraints such as urban traffic congestion, three-dimensional packing of metering devices, delivery time windows, and heterogeneous vehicles. To solve this, we design an improved whale optimization algorithm using a hybrid multi-phase heuristic approach (IWOA-HMOHA). Simulation results show that compared with the traditional meter logistics scheduling strategy, the IWOA-HMOHA algorithm reduces the objective function by 5.4%~ 26.1% compared with other similar algorithms. In addition, compared with the traditional first-in-last-out cargo packing method, the vehicle space utilization rate is improved by 12.62%. The proposed models and algorithms demonstrate excellent adaptability to a range of urban constraints, offering valuable insights and a robust framework essential for the development of logistics solutions in urban.
This research addresses these challenges by integrating three-dimensional packing and efficient vehicle scheduling, considering factors such as electric meter characteris...
Published in: IEEE Access ( Volume: 12)
Page(s): 22003 - 22031
Date of Publication: 07 February 2024
Electronic ISSN: 2169-3536

Funding Agency:


SECTION I.

Introduction

In the current field of urban logistics and distribution, the distribution of electric meters is particularly critical, and its process involves a professional and complex problem: three-dimensional loading capacitated vehicle routing problem(3L-CVRP) [1], [2]. As a electric meter for precision instruments, the distribution process not only requires efficiency, stability and safety, but also must strictly control the delivery time window [3], [4]. Delays beyond the specified time can lead to damage to the internal parts of the meter, which can seriously affect the accuracy and reliability of electricity metering [5], [6]. However, with the acceleration of modern urbanization, urban traffic conditions have become more complex and unpredictable. The continuous progress of road construction and the increase in traffic flow during peak periods cause different degrees of traffic congestion at different times, which poses a huge challenge to the timely delivery of electric meters [7], [8]. In this context, the main problem faced by the metering center is how to effectively complete the meter distribution task that meets the delivery requirements in the context of changing urban traffic. This requires efficient metering, The three-dimensional bin packing problem (3DBPP) [9], [10], and vehicle scheduling strategies to shorten delivery times, while reducing logistics and transportation costs and carbon emissions by reducing the number of vehicles required for a more efficient and sustainable distribution model. Currently, many metering centers are adopting a first-in, last-out (FILO) strategy for electric meter packing and vehicle scheduling [11]. This method reverse-packs and ships orders based on the order in which they are received, ensuring that vehicles are delivered in order of proximity to the point of origin. It is also convenient to load and unload goods safely in a fixed sequence during loading and unloading. However, the first-in, last-out method has obvious shortcomings, that is, it focuses on the local optimal solution rather than the overall optimal solution [12], and a single loading and distribution method is difficult to adapt to the growing distribution demand, and the metering center is faced with a gradually rising distribution cost. There is an urgent need for an electric meter loading and distribution solution based on global optimization to meet this challenge. Particularly in the congested urban environment, maintaining strict control over delivery time windows is essential to enhance the on-time delivery rate of electric meters and ensure service quality. This is not only of great significance for the distribution efficiency and cost control of electric meters, but also has a far-reaching impact on promoting the development of smart grids in cities.

Figure 1 illustrates the general structure of this paper. To achieve vehicle routing planning that considers real-time urban traffic congestion constraints and to enhance the loading efficiency and reliability of electric meters. The research is divided into two stages: 1) Electric meter logistics scheduling for 3L-CVRP and 2) Operation and validation. In the first stage, we first take the minimum total cost of dispatching and the sum of the highest meter loading rate as the optimization goals, and establish an intelligent meter scheduling model in the urban context. The model comprehensively considers multi-dimensional constraints such as heterogeneous vehicles, real-time traffic congestion, vehicle fixed costs, personnel wage costs, and logistics scheduling costs, and effectively realizes more efficient vehicle scheduling optimization [13]. Secondly, based on the precision and stability requirements of electric meter transportation, a mathematical model was established with the goal of maximizing the loading rate. The model ensures the reliability and safety of the vehicle when transporting electric meters with strategies such as space and orientation constraints, stacking stability constraints, and constraints on the available space.

FIGURE 1. - Joint dispatch model of 3L-CVRP based on electric meters distribution.
FIGURE 1.

Joint dispatch model of 3L-CVRP based on electric meters distribution.

In the second stage, we first designed an improved whale optimization algorithm (WOA) using a hybrid multi-stage heuristic method (IWOA-HMOHA) for the joint model, which proposed an order-vehicle model-receiving point encoding and decoding method, which can intuitively represent the orders undertaken by different types of vehicles and form a closed-loop distribution path based on the orders. Secondly, aiming at the characteristics of solving such complex NP-hard problems [14] using the WOA, the linear inertia weight in the WOA is improved to the adaptive inertia weight, which is helpful to balance the search performance of the algorithm in the early and late stages [15]. Furthermore, inspired by the differential evolution algorithm (DE), a difference strategy is introduced in the process of population renewal [16], which is different from the inertial spiral search strategy of the whale algorithm, and reconstructs the feasible solution through mutation and crossover, so as to avoid the problem that the algorithm is easy to fall into local optimum. Finally, through the population classification mechanism, the local development ability of the algorithm in the later stage is enhanced, and the problem of slow algorithm convergence speed is solved.

Therefore, the structure of this paper is as follows: Section II briefly reviews the related work. Section III introduces the traditional meter distribution method and the core problems that need to be solved, and proposes a solution to the problem through in-depth analysis. Section IV, in order to solve the problem more efficiently, the algorithm design is carried out. Section V contains the analysis of the results based on the simulation of real data from the Metering Center and the validation of the proposed model. Finally, in Section VI, the conclusions and directions for future research are presented.

SECTION II.

Related Works

The traditional electric meters distribution mode relies primarily on historical experience to establish vehicle-delivery order pairings, often neglecting the multifaceted factors that characterize urban environments, such as road congestion, vehicle traffic restrictions, and customer dispersion. Additionally, the distribution route planning adheres to the single-path optimization principle, with delivery vehicles calculating distances to customer locations and selecting the nearest point for delivery, repeating this process after each delivery, lacking an overarching optimization strategy for multi-segment distribution routes. Furthermore, the packing approach for electric meters is primarily determined by their geometric shape, with a certain quantity of electric meters sorted and loaded into turnover boxes, followed by subsequent loading onto corresponding vehicles using the first-in, last-out principle. Regrettably, this traditional electric meter distribution process does not take into account the unique characteristics of electric meters, including their type, size, stability, directionality, precision, and fragility [17].

Consequently, this oversight results in a high rate of electric meter damage during transportation and underutilization of vehicle space, leading to increased distribution costs. In summary, the traditional model’s order allocation method lacks scientific rigor, vehicle route planning focuses solely on the shortest single path, and there exists a deficiency in efficient loading methods tailored to the geometric and transportation characteristics of electric meters.

The vehicle routing problem (VRP) and the 3DBPP have consistently remained prominent research areas within the realm of logistics and transportation. This section summarizes and discusses the most recent and relevant work on relevant research. Lots of scholars have conducted valuable explorations in these domains, primarily focusing on the optimization of multi-objective functions or the enhancement of multi-objective solving algorithms to address the challenges posed by the 3L-CVRP. However, in light of the intricate urban environment and the multifaceted constraints it imposes, this paper contributes by formulating a comprehensive approach. It combines the VRP and 3DBPP considerations, constructing a three-dimensional turnover box model and an electric meter logistics scheduling model. Additionally, the paper employs visual charts to analyze meter packing schemes. This integrated approach offers a decision-making foundation for the optimization of electric meter logistics scheduling within urban settings, bridging the gap in research and addressing the critical challenges in this domain.

A. Vehicle Routing Problems Within Urban

The VRP has always been a core research area. In particular, one of its variants, 3L-CVRP, has attracted more and more attention from researchers in recent years because it is closer to the complexity of actual logistics and distribution. 3L-CVRP not only takes into account the path optimization and load constraints in traditional VRP, but also additionally considers the three-dimensional loading of goods, making it more challenging in solution design and optimization. The 3L-CVRP, considering the specific requirements related to electric meters, can be effectively divided into two sub-problems: the Urban VRP [18] and 3DBPP for electric meters. The Urban VRP can be succinctly characterized as a VRP subject to multiple constraints, a classic NP-hard problem. Heuristic algorithms like Genetic Algorithm [19], [20], Whale Optimization Algorithm [21], and Particle Swarm Optimization [22] offer advantages in terms of robustness, adaptability, and rapid convergence. These algorithms are commonly employed to tackle vehicle delivery challenges within complex multi-dimensional constraint scenarios. However, when dealing with the 3L-CVRP considering electric meters, the challenge becomes multifaceted, necessitating the consideration of several dynamic factors. These include the intricacies of three-dimensional cargo loading, the congestion levels of urban road networks, the dynamic nature of vehicle restrictions, and the stringent customer delivery timeframes. In this context, traditional heuristic algorithms often face challenges in avoiding local optima, making it difficult to generate feasible solutions. Therefore, there is a compelling need to enhance computational efficiency and solution accuracy to achieve an efficient resolution of this model.

In the context of existing research, urban distribution has consistently been marked by strict delivery time constraints. In one notable instance, Zhang [23] introduced an improved slime mould algorithm (SMA-CSA) is proposed for solving global optimization and the CVRP. Recognize the imbalance of vehicle loads, Wang [24] not only strives to minimize the total length of all routes, but also strives to reduce the difference in load allocated to each vehicle, achieving a more efficient and balanced allocation of resources. On the basis of the 3L-CVRP research, the heterogeneous vehicles is studied in literature [25], and the lowest fuel consumption route for vehicle scheduling is realized through a variable neighborhood search meta-heuristic algorithm considering the impact of heterogeneous fleet and fuel consumption on the environment. Rodríguez [26] introduced a mathematical algorithm based on column generation structure is proposed to solve the problem of complex and computational cost of 3L-CVRP, which cannot be solved by MIP. Rezaei [27] in order to further optimize the search process, a hybrid genetic search algorithm is applied as an enhanced local search and population management strategy within the algorithm framework, which significantly improves the computational efficiency. Krebs [28] focuses on the comprehensive evaluation of load constraints in the context of 3L-CVRP and its Extended Time Window (3L-VRPTW), and designs an algorithm for combining axle weight with accessibility of items, balanced loading of items and manual unloading of items. Krebs and Ehmke [29] is designed with two views, both the vehicle path view and the loading view, showing the corresponding task schedule and the position of each item in the cargo hold. Hussain Ahmed [30] based on 8 crossover operators without any mutation operators are developed based on the three operations of selection, intersection and mutation in the genetic algorithm, and the results show that they have good solution results under a variety of sizes and different numbers of vehicle scales. None of the above studies take into account the time window requirements for the delivery process, which has stricter delivery time windows for electric meters. Chen [31] introduced the vehicle routing problem based on the time window and the three-dimensional loading constraints considering order distribution is studied, and a tabu search algorithm is designed to generate a high-quality initial solution. Alesiani [32] proposes a Constrained Clustering Capacitated Vehicle Routing Solver, which can transform the complex constraints of the original problem into a more manageable problem based on the soft-clustered vehicle routing problem with reduced decision variable. Chi and He [33] adopt a two-stage method to ensure the loading feasibility of the algorithm by planning cargo loading and vehicle routing respectively, and finally give a new evaluation function and an improved spatial merging method to successfully verify the experimental results. Fava [34] proposes a multi-starting algorithm that allows cargo rotation, which solves the joint problem of cargo loading and vehicle path planning, but does not conduct in-depth research on three-dimensional constraints.

Moreover, within the context of the 3L-CVRP, Calabrò [35] delved into the intricacies of customer handover times under the constraints of multiple time windows. By incorporating fuzzy theory into the time window framework, Wang [36] amalgamated fuzzy demand and fuzzy time windows. This construction led to a path planning model that encompasses vehicle travel time, the number of vehicles employed, and customer satisfaction.

B. Three-Dimensional Bin Packing Problem

In addressing the 3DBPP for regular goods, Erbayrak [37] proposed a hybrid artificial bee colony algorithm that integrates two enhancement methods to tackle cargo loading challenges. Furthermore, considering the complexities inherent to three-dimensional packing of irregular goods, Wang and Hao [38] introduced the concept of cargo homogeneity into the traditional three-dimensional packing problem. This innovative approach involves consolidating goods from the same order or destined for the same location into unified boxes, optimizing the packing process. Finally, considering the practical application context of electric meter logistics scheduling within urban environments, this study has devised a novel approach. It involves the design of a multi-stage heuristic algorithm, which has been enhanced by integrating the Whale Optimization Algorithm. This is an improved whale optimization algorithm using a hybrid multi-phase heuristic approach, known as the IWOA-HMOHA.

To better highlight the innovativeness of this paper, we use statistical methods in table 1 to compare the differences between existing research and our work in detail. Due to the high complexity of the 3L-CVRP, the current research mainly focuses on the application of heuristic algorithm or meta-heuristic algorithm. For example, it is common to obtain a relatively good feasible solution through multiple iterations of the genetic algorithm. However, while this method of solving is feasible, the quality of the results depends largely on whether the model and constraints can truly reflect the actual situation. A key difference pointed out in this paper is that a large number of existing studies ignore the strict delivery time window constraints of electric meters when considering their loading and transportation processes. The delicate fragile nature of electric meters requires that safety and on-time delivery must be ensured while maximizing the space available in the vehicle. This requirement puts forward higher requirements for the construction and solution strategy of the 3L-CVRP model. Therefore, the work of this paper is not only to propose new optimization models and algorithms, but also to consider the challenges in practical logistics more comprehensively, such as the strict control of delivery time windows and the safe transportation of goods, so as to provide more effective solutions for the efficient and safe distribution of delicate items such as electric meters.

TABLE 1 Taxonomy of Related Works
Table 1- 
Taxonomy of Related Works

Table 1 presents a comparative analysis of the differences between this study and the latest works in the field, with an “\surd ” marking the focal points of their research. The statistical information provided in the table substantiates the innovation and significance of the current work. Therefore, our contribution is as follows:

  1. Considering the characteristics of various types of electric meters, different volume sizes, stability requirements, directionality limitations, precision sensitivity and fragility, combined with multi-dimensional constraints such as customer point distribution, delivery time window, vehicle traffic restrictions [39], real-time road congestion and heterogeneous vehicles, we build an intelligent scheduling model for electric meters in an urban context with the minimum total cost and the highest electric meters loading rate as the optimization goals. By combining the characteristics of three-dimensional packing and transportation demand of electric meters, and integrating the complex multi-dimensional distribution constraints in the urban environment, the model helps power enterprises improve the distribution efficiency of electric meters and reduce distribution costs.

  2. Based on the mapping characteristics between vehicle type-delivery order, delivery order-delivery location, the coding method of order-vehicle type-delivery point was designed, and then a whale optimization algorithm based on population hierarchical perturbation and difference strategy improvement was proposed to solve the established model efficiently. Finally, according to the geometry of the electric meters turnover box and the multi-dimensional transportation constraints, we design an IWOA-HMOHA algorithm, which effectively improved the space utilization rate of the vehicle.

  3. In this paper, the original dataset of the metering center is selected for simulation experiments, and the proposed algorithm is compared with a variety of existing cutting-edge algorithms. Experimental results show that IWOA-HMOHA algorithm not only significantly outperforms other algorithms in the benchmark function test, but also has significant advantages in many aspects, such as average delivery time, average loading rate, shortest delivery cost and number of times passing through congested roads.

SECTION III.

Problem Formulation and Methodology

In this paper, in order to fully and clearly present the symbols and variables involved in the model and their corresponding descriptions, we have carefully prepared table 2, and in addition, the decision variables involved are presented in table 3. These tables not only provide an exhaustive list of all the key variables used in the model, but also include the definition of each variable and their specific role in the model. In this way, we aim to provide an intuitive, easy-to-understand frame of reference to help readers better grasp the structure and workings of the model.

TABLE 2 The Model Involves the Description of Symbols and Variables
Table 2- 
The Model Involves the Description of Symbols and Variables
TABLE 3 Decision Variables
Table 3- 
Decision Variables

A. Problem Description

Figure 2 shows the problem of electric meters scheduling in the urban context. Within the metering center (distribution center), denoted as O , there is a heterogeneous fleet of k , (k\in K ) vehicles, with a particular vehicle model designated as a , (a\in A ). On a given dispatch day, the metering center O receives orders N for j -th customer points, each order n(n\in N) encompasses single-phase electric meters, three-phase electric meters, low-voltage transformers, and automatic metering terminals, with their respective dimensions detailed in table 4. Single and three-phase electric meters are transported in the turnover box sized 720\times 450\times120 mm (Length \times Width \times Height), while low-voltage transformers use rates of 720\times 450\times200 mm (Length \times Width \times Height). In the logistics scheduling process, the metering center O initially allocates the N orders to k -th heterogeneous vehicles of model a for delivery. Loading for each vehicle ak of model a is determined based on its designated orders n . Considering the city’s traffic congestion coefficient during various time intervals, the optimal delivery route is chosen, followed by the computation of the vehicle’s delivery time, cost, loading sequence, and delivery order. In summary, the model aims to select the best vehicle type for material loading and delivery under multi-dimensional constraints, such as urban traffic congestion, ensuring the highest overall loading rate and the lowest scheduling costs.

TABLE 4 Metering Electric Meters Information
Table 4- 
Metering Electric Meters Information
FIGURE 2. - Electric meter scheduling in urban context.
FIGURE 2.

Electric meter scheduling in urban context.

The electric meter is a crucial device used to measure and record electrical energy consumption. It not only provides people with accurate energy measurement but also offers a vital monitoring tool for power companies to gain a deeper understanding of the overall health of the grid and optimize the allocation of power resources.

As figure 3 reveals, these single-phase electric meters are stored within a Length \times Width \times Height is 720\times 450\times120 (mm) turnover box. Based on this, the turnover box serves as a fundamental distribution material unit and is loaded onto the transportation space of the vehicle through a three-dimensional packing algorithm. It is essential to note that during the distribution process, the customer distribution, congested road sections, delivery time windows, and other constraints of the distribution order must be comprehensively taken into account. Moreover, the main focus of this 3DBPP is the directional restrictions, stability requirements, precision, and fragility of the meter. In conclusion, the core challenge lies in how to efficiently complete the logistics and distribution of electric meters within the urban while ensuring maximum space utilization and overall stability.

FIGURE 3. - Schematic diagram of the distribution material unit of the electric meter.
FIGURE 3.

Schematic diagram of the distribution material unit of the electric meter.

B. Model Assumptions

In the study of complex models involving 3L-CVRP, establishing reasonable model assumptions is particularly crucial. The 3DBPP involves how to effectively place items within a limited space [5], [6], while the vehicle routing problem focuses on how to efficiently allocate and plan transportation resources [1]. Although these two problems are fundamentally different, they are closely related in practical applications, especially in the fields of logistics and supply chain management. To accurately simulate such scenarios, it is necessary to consider the dimensions and weight of the items, as well as the capacity and number of transport vehicles. Additionally, the time windows of delivery points and potential traffic variations along the routes must also be taken into account. Through rational assumptions, we can simplify this complex problem into a solvable mathematical model, thereby providing efficient solutions to practical issues. Therefore, the model assumptions are as follows:

  1. It is assumed that the selection of turnover boxes is solely dependent on the dimensions and weight of the electric meters.

  2. Assume that the number of vehicles used for transporting electric meters is limited, and the loading capacity of each vehicle is fixed.

  3. It is assumed that each delivery point has a specific delivery time window, which is considered as a soft time window.

  4. Assume that all electric meters are dispatched from the same measurement center, and eventually, the vehicles are required to return to this center.

  5. It is assumed that during the delivery process, the occurrence of traffic congestion within a certain time period is fixed.

C. Considering Real-Time Vehicle Speed Under Traffic Congestion

Within the urban road network, the congestion levels of different streets connecting cities can vary significantly over time, influenced by factors such as holidays, seasons, and commuting hours. To illustrate, in areas with minimal road congestion, vehicles can traverse at their free-flow speed, maintaining a constant velocity characteristic of their respective vehicle types. However, in congested road segments, various types of vehicles encounter difficulties in maintaining their constant speeds due to traffic conditions. For further insights into this phenomenon, we can refer to the insights provided in literature [40]. In the free driving segment, the vehicle travels at the desired speed average vehicle speed v_{f} .To accurately describe the vehicle travel speed in a congested roadway, the travel time of a vehicle of type a on roadway b is denoted by T_{ak}^{b} . Introduce con_{b}^{t} as the road congestion coefficient under section b at time moment t .

We can get v_{con,b}^{t} =v_{f} /con_{b}^{t} , where v_{con,b}^{t} is the vehicle delivery speed at road section b at moment t . The logical 0–1 variable \theta \left ({{ak,t,b} }\right) is introduced for determination. The formula:

\sum {T_{ak}^{b}} =\sum {l_{ak}} /((1-\theta (ak,t,b))\cdot v_{f} +\theta (ak,t,b)\cdot v_{con,b}^{t}) calculates the time a vehicle passes through a section, where \sum l_{ak} is the length of the path traveled by the vehicle.

D. Heuristic Three-Dimensional Loading Model

In order to systematically describe the three-dimensional loading problem of electric meters, we assume that given an arbitrary model of vehicle ak , the volume of the vehicle that can be loaded is C_{ak} . In Eq. (1), its length, width, and height are expressed as L_{ak} , W_{ak} , and H_{ak} , respectively. Each type of electric meters contains 6 parameters, as shown in Eq. (2), where l_{m} , w_{m} , and h_{m} represent the length, width, and height of different types of electric meters, respectively, and el_{m} , ew_{m} , eh_{m} respectively measure whether the meter can be rotated and placed according to its own length, width and height. X_{m} is the set of rotational states.\begin{align*} C_{ak}& =(L_{ak},W_{ak},H_{ak}) \tag{1}\\ X_{m} &=\{l_{m},w_{m},h_{m},el_{m},ew_{m},eh_{m} \} \tag{2}\end{align*}

View SourceRight-click on figure for MathML and additional features. For any type of vehicle ak , the total volume V_{M} of its load can be calculated by the electric meters placed in it, and the total volume Eq. (3) is as follows:\begin{equation*} V_{M} =\sum \limits _{M} {l_{m} \cdot w_{m}} \cdot h_{m} \tag{3}\end{equation*}
View SourceRight-click on figure for MathML and additional features.
Therefore, in the 3DBPP, we take the maximum vehicle loading rate as the optimization goal, the f_{1} is the total vehicle load rate as shown in Eq. (4).\begin{equation*} f_{1} =\max \left({\frac {\sum \limits _{M} {l_{m} \cdot w_{m} \cdot h_{m}} }{\sum \limits _{k} {L_{ak} \cdot W_{ak} \cdot H_{ak}}}}\right) \tag{4}\end{equation*}
View SourceRight-click on figure for MathML and additional features.
At the same time, electric meters are subject to the following conditions during the packing process:

  1. Spatial and directional constraints: Utilizing a three-dimensional spatial coordinate system with X, Y, and Z as the coordinate axes, we must adhere to specific stacking guidelines for electric meters to ensure optimal spatial utilization. These guidelines dictate that the meters’ dimensions in terms of length, width, and height should not exceed the corresponding dimensions of the compartment container. This constraint is especially critical due to the precision and fragility characteristics inherent to electric meters. It’s essential to note that rotations along the Y and X axes are to be avoided, as they can result in damage to the electric meters. Therefore, the only permissible rotation axis is the Z axis. Figure 4 shows the two permissible types of rotation. To protect the fragile meter, both rotations must be placed strictly upwards.

  2. Stacking stability constraints: Given the diverse sizes and the delicate and fragile nature of electric meters, it becomes imperative to devise stacking methods that offer protection against rolling and violent collisions during transport. To address these concerns, four stacking methods have been analyzed, and four guiding principles have been formulated:

    1. Ensure that the bottom of the electric meters receives complete support.

    2. Minimize the presence of significant gaps when packing the electric meters.

    3. Stacks are stacked in the same way that the previous box rotates.

    4. Explore the possibility of combining different boxes through rotations while adhering to the first three principles to achieve an optimized combination of boxes with varying specifications.

    The combined effect of these principles is illustrated in figure 5, where (a) and (b) represent unacceptable stacking configurations, while (c) and (d) exemplify acceptable stacking arrangements that adhere to these principles.

  3. Constraints on the availability of space: In a loaded compartment, it is possible to optimize the utilization of remaining space by cutting and splicing it effectively. This process involves di-viding the remaining vehicle space into three distinct placeable spaces, namely Space 1, Space 2, and Space 3. When the next box is introduced into the compartment, it can be placed in any of these spaces while ensuring compliance with both directionality and stability constraints. This arrangement is illustrated in figure 6.

FIGURE 4. - (a) The first way to rotate the box; (b) The second way to rotate the box.
FIGURE 4.

(a) The first way to rotate the box; (b) The second way to rotate the box.

FIGURE 5. - Schematic diagram of 4 types of stacking stability.
FIGURE 5.

Schematic diagram of 4 types of stacking stability.

FIGURE 6. - Schematic diagram of three spaces being divided.
FIGURE 6.

Schematic diagram of three spaces being divided.

E. Intelligent Scheduling Model for Electric Meters in an Urban Context

In the intelligent scheduling model for electric meters in an urban context, we take the minimum total cost and the highest electric meters loading rate as the optimization goals, and the objective function is shown in Eq. (5).\begin{equation*} \min f=\frac {(F_{1} +F_{2} +F_{3})}{f_{1}}\cdot \sum {R_{ak}} \tag{5}\end{equation*}

View SourceRight-click on figure for MathML and additional features. where f is the objective function, f_{1} is the load rate of the electric meter, F_{1} is the total fixed cost of the vehicle, F_{2} is the cost of logistics scheduling, F_{3} is the wage cost for all drivers. The R_{ak} is a 0–1 variable. The total fixed cost of the vehicle includes its start-up fee and parking fee, as shown in Eq. (6).\begin{align*} \begin{cases} \displaystyle F_{1} =\sum \limits _{ak} {P_{ak} \cdot R_{ak}} \forall a\in I,\forall k\in C_{a} \\ \displaystyle P_{ak} =P_{Sak} +P_{fa} \cdot \sum \limits _{j} {K_{ak,j}} \\ \end{cases} \tag{6}\end{align*}
View SourceRight-click on figure for MathML and additional features.
where: P_{ak} represents the fixed cost of the vehicle ak . P_{Sak} represents the starting price of the vehicle ak . P_{fa} represents the parking fee of the vehicle model ak ; K_{ak,j} is a 0–1 variable. I,I=\left \{{ {1,2,\cdot \cdot \cdot } }\right \} is a set of vehicle types; C_{a},C_{a} =\left \{{{1_{a},2_{a},\cdot \cdot \cdot } }\right \} is a collection of vehicle dispatch sequences; if vehicle ak reaches customer point j , K_{ak,j} takes 1, otherwise 0.

The dispatching and distribution cost per kilometer of the vehicle is calculated by the weight of the electric meters carried by each vehicle, Eq. (7) is the calculation formula of the total delivery cost of the vehicle, Eq. (8) is the weight of the remaining materials from the vehicle to each customer point.\begin{align*} F_{2}& =\sum \limits _{ak} {S_{ak}} \forall a\in I,\forall k\in C_{a} \tag{7}\\ S_{ak}& =V_{j} \cdot \sum \limits _{j} {\left ({{W_{j} \cdot K_{ak,j}} }\right)} \cdot \left ({{\sum \limits _{j'\ne j} {(l_{oj} +l_{jj'})K_{ak,j'}}} }\right), \\ &\qquad \forall:a\in I,\forall k\in C_{a} \tag{8}\end{align*}

View SourceRight-click on figure for MathML and additional features. where: S_{ak} is the delivery cost of the vehicle ak; W_{j} is the weight of cargo required for customer point j ; V_{j} is the volume of cargo required for customer point j ; l_{oj} is the distance from distribution point 0 to j -th customer point, and l_{jj'} is the distance from j -th customer point to j' -th customer point in the distance matrix. The wage cost of the driver is calculated based on the operating time, as shown in Eq. (9). G represents the unit time wage of workers, T_{ak} represents is the total time of time T_{ak}^{b} and the time spent on a normal road segment.\begin{equation*} F_{3} =\sum {T_{ak}} \cdot G,\forall a\in I,\forall k\in C_{a},\forall b\in B \tag{9}\end{equation*}
View SourceRight-click on figure for MathML and additional features.
During delivery, each customer point can only serve once, and the constraint is shown in Eq. (10).\begin{equation*} \sum \limits _{a} {K_{ak,j}} =1,\forall a\in I,\forall k\in C_{a},\forall j\in J_{\psi } \tag{10}\end{equation*}
View SourceRight-click on figure for MathML and additional features.
J_{\psi },J_{\psi } =\left \{{{1_{\psi },2_{\psi },\cdot \cdot \cdot } }\right \} represents the set of customer points j in the delivery area. The scheduling delivery process meets the maximum number of vehicles of each type of vehicle limit. The delivery company’s conditions determine the number of vehicles of each type. The constraint is shown in Eq. (11).\begin{equation*} \sum \limits _{k} {R_{ak}} \le O_{a},\forall a\in I,\forall k\in C_{a} \tag{11}\end{equation*}
View SourceRight-click on figure for MathML and additional features.
The delivery vehicle ak needs to meet the maximum loading weight and maximum loading volume limits in the delivery process, as shown in Eq. (12) and Eq. (13).\begin{align*} &\sum \limits _{j} {V_{j} \cdot K_{ak,j}} \le V_{ak\max },\forall a\in I,\forall k\in C_{a},\forall j\in J_{\psi } \tag{12}\\ &\sum \limits _{j} {W_{j} K_{ak,j}} \le W_{ak\max },\forall a\in I,\forall k\in C_{a},\forall j\in J_{\psi } \tag{13}\end{align*}
View SourceRight-click on figure for MathML and additional features.
In the Eq. (12) and Eq. (13): W_{ak\max } and V_{ak\max } are the maximum loading weight and the maximum loading volume of the vehicle ak , respectively. The number of delivery customers undertaken by the vehicle in the delivery process is limited, and the limit is set by the power company, where the number of customer points a vehicle of type a can go to in one trip is \zeta . The formula is shown in Eq. (14).\begin{equation*} \sum \limits {K^{\psi }_{ak,j}} \le \zeta \forall a\in I,\forall k\in C_{a} \tag{14}\end{equation*}
View SourceRight-click on figure for MathML and additional features.
The constraints of the delivery time window of each receiving point need to be satisfied during the vehicle delivery. The constraint is shown in Eq. (15).\begin{align*} &\hspace {-.1pc}T_{ak,0} \cdot X_{ak,jj'} +\frac {l_{0j} +\sum \limits _{j} {l_{jj'} \cdot X_{ak,jj'}}}{v_{con,b}^{t} \theta (ak,t,b)+v_{f} (1-\theta (ak,t,b))} \\ &\le T_{j'\max } \tag{15}\end{align*}
View SourceRight-click on figure for MathML and additional features.
where T_{ak,0} is the time for the vehicle ak to drive out of the delivery center. Vehicle ak needs to satisfy the maximum travel distance constraint in the delivery process, as shown in eq. (16). The L_{ak\max } is the maximum travel distance of vehicle ak .\begin{equation*} \sum \limits {\left ({{l_{jj'} \cdot K_{ak,j}} }\right)+} l_{0j} \le L_{ak\max } \forall a\in I,\forall k\in C_{a} \tag{16}\end{equation*}
View SourceRight-click on figure for MathML and additional features.

SECTION IV.

Algorithm Description

In the design and solution of the algorithm, since the established intelligent scheduling model for electric meters in an urban context involves both the three-dimensional packing of the electric meters and the subsequent vehicle logistics scheduling, these two problems belong to the NP-hard problem, furthermore, in the practical application of enterprises, the solution speed and the accuracy of the algorithm are equally important. Considering that the swarm intelligence optimization algorithm will generate a lot of iteration time in solving the three-dimensional packing problem of large-scale electric meters, therefore, in the three-dimensional packing algorithm of electric meters, we design a multi-segment heuristic algorithm to solve it, so as to ensure the completion of the large-scale material loading task of the metering center. In the subsequent logistics scheduling, the whale optimization algorithm is widely used to solve multi-objective optimization problems and the application of logistics scheduling due to its strong global convergence and parameter adjustment ability [15]. However, in the research of solving large-scale logistics scheduling and its application, the global search ability of WOA still needs to be improved, mainly because it is easy to fall into local optimality in the search process. Therefore, in order to improve the packing efficiency of electric meters and the global search ability of WOA, this paper proposes a kind of IWOA-HMOHA algorithm, in which the rapid packing of electric meters and heterogeneous vehicles is carried out through a multi-stage heuristic algorithm, and then in logistics scheduling, the convergence ability and global search ability of the algorithm are improved by involving adaptive operators, differential strategies and the designed population classification mechanism on the traditional WOA algorithm, and the performance of the algorithm is improved. The specific algorithm is described below.

A. Hybrid Multi-Phase Heuristic Approach

To model the three-dimensional arrangement of electric meters within the turnover box, we have developed a Hybrid multi-phase heuristic approach (HMOHA) algorithm that effectively manages space allocation through a three-step process of division and merging. In Step1, we first input the electric meters information to be loaded, including quantity, size, weight and other data, and further calculate the bottom area of all types of electric meters, and sort the loading order according to the size of the bottom area. In Step 2, the electric meters with the largest bottom area is placed in the vehicle, and during the placement process, the maximum space utilization rate is determined by rotation that conforms to the directional constraint, and then placed in the compartment. In Step 3, the remaining area of the vehicle is cut and merged according to the form of figure 6, and then the next metering material is placed according to the remaining space until the loading constraint position of the compartment is satisfied. Spatial Cutting Algorithm pseudocode:

Algorithm 1 Spatial Cutting Algorithm

Input:

Remaining space in the cabin;Meters waiting to be placed

Output:

Remaining space in compartments; meter placement

1

When:Existence of meters to be placed S

2

Calculation of the maximum bottom area placement obtained by rotating the metering meter around three dimensions

3

Deletion of the area occupied by the placed meters, while cutting the remaining carriage area of the combination

Multi-stage heuristic algorithm pseudocode:

Ultimately, the amalgamation of all metering meter data is carried out to calculate and optimize overall loading efficiency and stability through a systematic six-step process.

B. Improvement Whale Optimization Algorithm

Based on the characteristics of the urban logistics delivery network in real-world situations, the traditional WOA cannot directly solve such logistics scheduling and delivery problems. Therefore, this paper proposes an improved whale optimization algorithm (IWOA), which mainly includes:

  1. Designing the individual coding and decoding format in the WOA optimization process, to improve model-algorithm fit.

  2. Introducing a differential strategy to improve the global search ability of the algorithm.

  3. Designing a perturbation mechanism based on population classification to improve the solving ability of the algorithm and help it escape local optima.

Algorithm 2 - Multi-Stage Heuristic Algorithm Pseudo-Code
Algorithm 2

Multi-Stage Heuristic Algorithm Pseudo-Code

1) Coding and Decoding

To efficiently apply the algorithm, an order-vehicle model-receiving point coding method is designed based on the mapping relationship between the scheduling model and the algorithm. This further realizes the mapping relationship between the vehicle model-shipping order and shipping order-delivery point. In the encoding process, the initial order assignment population is generated with the number of orders as the problem dimension and the number of vehicles as the variable. The optimal combination between vehicles and orders is achieved by updating the mapping relationship between different orders and vehicle numbers. The specific decoding encoding and mapping relationship examples are as follows: Assuming that the distribution order number of the vehicle ak at the receiving point a is {1,3,5,7,13}, the corresponding type of cargos is {A, B, A, C, D}, and the number of cargos required for the order is {100,160,180,150,130}. The order number of vehicle j at the receiving point is {15, 18, 20, 21}, the corresponding type of cargos is {C, B, A, D}, and the number of cargos required for the order is {80, 50, 90, 75, 65}.

As shown in Figure 7, this encoding method can determine the type of delivery cargo, corresponding receiving point, and delivery location for each order number. Then, based on the mapping relationship between delivery order number, order type, and receiving point, the orders are randomly assigned to different vehicle types. By applying the turnover box loading strategy for the cargo, the loading method and delivery plan for each vehicle can be obtained. When the algorithm is iteratively updated, the order of each vehicle changes, thereby realizing optimal allocation of the vehicle-order delivery sequence. Finally, the optimal vehicle scheduling and delivery plan for electric meter materials distribution within the urban is obtained.

FIGURE 7. - Coding and decoding graph.
FIGURE 7.

Coding and decoding graph.

2) Adaptive Inertia Weights

We employ the concept of adaptive inertia weights to better control the convergence ability of the WOA during optimization iterations. The whale optimization algorithm update strategy is introduced to enhance its convergence performance. The updated Eq. for the adaptive inertia weights \omega is as follows:\begin{align*} \omega &=\omega _{\min } -(\omega _{\max } -\omega _{\min })\left[{\frac {t}{T}}\right]^{\frac {1}{t}} \tag{17}\\ \overrightarrow X (t+1)&=\overrightarrow X (t)-\omega \overrightarrow A \cdot \overrightarrow D if p < 0.5 \\ \overrightarrow X (t+1)&=\omega \overrightarrow D \cdot e^{bl}\cdot \cos (2\pi l)\cdot \beta +\overrightarrow X \cdot \textrm {(t)} if p\ge 0.5 \\{}\tag{18}\end{align*}

View SourceRight-click on figure for MathML and additional features. In the Eq. (17) and Eq. (18): where \omega _{\max } is the maximum value of the adaptive weight, \omega _{\min } is the minimum value of the adaptive weight, t is the number of current iterations, and T is the total number of iterations, \overrightarrow X (t) represents the t generation whale population, \overrightarrow A represents the coefficient vector, \overrightarrow D represents the distance between the currently searched individual and the optimal individual, p represents the probability of predation mechanism, l represents a random number with a uniform distribution of values in the range of [−1,1], and b represents the spiral parameter.

3) Differential Strategy

Inspired by the evolutionary mechanism in the differential evolution algorithm, we introduce the cross-mutation strategy of the DE. A new mutated population is generated through the differential mutation strategy, where the position of each whale individual is selected according to a greedy strategy. This allows the algorithm to jump out of optimal local solutions during the update process.

  1. Variation: randomly select any two meridians and individuals in the current iteration times for information transfer. The specific mathematical model is as follows:\begin{equation*} V^{t+1} =X_{best}^{t} +C\times (X_{rand1}^{t} -X_{rand2}^{t}) \tag{19}\end{equation*}

    View SourceRight-click on figure for MathML and additional features. where V^{t+1} is the mutated population, C\in [0\textrm {,2}] is the mutation factor, X_{rand1}^{t},X_{rand2}^{t} are the positions of any two whales in the population randomly selected in the current iteration number, X_{best}^{t} represents the optimal population of the t iteration.

  2. Crossover: Replace the children and parents generated in each generation according to the corresponding crossover probability. The U_{i,j}^{t+1} represents the population obtained by the cross-over operation, specific mathematical model is as follows:\begin{align*} U_{i,j}^{t+1} =\begin{cases} \displaystyle V_{i,j}^{t+1}, & {if} {rand\le CR} \\ \displaystyle X_{i,j}^{t},& {if} {rand>CR} \\ \end{cases} \tag{20}\end{align*}

    View SourceRight-click on figure for MathML and additional features. where CR is the crossover factor, and CR\in [0\textrm {,1}] , rand are the random numbers between [0\textrm {,1}] .

  3. Selection: The next-generation individuals in the whale population are selected by mutation and crossover operations to retain individuals in the parent population or a new population of newly generated offspring according to the corresponding fitness function values. The specific mathematical model is:\begin{align*} X_{i,j}^{t+1} ={\begin{cases} U_{i,j}^{t+1}, \\ X_{i,j}^{t}, \\ \end{cases}}{\begin{array}{cccccccccccccccccccc} {f[U_{i,j}^{t+1}] < f[X_{i,j}^{t}]} & \\ {otherwise} & \\ \end{array}} \tag{21}\end{align*}

    View SourceRight-click on figure for MathML and additional features. where f[.] represents the calculation of the objective function. In the process shown in figure 8, the initial step is to select a starting population to be the parent. Then, another population is selected and mutated by applying Eq. (19) to generate a mutated population. Subsequently, a crossover operation is performed according to Eq. (20) to generate multiple progeny populations. Finally, according to the greedy strategy of Eq. (21), the population with the highest fitness was selected as the improved population.

FIGURE 8. - Differential operation diagram.
FIGURE 8.

Differential operation diagram.

4) Perturbation Mechanism Based on Population Classification

The population hierarchy is used to divide the population of individuals to balance the global search capability of the algorithm with the local search capability. The objective function values are first ranked, and a threshold value is chosen. If an individual’s objective function value is larger than this threshold, it means they need to be better positioned and searched based on the optimal individual. Figure 9 illustrates the perturbation mechanism based on population classification. Individuals with objective function values smaller than the threshold have relatively good positions. If they continue to follow the search, they may get stuck in local optima. For this class of the population, by using completely random perturbation or superimposing random perturbation to change the individual variables, variations in particle energy values can be generated. Variable crossover perturbation is introduced to search for individuals in a more directed way, including single variable crossover perturbation and multi-variable crossover perturbation. Two individuals are randomly selected from the original population. First, multiple variables are randomly selected for crossover to generate new individuals. If the objective function value of the new individual is positive infinity, the constraints are not satisfied. In this case, delete the new individual and generate a new one using single variable perturbation instead. If the new individual still does not meet the constraints, undo the perturbation and do not generate a new individual. The multi-variable crossover perturbation and single variable crossover perturbation are shown in Eq. (22) and Eq. (23) respectively.\begin{align*} &\begin{cases} \displaystyle X_{1}^{New} =[x_{1}^{1},x_{2}^{1},\cdots \,x_{r}^{2} \cdots \,x_{D}^{1}] r=[r_{1},r_{2},\cdots r_{n}] \\ \displaystyle X_{2}^{New} =[x_{1}^{2},x_{2}^{2},\cdots,x_{r}^{1} \cdots,x_{D}^{2}] n\in [1,D]\& n\in Z \\ \end{cases} \tag{22}\\ &\begin{cases} \displaystyle X_{1}^{New} =[x_{1}^{1},x_{2}^{1},\cdots \,x_{r}^{2} \cdots \,x_{D}^{1}] \\ \displaystyle X_{2}^{New} =[x_{1}^{2},x_{2}^{2},\cdots,x_{r}^{1} \cdots,x_{D}^{2}] \\ \end{cases}r\in [1,D]\& r\in Z \tag{23}\end{align*}

View SourceRight-click on figure for MathML and additional features. The IWOA-HMOHA algorithm is a new method that combines IWOA and HMOHA to solve complex optimization problems. The pseudocode of the algorithm is shown below, and with this hybrid algorithm, we can effectively explore the search space to find a better solution.

FIGURE 9. - Perturbation mechanism based on population classification.
FIGURE 9.

Perturbation mechanism based on population classification.

SECTION V.

Analysis of Results

A. IWOA-HMOHA Improvement Verification and Multi-Algorithm Base Test Comparison Analysis

In order to verify the efficiency of the IWOA-HMOHA algorithm in dealing with high-dimensional problems, we set up 30 dimensions and 300 dimensions and selected the functions in Table 5 for simulation experiments. The best (Best), mean value (Avg) and standard deviation (Std) of the benchmark function values obtained by performing 30 iterations of the algorithm are compared with particle swarm optimization (PSO) [22], differential evolution algorithm (DE) [16], whale optimization algorithm (WOA), multi-verse optimization (MVO) [41], pelican optimization algorithm (POA) [42].

TABLE 5 Benchmark Function
Table 5- 
Benchmark Function

As seen from table 6 and table 7, the IWOA-HMOHA algorithm shows strong competitiveness in global convergence, search accuracy and convergence speed compared with similar benchmark algorithms in evaluating six typical benchmark functions in low and high dimensions. This further confirms the superiority and stability of the IWOA-HMOHA algorithm in dealing with high-dimensional problems. In addition, we have thoroughly tested IWOA-HMOHA using 23 basic functions from the literature [43]. After 30 runs of all algorithms, the calculation results show that the proposed algorithm has advantages in mean value (Avg) and standard deviation (Std) compared with multiple tests, which further verifies the efficient search performance of the proposed algorithm. The 23 basic functions data for the proposed algorithm are shown in Appendix A.

TABLE 6 Comparison Results of Data From Six Algorithms Run 30 Times With Dimension are 30
Table 6- 
Comparison Results of Data From Six Algorithms Run 30 Times With Dimension are 30
TABLE 7 Comparison Results of Data From Six Algorithms Run 30 Times With Dimension are 300
Table 7- 
Comparison Results of Data From Six Algorithms Run 30 Times With Dimension are 300

B. Ablation Study

In order to verify the effectiveness of our proposed 3DBPP heuristic algorithm and three improved whale algorithm strategies, we adopted 3DBPP verification experiments and ablation experiments for the improved algorithms. First, we selected a specific vehicle model for study, which has three-dimensions of 4.2 (m) long, 2.1 (m) wide and 2.0 (m) high, as detailed in table 8. On this basis, we randomly generated a series of initial order data, including two sizes of electric meters containers and their quantities. Then, we conducted experiments on the traditional order-based meter packing method (FILO) and our proposed hybrid heuristic packing algorithm (HMOHA). The experimental results are shown in figure 10, where yellow represents the 120-I type crate and blue represents the 200-II type crate, the specific details are shown in Table 1. Part (a) shows the experimental results of meter packing using traditional order sequential loading, while part (b) shows the experimental results of applying our proposed hybrid heuristic algorithm. Through these experiments, we not only verify the effectiveness of the improved algorithm in dealing with 3DBPP, but also demonstrate the advantages of the new algorithm in space utilization and loading efficiency compared with traditional methods.

TABLE 8 Vehicle Information Table for Each Type
Table 8- 
Vehicle Information Table for Each Type
FIGURE 10. - Differential operation diagram 3DBPP rendering based on electricity meter. (a) The FILO; (b) The HMOHA.
FIGURE 10.

Differential operation diagram 3DBPP rendering based on electricity meter. (a) The FILO; (b) The HMOHA.

Algorithm 3 - Pseudocode of the IWOA-HMOHA
Algorithm 3

Pseudocode of the IWOA-HMOHA

In figure 10, the difference between the two different packing strategies is evident. In part (a), the simple sequential placement strategy resulted in a number of different types of containers being stacked. A major problem with this method is that it makes it difficult to uniform the height of the stacks, often consisting of only one turnover box. This usually happens when all the boxes for the next order are packed and their total height exceeds the height limit of the vehicle and therefore must be divided into multiple stacks. Although this method is in line with the loading and unloading sequence of the order, it wastes too much of the available space of the vehicle and reduces the utilization of space. In contrast, in part (b), the same type of turnover boxes are stacked as much as possible in one stack by using a cutting and merging stacking strategy. This approach not only optimizes the space remaining after each load, but also significantly improves the vehicle’s space utilization. More importantly, this strategy can use fewer vehicles to complete the same task in the subsequent logistics scheduling optimization, which is essential for reducing logistics costs and improving logistics efficiency. Overall, the hybrid heuristic packing algorithm shown in (b) shows obvious advantages in improving space utilization and optimizing logistics scheduling, which is a significant progress for the electric meter distribution industry, especially in the face of increasing logistics demand and strict timeliness requirements, and this method is of great significance in improving the efficiency and reliability of cargo transportation.

In the section on algorithm improvement strategies, we conducted detailed ablation experiments on the three main improvement strategies proposed. The purpose of these experiments is to demonstrate the specific impact of each improvement strategy on the overall algorithm performance improvement, and to verify the actual effectiveness of these strategies. In order to carry out these experiments, we developed the following experimental schemes: i) Whale Algorithm Based on Adaptive Inertia Weights (IWOA-1): This improved strategy improves the quality and convergence speed of the solution by dynamically adjusting the inertia weights of the algorithm to enhance the performance balance of the algorithm in the exploration and development stages. ii) Improved Whale Algorithm Based on Difference Strategy (IWOA-2): This strategy introduces the concept of differential evolution, aiming to enhance the global search ability of the algorithm, especially when dealing with complex and high-dimensional optimization problems. iii) Improved Whale Algorithm Based on Perturbation Mechanism of Population Classification (IWOA-3): This strategy enhances the adaptability and flexibility of the algorithm in different search stages by categorizing the population and applying distinct perturbation mechanisms to various classifications. The algorithm that fuses these three strategies is called IWOA-HMOHA. In the test process, in order to comprehensively evaluate the performance of each algorithm in solving different types of problems, we selected a number of typical benchmark functions for high-dimensional testing (see Table 5 for details) as test objects. These benchmark functions are designed to comprehensively examine the performance of the algorithm in various aspects, including but not limited to the speed of convergence and the ability to find the optimal solution.

The final test results are shown in figure 11, figure 12 and figure 13. As can be seen from figures, the improved strategy of IWOA-1 has relatively little impact on the algorithm performance. This improvement based on adaptive inertia weights achieves the differentiation of early and late search performance in the iteration process of the algorithm. At the beginning of the iteration, IWOA-1 expands the search range through a large inertia weight change, thereby increasing the possibility of exploring the global optimal solution. In the later stage of iteration, by reducing the change of inertia weight, the algorithm shifted to a more refined local search, which enhanced the local development ability. This flexible adjustment avoids that the algorithm only follows the optimal individual to update, thus improving the balance of global search ability and local refinement. Secondly, the improvement of IWOA-2 has a greater impact on the performance of the algorithm than IWOA-1. It improves on the spiral update mechanism of the traditional whale algorithm by introducing mutation and crossover strategies. This strategy makes the variation and cross-recombination of individuals effectively avoid falling into the problem of local optimality in the process of renewal. However, due to the introduction of greedy strategies, the convergence of the algorithm is relatively slow. Finally, IWOA-3 introduces a perturbation mechanism for population classification to avoid the problem of slow convergence. To a certain extent, this mechanism combines the advantages of IWOA-1 and IWOA-2, and at the same time, the optimization ability of the algorithm is significantly enhanced through the division of elite populations.

FIGURE 11. - Comparison of ablation studies. (a) Test image based on F1; (b) T Test image based on F3.
FIGURE 11.

Comparison of ablation studies. (a) Test image based on F1; (b) T Test image based on F3.

FIGURE 12. - Comparison of ablation studies. (a) Test image based on F6; (b) Test image based on F8.
FIGURE 12.

Comparison of ablation studies. (a) Test image based on F6; (b) Test image based on F8.

FIGURE 13. - Comparison of ablation studies. (a) Test image based on F13; (b) Test image based on F14.
FIGURE 13.

Comparison of ablation studies. (a) Test image based on F13; (b) Test image based on F14.

The IWOA-HMOHA algorithm integrates these three improved strategies and combines the advantages of their respective strategies. In the comparison test, the performance of IWOA-HMOHA is significantly better than that of other variant algorithms, regardless of which test function is used. It performs well in the convergence speed of the algorithm, the ability to find the optimal solution, and the avoidance of local optimum, which confirms the effectiveness of these improved strategies.

C. Case Analysis

To validate the model’s effectiveness and reliability, along with the proposed IWOA-HMOHA algorithm, a series of simulation experiments were conducted. These experiments were executed using real-world meter logistics scheduling data from an urban metering center as the basis. This metering center manages a fleet of 22 diverse vehicles and is tasked with the timely delivery of 155 orders, each accompanied by stringent delivery time windows. In order to minimize the cost of delivery, a vehicle routing method with the goal of minimizing costs was first adopted, and orders were assigned to each vehicle. The goods are then three-dimensionally packed and loaded into designated vehicles for transportation. In view of the complex constraints in the packing process, such as the directionality of the metering meter, the stability requirements, and the constraints of the vehicle space volume, the distribution plan needs to comprehensively consider the constraints such as vehicle information (Table 8) and order details (Table 9) for packing design, and the distance matrix of 21 customer locations is shown in Table 10, where 22 represents the Metering Center and 1 to 21 is the customer point. The location numbers for each customer point are shown in table 9.

TABLE 9 Order Information
Table 9- 
Order Information
TABLE 10 Distance Matrix
Table 10- 
Distance Matrix

In the case analysis, different models of meters have different shapes and weights, which need to be placed reasonably according to their transportation characteristics to improve the stability of the meter and the utilization of vehicle space, and in addition, there are strict time windows for order delivery, and we impose additional delay costs on mismatches in the delivery time. Therefore, in the process of vehicle scheduling, it is necessary to accurately consider factors such as road congestion and the distribution of delivery points, and reasonably arrange the distribution route and time of each vehicle to meet the timeliness of the order to the greatest extent.

In this paper, in order to explain the geographical relationship between the metering center and the distribution area more clearly [44], [45], [46]. We show the geographic information of the distribution area in Beijing. The data in figure 14 is provided by “Amap” APP and contains detailed geographic information, including latitude and longitude. In this map, the distribution area is represented in red circles, and the 21 customer points are distributed in different distribution areas, and the distance data between each customer point is shown in table 10. The distance matrix in the table details the distances between customer locations, which are calculated using Manhattan distances. Manhattan distance, also known as city block distance, is particularly useful for urban block layouts [47].

FIGURE 14. - Schematic representation of the geographical relationship of the distribution area.
FIGURE 14.

Schematic representation of the geographical relationship of the distribution area.

In addition, the location of the measurement center is indicated by a red star on the map. All electric meters are shipped from this metering center, so their geographical location is critical for the entire distribution network. By clearly mapping the geographical location of metrology centers and customer points on a map, this study aims to provide an intuitive and precise perspective to help understand the optimization of logistics distribution routes. This visual presentation not only helps to identify critical points in the distribution network, but also provides important basic data for subsequent logistics route optimization.

The Traffic Congestion coefficient is an important indicator used to measure the traffic conditions in a particular area. In figure 15, the traffic congestion in Beijing is represented by different color signs, and the road colors correspond to the corresponding congestion coefficient range. Specifically, the green road area indicates that traffic is unimpeded, and its congestion coefficient is between 1.0 and 1.5. This means that vehicles in this area can drive smoothly and traffic is more fluid. Yellow road areas indicate traffic congestion, with vehicles moving slowly, with a congestion coefficient between 1.5 and 1.8. Traffic in this area is less fluid and vehicles are moving at slower speeds. The red road area indicates that the traffic is congested and the vehicles are moving slowly, and the congestion coefficient is between 1.8 and 2.2. Traffic congestion in this area is relatively high, and the speed of vehicles is significantly reduced. Dark red road areas indicate severe traffic congestion, with a congestion coefficient often exceeding 2.2. Traffic congestion in this area is severe and vehicles are moving very slowly. This paper collects congestion data using different time periods for electric meters delivery to ensure that changes in traffic congestion are taken into account. Table 11 shows some of the relevant data from “Amap” APP, which provides a quantitative description of traffic congestion in different areas of Beijing, which brings the model closer to the real-world situation and improves the accuracy of scheduling planning.

TABLE 11 Urban Congestion-Prone Areas
Table 11- 
Urban Congestion-Prone Areas
FIGURE 15. - Schematic diagram of the congestion level of urban roads.
FIGURE 15.

Schematic diagram of the congestion level of urban roads.

Table 11 provides the traffic congestion coefficients of the city, where the congestion data comes from the ‘Amap’ app. It is worth noting that in order to verify the effectiveness of the IWOA-HMOHA algorithm in solving 3DBPP, we will carry out vehicle packing simulation verification according to the vehicle scheduling scheme solved by IWOA-HMOHA algorithm, and we will display the vehicle packing renderings obtained by the proposed multi-stage heuristic algorithm, and at the same time display the loading time, loading rate and other data of the proposed algorithm in multiple heterogeneous vehicles, and compare them horizontally with the data obtained by the traditional metering and distribution mode, so as to verify the effectiveness of the IWOA-HMOHA algorithm in an all-round way.

D. IWOA-HMOHA Time Complexity Analysis

In the improved algorithm, crossover perturbation is carried out by randomly selecting the dimension and directly updating through the index. Therefore, the time complexity of this operation is O(1). Population classification needs to determine whether the fitness value of each individual is greater than or less than the set threshold. The time complexity of this function is significantly less than or equal to O(N ). Although the number of operation steps in the improved algorithm is increased compared to the traditional WOA, the time complexity is still maintained at O(N \cdot D ). When updating individuals, some individuals adopt the crossover perturbation update with time complexity of O(1), which alleviates the increased time consumption from other strategies to some extent. Here D is the problem dimension and N is the number of populations.

In summary, although the proposed algorithm has a higher time complexity compared to the traditional algorithm, it has better global search performance and stronger convergence. This makes it more suitable for large-scale scheduling problems of this type.

E. Results

The scheduling scheme solved by the IWOA-HMOHA algorithm is shown in table 12. We selected six algorithms for comparison in the experiment. They are PSO, DE, WOA, MVO, POA, and IWOA-HMOHA algorithm. Table 12 contains information about the vehicle and the order carried, for example, the type of vehicle number 1 is Golden cup, the order responsible for transporting is {45,69,77,95,118}, and the delivery route is 22\to 18\to 12\to 22 . Table 13 shows the data of each algorithm, including the optimal objective function value, worst objective function value, average objective function value, and average load rate. Figure 16 shows the comparison results of multiple algorithms in a single and average 30 algorithm runs, which shows that the proposed algorithm has stronger global search and fast convergence performance than similar algorithms. The simulation experiment initial conditions the population size are 30 and the number of iterations are 200. The PSO algorithm employs a learning factor is 1.5 and particle velocity from 5 to -5. The initial variation operator in the DE algorithm is 0.4, and the crossover factor is 0.1. The WOA algorithm {a} decreases linearly from 2 to 0, \vec {A} is randomized from -1 to -2, and \overrightarrow D is randomized from 2 to 0. In the MVO algorithm, the Wormhole Existence Probability takes the values of [{0.1,1}] . In the POA algorithm, parameterized with 30 populations and 200 maximum iterations.

TABLE 12 Planning Results of the IWOA-HMOHA
Table 12- 
Planning Results of the IWOA-HMOHA
TABLE 13 Algorithms Data Comparison Table
Table 13- 
Algorithms Data Comparison Table
FIGURE 16. - (a) Comparison of the optimal objective function values of the six algorithms; (b) Average objective function value of six algorithms running 30 times.
FIGURE 16.

(a) Comparison of the optimal objective function values of the six algorithms; (b) Average objective function value of six algorithms running 30 times.

Figure 16 and table 13 show that the six algorithms used in this paper all have convergence, can be solved quickly, and obtain a good cargo scheduling plan. The iteration diagram illustrates that the IWOA-HMOHA algorithm still maintains search performance in the late iterations, which is mainly due to the differential variation operation and the perturbation operation in the updated whale population algorithm. This allows the algorithm to jump out of optimal local solutions while ensuring efficient convergence. Table 13 shows the average objective function curves in run 30, where the WOA value is 5.633, PSO value is 7.204, MVO value is 6.404, DE value is 6.753, POA value is 6.502 and IWOA-HMOHA algorithm value is 5.325. therefore, it can be concluded that the objective function values of the proposed algorithm are lower than those of WOA, DE, PSO, MVO and POA by 5.4%, 26.1%, 16.8%, 21.1% and 18.1%. Showing that the algorithm proposed in this paper achieves superior simulation results for delivery cost, number of delivery vehicles, loading rate, and the number of congested road sections. The delivery cost is reduced by 0.9%, 4.2%, -1.1%,15.5% and 2.94%, respectively; the delivery time is reduced by 13.5%, 29%, 30.6%,17.8% and 6.25%; the loading rate increases by 18.37%,22.31%, 17.33%,14.03% and 17.85% respectively; the number of trips through congested roads is reduced by 10.1%, -1.4%, -11.6%, 31.1% and 5.07%, respectively. Thus, the multidimensional optimization objective of minimizing delivery costs, maximizing vehicle load utilization, and minimizing the number of vehicles issued is achieved. Compared to other intelligent optimization algorithms, the IWOA-HMOHA algorithm can provide a more effective dispatching solution when solving the intelligent scheduling model for electric meters in an urban context. This significantly improves the efficiency of vehicle delivery while reducing costs.

In order to verify the effectiveness of the multi-stage algorithm in solving the 3DBPP of electric meters, we perform a visual analysis of vehicle loading according to the results obtained by IWOA-HMOHA algorithm, and table 14 represents the information of the vehicle and the carrier order, which includes the vehicle number, vehicle type and order number. It is worth noting that we compare the traditional scheduling solutions (FILO) with the proposed IWOA-HMOHA algorithm, and the results show that the average loading rate of IWOA-HMOHA algorithm is 78.67%, which is 12.41% higher than the average loading rate of FILO (66.26 %). This is mainly due to the space cutting strategy of metering binding, which divides the remaining space into 3 spaces each time the meter is placed, so that there is more room for optimization when the next meter is placed, while FILO only considers stacking on the original basis.

TABLE 14 Comparison of Algorithm IWOA-HMOHA and FILO Loading Performance Data
Table 14- 
Comparison of Algorithm IWOA-HMOHA and FILO Loading Performance Data

In order to visually present the three-dimensional packaging effect of the meter, this paper selects the loading effect of the meter in the order of Vehicle number 2 and Vehicle number 8, and realizes the visual analysis of the packaging scheme through IWOA-HMOHA optimization. Figures 17 and figures 18 show the results of the three-dimensional stacking of turnover boxes inside the vehicle. Boxes of different colors and sizes represent different models of electric meter turnover boxes. The turnover boxes are placed reasonably in the longitudinal and transverse dimensions of the space, adapt to each other, and are compactly stacked, making full use of the vehicle transportation space. Compared to the FILO case stacking method, the combination of multiple types of boxes can achieve higher space utilization and maximize the loading rate. This efficient three-dimensional packing scheme requires the use of advanced packing algorithms, considering the transportation characteristics of the electric meter, the stability requirements and the space constraints of the vehicle, and other conditions to optimize the design of the packing scheme. In general, this experiment realizes the rational use of vehicle space by mixing and stacking different boxes, which verifies the effect of the research scheme in improving transportation efficiency. Figure 17 and figure 18 show that the red boundary represents the boundary of the vehicle compartment, and different colors are used in this paper to distinguish between the two different types of electric meters. Orange represents turnover box with dimensions of 720\times450 x 120 (mm) in length, width and height. Blue represents a turnover box with dimensions of 720\times450 x 200 (mm) in length, width and height. Compared with the traditional FILO method, the packing scheme optimized by IWOA-HMOHA algorithm not only fully considers the stability and safety of the electric meters, but also can effectively improve the utilization rate of vehicle space and realize more efficient electric meters logistics scheduling.

FIGURE 17. - Vehicle number 2. (a) vehicle electric meter loading effect diagram(front); (b) vehicle electric meter loading effect diagram(rear).
FIGURE 17.

Vehicle number 2. (a) vehicle electric meter loading effect diagram(front); (b) vehicle electric meter loading effect diagram(rear).

FIGURE 18. - Vehicle number 8. (a) vehicle electric meter loading effect diagram(front); (b) vehicle electric meter loading effect diagram(rear).
FIGURE 18.

Vehicle number 8. (a) vehicle electric meter loading effect diagram(front); (b) vehicle electric meter loading effect diagram(rear).

SECTION VI.

Conclusion

This paper investigates the problem of 3L-CVRP of smart electricity meters in an urban context, with a focus on the characteristics of path congestion in different time periods of the urban, as well as the various sizes, precision, and fragility of the meters. It also addresses the impact of turnover boxes of meters in different specifications on the stereoscopic loading of heterogeneous vehicles and subsequent logistics scheduling. Firstly, a description and model of the problem are presented, followed by the design of a hybrid multi-stage heuristic algorithm, named IWOA-HMOHA. This algorithm demonstrates outstanding performance in simulation experiments, showing significant improvements on multiple key indicators compared to other common algorithms such as the WOA, DE, PSO, MVO, and POA. Additionally, the efficacy of the algorithmic improvements is substantiated through an ablation study.

However, the proposed Hybrid multi-phase heuristic approach algorithm has certain limitations. In many diverse research areas, a significant number of scholars have applied advanced optimization algorithms to solve challenging decision-making problems, such as those in online learning [38], scheduling, multi-objective optimization [48], transportation, medicine, and data classification [49], [50], [51]. Numerous advanced optimization algorithms have been employed as solution methods and have proven to be efficient in solving complex decision-making problems. In the field of heuristic algorithms, Singh and Pillay [52] proposed a novel ant-based generation constructive hyperheuristic tailored for the task of hyper-heuristics. Regarding adaptive strategies, Dulebenets [53] developed an Adaptive Polyploid Memetic Algorithm based on the polyploidy concept. In terms of evolutionary algorithm fusion adaptive strategy, Kavoosi et al. [54] introduced an augmented self-adaptive EA that not only enhances the stability of the algorithm but also reduces the random variation in the objective function values during convergence. Chen and Tan [55] introduced the Self-adaptive Fast Fireworks Algorithm (SFFWA), which has demonstrated excellent performance in optimizing neural network controllers to solve reinforcement learning tasks.

Consequently, in future research, we plan to further explore more advanced optimization algorithms, such as adaptive algorithms, island algorithms [56], polyploid algorithms, and hyper-heuristic algorithms. We aim to investigate the potential of these algorithms in solving challenging decision-making problems. Additionally, we also intend to compare the IWOA-HMOHA algorithm with these advanced optimization algorithms to validate its applicability and superiority in complex urban logistics environments.

Appendix A

Benchmark Results for Each Algorithm

See Table 15.

TABLE 15 WOA, PSO, MVO, DE, POA and IWOA-HMOHA Test Results
Table 15- 
WOA, PSO, MVO, DE, POA and IWOA-HMOHA Test Results

References

References is not available for this document.