The presented algorithm is coded in MATLAB language and was tested on a PC with Intel Core (TM) i7-8700 3.20 GHz CPU, 16 GB RAM, and Windows 10 OS. Since the HFGVRPTW is a relatively new problem and does not have a publicly standard instance [
14], this type of problem can be regarded as an important extension of the classic VRPTW but divided into various categories by vehicle capacities. Thus, the widely used Solomon instance for classic VRPTW development is also applied to test the performance of GA-LNS algorithm [
37]. This computational experiment is divided into two phases of performance analysis, both in terms of effectiveness and energy-saving effect. In the effectiveness analysis, we use GA-LNS to solve the benchmark instances of different customers’ scales to investigate the efficiency and performance of our proposed algorithm. In the energy-saving effect, we use an experiment on real FMS to measure the energy-saving performance of the proposed loading method.
5.1. Instances and Results Comparison
The Solomon’s benchmark instance was proposed in 1987. It composed of three different distribution pattern of customers locations which is divided into six categories [
37], with clustered (C1, C2), randomly located (R1, R2), or semi-clustered (RC1, RC2). According to reference [
38], a selected Solomon’s benchmark instance set can be used to test the performance of an algorithm.
In Solomon’s benchmark instances, the customer geographical coordinates, demands and service times are the same. The difference between the groups of instances indexed by 1 and those indexed by 2 stand the intervals density of time windows. Time window density refers to the percentage of customers with time windows. Furthermore, in the instance sets of Solomon, 01/05/09, 02/06/10, 03/07/11, and 04/08/12 respond to the instances with 100%, 75%, 50%, and 25% time windows, respectively [
7]. According to the scale of the test instances, Solomon’s benchmark instances can be divided into three problem scales, namely, the small-scale instances with 25 customers, the medium-scale with 50 customers, and the large-scale instances with 100 customers [
39].
In this study, in order to illustrate the effectiveness of GA-LNS in solving VRPTW, we selected six sets of instances with different time window densities under three different customers scales. For each instance, we have run the program for 10 times, then a statistics analysis is undertaken for the computing results.
Table 3,
Table 4 and
Table 5 present the results of three different customer scales. To illustrate the advantages and disadvantages of the GA-LNS, we analyze the experimental mathematical results obtained by GA-LNS by comparing with the best results published and other intelligent algorithms for the large-scale of customers is shown in
Table 6 and
Table 7.
As shown in
Table 3 and
Table 4, the following observations can be obtained. The solutions obtained by GA-LNS are very similar with the published best results, considering either the total of traveled distance or vehicle fleet size. As we can be seen, in
Table 3, the proposed algorithm performs extremely well on the Solomon instance. Besides that, improves or achieves the best-known solution of the hybrid GA to 17 of 24 instances. Moreover, it is about 29.2% better than the hybrid GA. For these medium-scale instances, the gap between the best-known solution and the optimal solution varies from 0.03% to 1.93% while the average gap is 0.32%. To conclude, the proposed algorithm can achieve a competitive solution and the effectiveness is proven through small and medium-scale instances.
In most large-scale Solomon instances, GA-LNS can maintain a competitive optimal solution as shown in
Table 5. For the categories of C and R instances, the gap between the best-known solution and the computational solution to the proposed algorithm varies from 0.00% to 9.55% while the average gap is 2.33%. Another phenomenon should be mentioned is that in large-scale RC instances, GA-LNS show more fluctuation performances than other categories of instances. The reason may be that in RC type instances, the original problem instances have conflict solution objectives. Since customer points are relatively discrete and some customers have relatively long service time windows, which means the reducing fleet of vehicle size will increase travelling distance, and the performance of the algorithm becomes unstable. We can further the optimization performance of the algorithm by increasing the population size and evolution algebra.
In
Table 6, the saving algorithm, LNS, simulated annealing algorithm (SA), GA, ant colony optimization (ACO) as well as simulated annealing algorithm based on large neighborhood search (SA-LNS) and improved ant colony algorithm (HACO) that can represent hybrid optimization algorithms were adopted, respectively. References [
40,
41,
42,
43,
44] use the same as numerical instances this study which can used for an indirect comparison with the algorithm performance. The details of these proposed algorithms can be found in the relevant references, and the results of a comparison of these algorithms are given in
Table 6 together.
Table 7 summarizes the average results from each of the Solomon data sets of the large-scale problems. Three numbers are associated with the average number of traveled vehicle (NV), average total traveled distance (TD) and the increased percentages from the published best results (TD%) for each paper. It can be seen from
Table 7 that ACO algorithm has the worst solving quality among the 24 groups of instances, with a maximum gap is 74.76% and the average gap is 50.10%. The solution quality of p-SA and GA are general, with a maximum gap of 16.33% and 20.48% and average gap of 4.55% and 4.92%, respectively. The solution quality of GA-LNS is better, with a maximum gap of 6.16% and an average gap of 2.22%. In this paper, the SA-LNS solution quality is the best: the maximum gap is 5.86% and the average gap is 0.98%. Although it is worth clarifying that works [
40,
44] have considered the minimum number of vehicles as the first optimization objective, the other works have considered the total traveled distance as the first objective. The vehicle fleet size is fitness in terms of references [
40,
44]. GA-LNS reduced the vehicle number effectively, an average of five fewer vehicles compared with the saving algorithm, it is basically the same as the fleet size solved by [
44]. The performance of GA-LNS is slightly lower than that in [
44] in terms of traveling distance, but higher than that in [
40,
41,
42,
43]. However, the solution results of most instances confirm the viability of GA-LNS approaches for traveled distance minimization in the VRPTW and reduction of distribution cost.
Figure 8 shows the GAP curve for these Solomon instances. The horizontal axis represents the number of instances in
Table 6 and
Table 7, the vertical axis is the optimal solution result of proposed algorithm. From the
Figure 8, it is easy to conclude that GA-LNS can achieve an acceptable optimization effect. Furthermore, it performs better than most of other algorithms which are used for comparison in this article. Therefore, it can be concluded that the proposed algorithms has a relatively strong robustness and optimization ability, it can provide high-quality solutions to the HFGVRPTW.
5.2. Instance Verification
To verify the benefits of the proposed energy-saving model, explore the factors affecting optimization objectives of AGV in the process of performing production tasks, this experiment was carried out the simulation of heterogeneous multitype fleet AGVs in an actual FMS.
5.2.1. Real Case Application
The FMS was mainly composed of automated workstations, automated flexible material handling system (conveyors and AGVs), dedicated dispatch control system and a buffer for storing materials, which can realize the automatic production of some high-precision parts. The workshop layout of this FMS is shown in
Figure 9.
AGV is a flexible material handling device that is automatically steered to accomplish its assigned task inside the system. The corresponding production task is to move the materials that have been produced from the workstation to the buffer for storing materials area for storage. After the dedicated dispatch control system assigns tasks and the path planning for one AGV, the AGV sets out from the starting point, travels along the assigned path, completes the corresponding transportation task and returns to the starting point to wait for next schedule.
The FMS uses two types of AGVs to providing materials transportation. The main technical parameters of the heterogeneous fleet AGVs are listed in
Table 8.
The docking stations for loading and path intersections were abstracted as nodes, and each edge presents a transportation path laid by the magnetic stripe. The path attribute is defined as a bidirectional path with a single unit capacity. Therefore, there will not be any deadlocks and conflicts between AGVs. Twenty instances were generated to validate the energy effectiveness and optimization of the proposed model and mathematical algorithm. Instances are represented in the following
Table 9. The distance between two nodes
and
is equal to the Manhattan distance between them. In this actual system, there is no production priority between workstations and each AGV corresponds to one assigned transportation path.
During a representative production time period, we compared the energy consumption traveled by the single type AGVs with the heterogeneous multitype AGVs solutions produced by our algorithm. For this instance, we ran the program for 10 times, then a statistics analysis was undertaken to compute results.
5.2.2. Numerical Analysis of Experimental Results
Table 10 and
Table 11 correspond to the result of the homogeneous multitype fleet using GA-LNS algorithm to solve the actual instance and
Table 12 represents the path information loaded by heterogeneous multitype AGVs fleet.
Table 10 and
Table 11 show that the distribution center sends 10 type 1 AGVs or six type 2 AGVs to serve all loading points. For a homogeneous vehicle fleet which is using the type 1 AGVs, the total traverse distance and energy consumption are 998.7 m and 143.02 kJ. Besides, for the homogeneous vehicle fleet, which is composed of type 2 AGVs, the total traverse distance and energy consumption are 570.80 m and 138.51 kJ, respectively.
In
Table 12, the different types of AGVs are compared. We compared the heterogeneous AGVs fleet with the type 1 and type 2.
Table 13 shows the results that the benefit of using the heterogeneous vehicle fleet. As shown as
Table 13, compared with single use type 1, the heterogeneous fleet AGVs in terms of
can be reduced by 40.38% from 998.7 to 595.45,
reduced by 13.89%, average fleet loading rate increased from 78.50% to 80.42%.
This comparison clearly shows that, at least for the actual instance considered in this paper, heterogeneous fleet distribution strategy can significantly reduce and under the premise of ensuring average loading rate.
In addition, it is worth noting that the fleet size of using type 1 transportation is 10, the fleet size of using heterogeneous fleet transportation is 6. Inside the workshop of FMS, in the case of excessive traffic volume, it will undoubtedly cause frequent conflicts and deadlocks between AGVs. While causing a decrease in production efficiency, it will have negative impact on the production plan. Therefore, the use of heterogeneous multitype AGV fleets in FMS has a positive effect on reducing the traffic flow inside the workshop.
When using type 2 AGVs to execute the loading tasks, the
of heterogeneous fleets reduced from 138.51 to 123.15, the average loading rate of the fleet increased significantly, whereas the traveled distance increased by only 4.32% from 570.8 to 595.45. In general, the experiments results demonstrate that it is necessary to investigate the features and the benefits of HFGVRPTW in more details and to analyze carefully the tradeoff between the solution of heterogeneous fleet of AGVs. Additionally, for the homogeneous fleet consisting of type 2, the decreased number of AGVs leading to single AGV task chain is too long. As a result, it is difficult to respond to loading tasks in FMS in a timely manner, and the AGV loading rate is also maintained at a low level while affecting the punctual rate of tasks in the entire workshop. In the heterogeneous multitype AGV fleet which are not full load in the instances of same time windows. For example, the first AGV in
Table 11 has a loading rate of only 50% when returning to the starting point. After loading and transporting with a heterogeneous fleet, loading point 3 is replaced with point 10 of the large load. This method can increase the average load rate of the vehicle fleet.
To sum up, through the application and analysis of instances, it can be shown that the proposed GA-LNS effective and robustness is well. In FMS, introducing heterogeneous fleet of AGVs with different capacities and energy consumption opening a tremendous potential for energy-saving.