1. Introduction
During ship repair and construction, material transportation is a critical link that guarantees the smooth execution of production plans [
1]. Thus, developing an efficient vehicle scheduling plan remains a critical research issue. Extensive studies have been devoted to logistics scheduling problems in shipyards.
Jiang et al. [
2] investigated a shipyard vehicle scheduling problem under the “multiple trucks to one cargo” mode and established a synchronization-constrained optimization model that minimizes non-value-added travel time and CO
2 emissions. Guo et al. [
3] took into account time windows and payload limitations during the transportation of ship components and proposed a model that minimizes empty travel time and energy consumption. In addition to transportation efficiency, on-time delivery is another major concern. Tao et al. [
4] incorporated task-priority relations and hard time windows into the component transportation problem.
From the above investigations, the shipyard logistics vehicle scheduling problem can be regarded as an extension of the vehicle routing problem (VRP) [
5].
For the classical VRP, Sang et al. [
6] developed a shop-floor scheduling model for automated guided vehicles (AGV) that simultaneously considers total travel distance, total tardiness, and machine depreciation cost. Lee et al. [
7] addressed a cold-chain routing problem for refrigerated trucks by introducing time windows that respect product storage requirements and shelf lives, and formulated a mixed-integer linear programming (MILP) model to maximize profit. Amir et al. [
8] studied a single-depot electric-vehicle scheduling problem in which battery charging and multi-day consecutive operations were explicitly modeled.
The aforementioned studies all address a single-depot scheduling scenario, namely, vehicles depart from and finally return to the same parking location. This restriction inevitably reduces operational flexibility, motivating researchers to investigate the multi-depot VRP (MDVRP). Xiao et al. [
9] proposed a semi-open multi-depot model that minimizes total travel distance. Azuero et al. [
10] minimized the number of allocated vehicles as well as emission cost under multi-depot and multi-product settings. Arias et al. [
11] optimized both total distance and the standard deviation of route lengths in a multi-depot scenario. Lopes et al. [
12] integrated the MDVRP with crew scheduling in a unified model.
The VRP family is NP-hard [
13]; consequently, a variety of solution approaches have been developed. Ananda et al. [
14] hybridized the whale optimization algorithm with a variable neighborhood search (VNS) for tourist trip design. Jiang et al. [
15] combined simulated annealing and VNS to solve a drone routing problem. Fan et al. [
16] embedded a neural network into a heuristic framework and reported superior performance compared with either pure neural or pure heuristic methods. Maichel et al. [
17] developed a multi-start local-search heuristic for the split-delivery VRP. In summary, meta-heuristics are the most common solution paradigm for VRP and its variants.
Although the aforementioned studies provide valuable insights, none of the existing models can be directly adapted to the operating mode of shipyard transportation vehicles. Therefore, this paper introduces a “dual-cycle” transportation strategy [
18] into the shipyard vehicle scheduling context and proposes a multi-vehicle, multi-depot MILP model that simultaneously considers task priorities, hard time windows, and inter-vehicle synchronization requirements. A bi-level genetic algorithm (GA) is designed to solve the model. Compared with the traditional single-cycle mode, the proposed strategy significantly reduces the empty-load ratio and improves transport efficiency. Parameter sensitivity analysis is conducted to determine the optimal fleet size under a given task volume.
The rest of the paper is structured as follows:
Section 2 presents the vehicle scheduling problem in shipyard outdoor logistics under the dual-cycle mode.
Section 3 presents the logistics vehicle scheduling model.
Section 4 introduces the scheduling optimization method based on the genetic algorithm.
Section 5 validates the method through experimental tests.
Section 6 concludes the study.
2. Vehicle Scheduling Problem in Shipyard Outdoor Logistics Under the Dual-Cycle Mode
2.1. Characteristics of Outdoor Logistics Scheduling
Based on the shipyard layout and its production operations, the scheduling of engineering vehicles exhibits the following characteristics:
(1) Multiple parking depots: Several parking depots with varying capacities are distributed within the yard.
(2) Fixed routes: The roadway network is simple, limiting vehicles to a fixed set of paths.
(3) Task priorities: Different transportation tasks have varying impacts on the overall project schedule, necessitating a priority hierarchy.
(4) Time windows: Designated personnel are required for loading/unloading, mandating that vehicles arrive within stipulated time intervals.
(5) Multi-vehicle cooperation: A single task may require coordinated execution by multiple vehicles.
2.2. Task-Point Construction and the Dual-Cycle Strategy
Based on the above characteristics of outdoor logistics scheduling in ship repair and construction, each transport task is abstracted as a loaded node to simplify modeling. The construction of a loaded node is as follows:
As illustrated in
Figure 1, every directed line segment represents a specific transportation task, where the endpoints correspond to the pickup and delivery locations, and the associated number indicates the task identifier. During model formulation, each segment is treated as a loaded node. Only the origin and destination of each node are considered functionally relevant, while the actual transit path is disregarded. Additionally, a virtual task point is introduced adjacent to each depot to facilitate decoupling between depot and task node within the model, under the assumption that the physical distance between them is negligible.
Certain node pairs are interconnected by two distinct directed segments: segments oriented in the same direction denote tasks occurring at different times but sharing the same origin and destination, whereas segments with opposing directions represent tasks with reversed origin–destination pairs.
The dual-cycle strategy dictates that a vehicle can be assigned a new task immediately upon completion of the current one, thereby establishing a continuous back-and-forth operational pattern. In contrast to the single-cycle approach, which requires a vehicle to return to its original depot after each task, the dual-cycle strategy permits a vehicle that has departed from any depot and serviced a loaded node to proceed directly to another loaded node or return to any depot of choice.
3. Logistics Vehicle Scheduling Model in Shipyard
Based on the above operational process description, a model is constructed for in-plant logistics vehicle scheduling. Prior to modeling, the following assumptions are made for the problem:
(1) The locations of all vehicle depots, pickup points, and delivery points are known.
(2) Information regarding all transportation tasks within a certain time period (e.g., one day) is known, including cargo volume, time windows, etc.
(3) All available delivery vehicles in the plant area are of the same model, and their maximum loading capacity is known.
(4) Tasks are considered divisible, meaning multiple vehicles can be assigned to collaboratively complete tasks whose cargo volume exceeds the maximum loading capacity of a single vehicle.
(5) Vehicle failures and traffic congestion are not considered, and vehicles travel at constant speed.
Before modeling, relevant variables and parameters are first defined as shown in
Table 1.
The optimization objective of the plant vehicle scheduling is to minimize the total empty travel time of vehicles required to complete all tasks, as shown in Equation (1).
The constraints are as follows:
Among these, Equations (2) and (3) ensure that tasks can be completed and that the number of vehicles arriving at a task point equals the number of vehicles departing from that point, i.e., task points can only serve as temporary parking locations. Equations (4)–(6) ensure that each vehicle can only depart from one depot and return to one depot, and cannot depart from a depot and return directly to the same depot. Equations (7) and (8) represent the depot capacity constraints. Equation (9) describes the relationship between the two variables xikj and xij. Equation (10) ensures the continuity of vehicle operation time. Equation (11) specifies that the temporary parking time at loaded points cannot exceed the given time limit. Equation (12) calculates the total number of vehicles used. Equation (13) represents the constraints on decision variables.
4. Scheduling Optimization Method Based on Genetic Algorithm
It is evident from the model that this vehicle scheduling problem constitutes a nonlinear mixed-integer programming problem. Such problems have been demonstrated to be NP-hard, and as the problem size increases, NP-hard problems become computationally intractable for verifying solution correctness within polynomial time. Genetic algorithm, being a well-established intelligent optimization technique, has found extensive application in solving problems of this nature. Consequently, this study employs the genetic algorithm for model optimization and solution.
4.1. Encoding and Decoding
The scheduling solution in this paper represents an individual chromosome in the genetic algorithm, employing a two-layer integer encoding scheme. The first layer represents vehicle numbers, while the second layer represents task numbers. If a task requires multiple vehicles for completion, the task number appears multiple times according to the number of vehicles required for that task. The sum of occurrences of all task numbers equals the chromosome length.
The upper part of
Figure 2 shows the number of vehicles required for each of the 5 tasks. In the example shown in the lower part, it can be observed from the first layer encoding that there are four vehicles in total. The entire chromosome encoding indicates that the transportation route for vehicle 1 is: 2→4; the transportation route for vehicle 2 is: 3→2→3→5; the transportation route for vehicle 3 is: 1→3; and the transportation route for vehicle 4 is: 4→3.
4.2. Population Initialization
First, the chromosome length is determined. Given that the total number of tasks within a certain time period is M, the sum of vehicles required for each task is M’, and the number of depots is N, the chromosome length is M’ + N. Both the vehicle numbers in the first layer and the task numbers in the second layer are randomly generated. Subsequently, decoding is performed to obtain the transportation route for each vehicle, and depot numbers are added at the beginning and end of the task sequence in the transportation route. The depot numbers are random integers within the range [M, M + N]. The above operations are repeated to generate all individuals.
4.3. Fitness Calculation and Selection Strategy
The objective function of the plant vehicle scheduling optimization model based on the “dual-cycle” approach is to minimize the total empty travel time of vehicles required to complete all tasks. This objective function value can intuitively reflect the quality of chromosomes, where smaller objective function values indicate better chromosome quality. Therefore, for solving this scheduling problem, the reciprocal of the objective function value is used as the individual fitness value, as shown in Equation (14), where
z(
i) represents the objective function value of individual
i. Meanwhile, the roulette wheel selection strategy is adopted, which determines the probability of being selected for the offspring population based on individual fitness values. The selection probability
p(
i) for individual
i is shown in Equation (15), where
N represents the total number of individuals.
4.4. Crossover
This paper adopts a position-based mapping crossover method. Using the chromosome encoding example from
Figure 2, the specific operations are as follows:
(1) Two chromosomes are selected from the population as parent 1 and parent 2 for crossover operation. Based on the chromosome string length, two unequal crossover points are randomly generated on each chromosome, dividing the two parent chromosomes into three parts. The specific operation is shown in
Figure 3, where the arrows are the positions of two crossover points and the blue part is the gene segment between the two crossover points.
(2) Find the sequential order of genes in the crossover segment of parent 1 that are mapped onto parent 2, then rearrange the genes according to the order of these genes in parent 2 to obtain the new gene segment of parent 1. If there are identical genes, the first occurrence of the gene is selected as the mapped gene when searching from front to back. Similarly, the crossover segment of parent 2 can also obtain a new gene segment through mapping with parent 1. The specific operation is shown in
Figure 4, where the arrows indicate the locations of gene mapping and the blue part is also the gene segment between the two crossover points.
(3) Replace the original crossover segments with the new gene segments to obtain the offspring chromosomes, as shown in
Figure 5, where the blue part is the genes obtained after performing the crossover operation.
4.5. Mutation
To ensure that the mutated chromosome still represents a feasible scheduling solution, this paper employs a swap mutation operator. For each chromosome in the population, a random number in the range [0,1] is first generated. When the random number is less than the mutation probability, the mutation operation is performed; otherwise, no mutation operation is conducted. After determining that a mutation operation is needed, two different genes are randomly selected on the chromosome, and their positions are swapped to generate a new chromosome. The operation is shown in
Figure 6, where the arrows are the positions of swap mutation points and the blue part is the genes that performs swap mutation.
5. Experimental Analysis and Discussion
In order to verify the effectiveness and feasibility of the vehicle scheduling model and proposed algorithm based on a “dual-cycle” strategy, an example is designed based on the actual survey data, and then the effectiveness of the proposed model and algorithm is verified. Finally, the sensitivity analysis of the model is conducted. All codes were solved based on MATLAB 2022a.
5.1. Experimental Parameter Setting
In this paper, the model is verified and solved based on the actual data of a shipyard in Zhoushan, and the specific data are as follows:
(1) There is one parking lot for workshop 1, dock 2, dock 3, and berth, and the total number of vehicles available for use is ten.
(2) The maximum number of parking lots in workshop 1 is five, and the maximum number of parking lots in other parking lots is four.
(3) The driving speed of vehicles in the factory is 0–60 m/min, and the average driving speed of vehicles can be considered to be 30 m/min.
(4)
Table 2 shows the number of important nodes in the factory.
(5) The distance of each node in the ship repair plant is shown in
Table 3. For the node with parking lot, the default distance from the parking lot to the corresponding node is 5 m.
(6) The task information in a certain period of time is shown in
Table 4, where the time window is the approximate time window, and the specific time window of each task follows the normal distribution with the approximate time window given as the mean and five as the standard deviation.
Algorithm parameter settings: The parameters in the genetic algorithm are designed as follows: population size NIND = 100; the maximum number of iterations Gmax = 500; crossover probability Pc = 0.9; and mutation probability Pm = 0.1.
5.2. Comparison with Other Methods
To validate the effectiveness of our proposed scheduling optimization method based on GA, we compare it with the particle swarm optimization (PSO) [
19] and whale optimization algorithm with variable neighborhood search strategy (WOA-VNS) [
14]. We run the experiment instance 20 times, and achieve the mean results.
Table 5 presents the total cost and average reduction in no-load rate of the three methods, where the best result is marked in bold. We find that our proposed scheduling optimization method based on GA obtains the better result than the PSO and WOA-VNS in terms of the total cost (i.e., total empty travel time) and average reduction in no-load rate. This implies the superiority of the proposed algorithm in solving the studied problem.
Figure 7 shows the curve changes in the optimal value of the objective function of the three scheduling algorithms. It can be seen from the figure that the curve of our proposed algorithm changed smoothly and maintained a better evolution trend. At the end of the evolution process, our proposed algorithm converges to the smallest objective function value.
5.3. Effect of Dual-Cycle Strategy
To validate the effectiveness of the dual-cycle strategy, we obtain the specific scheduling schemes with the dual-cycle strategy. We set the total number of vehicles as 10. In this case, the algorithm gives four different scheduling schemes according to the number of vehicles used, as shown in
Table 6,
Table 7,
Table 8 and
Table 9. As for
Table 6,
Table 7,
Table 8 and
Table 9, it should be noted that numbers less than 100 represent the number of transportation tasks, while numbers greater than 100 represent the number of nodes (as defined in
Table 2) plus the total number of tasks.
The pairs of four schemes are shown in
Table 10. The results show that after applying the “dual-cycle” strategy, the average reduction rate of the four schemes is about 80%, indicating that the strategy has a significant effect on reducing the vehicle empty rate.
As in
Table 10, the average reduction rate of the four schemes is relatively close, and the total cost of the first three schemes is also relatively close, but the total cost of the fourth scheme is significantly reduced compared with the first three schemes. Therefore, the first scheme can be selected from the perspective of using the least number of vehicles. If the enterprise management decision-maker considers cost issues, the fourth scheme should be a preferable choice.
5.4. Effect of Task Priorities and Time Window
This section discusses the impact of task priorities and time window on scheduling performance. We make modifications to our proposed scheduling model (referred to as Model 1) in
Section 3 and proposed two variant models. The first variant model (referred to as Model 2) is a model obtained based on Model 1, excluding the task priorities. The second variant model (referred to as Model 3) is the model obtained by removing the time window from Model 1. Each model is optimized by our proposed algorithm for 20 times. The mean optimal objective function values under different models are compared in
Table 11. For
Table 11, the total costs of Model 2 and Model 3 are both larger than that of Model 1, while the average reductions in no-load rate of Model 2 and Model 3 are both smaller than that of Model 1. This means that both task priorities and time window have an impact on scheduling performance. In particular, for the two influencing factors, the task priorities have a greater impact on scheduling performance.
5.5. Sensitivity Analysis
Based on the case in the previous section, when the number of available vehicles is increased from 10 to 15, the changes in the total cost and the average reduction ratio of empty vehicles are analyzed.
Figure 8 shows the change in the total cost when the number of available vehicles is increased. Obviously, the total cost shows a decreasing trend with the increase in the number of vehicles used, and the total cost is significantly reduced when the number of vehicles is increased from 9 to 10. However, when the number of vehicles used exceeds 10, the total cost only decreases slightly. This indicates that the optimal number of vehicles used is 10 in the current actual task situation.
Figure 9 shows the change in the average reduction in no-load ratio for different numbers of vehicles used. As the number of vehicles used increases, the average reduction empty rate gradually decreases. This is because with the same number of tasks assigned to more vehicles, each vehicle completes fewer tasks individually and returns to the parking lot earlier, therefore the average reduction rate decreases.
6. Conclusions
This paper introduces the dual-cycle operation mode into the scheduling of logistics vehicles in the factory, and analyzes the significant effect of the “dual-cycle” scheduling strategy on reducing the vehicle empty rate and improving the transportation efficiency. By constraining the continuous variables of vehicles and factory tasks, the vehicle scheduling scheme is determined. Aiming to reduce the vehicle empty rate, a multi-depot vehicle scheduling model based on the concept of “dual-cycle” is established, and a vehicle scheduling method based on the genetic algorithm is designed to solve the model. It is proved that under the same resource allocation, the application of the “dual-cycle” strategy and the proposed algorithm can significantly reduce the vehicle no-load rate.
Author Contributions
Conceptualization, J.Z., W.L. and T.Y.; methodology, H.W. (Haifei Wu), H.W. (Hailong Weng), L.H. and T.Y.; software, L.H. and W.L.; validation, H.W. (Haifei Wu), H.W. (Hailong Weng), L.H. and T.Y.; formal analysis, H.W. (Haifei Wu), H.W. (Hailong Weng), L.H. and T.Y.; investigation, H.W. (Haifei Wu), H.W. (Hailong Weng) and L.H.; resources, L.H. and W.L.; data curation, H.W. (Haifei Wu), H.W. (Hailong Weng), L.H. and T.Y.; writing—original draft preparation, J.Z., H.W. (Haifei Wu), H.W. (Hailong Weng) and L.H.; writing—review and editing, L.H., W.L. and T.Y.; visualization, L.H. and T.Y.; supervision, J.Z. and W.L.; project administration, J.Z.; funding acquisition, L.H. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Scientific Research Project of China COSCO Shipping Group. (No. 2023-2-Z002-07), Scientific research project of COSCO Shipping Heavy Industry Co., Ltd. (No. KY23ZG11) and National Natural Science Foundation of China (No. 62403367).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Conflicts of Interest
Authors Jianhua Zhou, Haifei Wu, Hailong Weng and Taiwei Yang are employed by COSCO Shipping Heavy Industry (Zhoushan) Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest. The authors declare that this study received funding from the Scientific Rese arch Project of China COSCO Shipping Group. (No. 2023-2-Z002-07), Scientific research project of COSCO Shipping Heavy Industry Co., Ltd. (No. KY23ZG11) and National Natural Science Foundation of China (No. 62403367). The funder had the following involvement with the study: Provided funding to complete the research conceptualization, methodology, software, resources, and funding acquisition.
References
- Sun, M.; Liang, C.; Chang, D. Enhancing shipyard transportation efficiency through dynamic scheduling using digital twin technology. PLoS ONE 2024, 19, e0297069. [Google Scholar] [CrossRef] [PubMed]
- Jiang, Z.; Chen, Y.; Li, X.; Li, B. A heuristic optimization approach for multi-vehicle and one-cargo green transportation scheduling in shipbuilding. Adv. Eng. Inform. 2021, 49, 101306. [Google Scholar] [CrossRef]
- Guo, H.; Wang, J.; Sun, J.; Mao, X. Multi-objective green vehicle scheduling problem considering time window and emission factors in ship block transportation. Sci. Rep. 2024, 14, 10796. [Google Scholar] [CrossRef] [PubMed]
- Tao, N.R.; Jiang, Z.H.; Liu, J.F.; Xia, B.X.; Li, B.H. A metaheuristic algorithm to transporter scheduling for assembly blocks in a shipyard considering precedence and cooperating constraints. Discrete Dyn. Nat. Soc. 2019, 2019, 1–14. [Google Scholar] [CrossRef]
- Hao, Y.; Chen, Z.; Sun, X.; Tong, L. Planning of truck platooning for road-network capacitated vehicle routing problem. Transp. Res. Part E Logist. Transp. Rev. 2025, 194, 103898. [Google Scholar] [CrossRef]
- Sang, H.Y.; Li, Z.K.; Tasgetiren, M.F. An effective optimization method for integrated scheduling of multiple automated guided vehicle problems. Tsinghua Sci. Technol. 2024, 29, 1355–1367. [Google Scholar] [CrossRef]
- Lee, S.J.; Kim, B.S. Vehicle routing and scheduling problem with order acceptance for pharmaceutical refrigerated logistics. Appl. Soft Comput. 2024, 164, 111983. [Google Scholar] [CrossRef]
- Davetgari, A.; Cokyasar, T.; Verbas, O.; Mohammadian, A. Heuristic solutions to the single depot electric vehicle scheduling problem with next day operability constraints. Transp. Res. Part C Emerg. Technol. 2024, 163, 104656. [Google Scholar] [CrossRef]
- Xiao, S.; Peng, P.; Zheng, P.; Wu, Z. A Hybrid Adaptive Simulated Annealing and Tempering Algorithm for Solving the Half-Open Multi-Depot Vehicle Routing Problem. Mathematics 2024, 12, 947. [Google Scholar] [CrossRef]
- Azuero-Ortiz, J.S.; Gaviria-Hernández, M.A.; Jiménez-Rodríguez, V.M.; Vale-Santiago, E.J.; González-Neira, E.M. Design of a hybridization between tabu search and PAES algorithms to solve a multi-depot, multi-product green vehicle routing problem. Decis. Sci. Lett. 2023, 12, 441–456. [Google Scholar] [CrossRef]
- Londoño, A.A.; González, W.G.; Giraldo, O.D.M.; Escobar, J.W. A hybrid heuristic approach for the multi-objective multi-depot vehicle routing problem. Int. J. Ind. Eng. Comput. 2024, 15, 337–354. [Google Scholar] [CrossRef]
- Simões, E.M.L.; Batista, L.S.; Souza, M.J.F. A matheuristic algorithm for the multiple-depot vehicle and crew scheduling problem. IEEE Access 2021, 9, 155897–155923. [Google Scholar] [CrossRef]
- Stamadianos, T.; Taxidou, A.; Marinaki, M.; Marinakis, Y. Swarm intelligence and nature inspired algorithms for solving vehicle routing problems: A survey. Oper. Res. 2024, 24, 47. [Google Scholar] [CrossRef]
- Ananda, S.P.; Baizal, Z.K.A.; Wulandari, G.S. Improved whale optimization algorithm with variable neighbourhood search strategy (WOA-VNS) in solving vehicle routing problem (VRP) for recommending multi-days tourist routes in Yogyakarta. Int. J. Intell. Eng. Syst. 2024, 17, 694–710. [Google Scholar]
- Jiang, Y.; Liu, M.; Jia, X.; Xue, Q. The multi-visit vehicle routing problem with multiple heterogeneous drones. Transp. Res. Part C Emerg. Technol. 2025, 172, 105026. [Google Scholar] [CrossRef]
- Fan, M.; Wu, Y.; Cao, Z.; Song, W.; Sartoretti, G.; Liu, H.; Wu, G. Conditional neural heuristic for multiobjective vehicle routing problems. IEEE Trans. Neur. Net. Lear. 2025, 36, 4677–4689. [Google Scholar] [CrossRef] [PubMed]
- Aguayo, M.M.; Aviles, F.N.; Sarin, S.C.; Archetti, C. The vehicle routing problem with transfers. Comput. Oper. Res. 2025, 177, 106980. [Google Scholar] [CrossRef]
- Li, Y.; Sun, Z.; Hong, S. An exact algorithm for multiple-equipment integrated scheduling in an automated container terminal using a double-cycling strategy. Transp. Res. Part E Logist. Transp. Rev. 2024, 186, 103565. [Google Scholar] [CrossRef]
- Cai, L. Decision-making of transportation vehicle routing based on particle swarm optimization algorithm in logistics distribution management. Clust. Comput. 2023, 26, 3707–3718. [Google Scholar] [CrossRef]
| Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).