Abstract

The timeliness of the steel distribution center process contributes to the smooth progress of ship construction. However, carbon emissions from vehicles in the distribution process are a major source of pollution. Reasonable vehicle routing and scheduling can effectively reduce the carbon emissions of vehicles and ensure the timeliness of distribution. To solve this problem, a green vehicle routing and scheduling problem model with soft time windows was proposed in this study. An intelligent water drop algorithm was designed and improved and then compared with the genetic algorithm and the traditional intelligent water drop algorithm. The applicability of the improved intelligent water drop algorithm was demonstrated. Finally, this algorithm was applied to a specific example to demonstrate that the improved intelligent water drop algorithm effectively reduced the cost of such green vehicle problems, thus reducing the carbon emissions of vehicles during the distribution process and achieving reductions in environmental pollution. Ultimately, this algorithm facilitates the achievement of green shipbuilding.

1. Introduction

The shipbuilding industry is an intensive manufacturing industry that integrates labour, capital, and technology. The shipbuilding industry requires long working hours and has a high demand for resources and labour. This industry also exhibits a strong correlation with technology level. While providing tremendous wealth for human beings, the shipbuilding industry is also constantly producing pollutants, which have a serious negative impact on the environment. There are also several problems in the ship manufacturing process, such as waste of resources caused by the improper selection and utilization of materials and pollution of air, soil, and water. Therefore, it is necessary to promote green shipbuilding technology. Green shipbuilding is the necessary direction for shipbuilding industry reform.

The goal of green ship manufacturing is to minimize the amount of waste and harmful emissions produced during the life cycle of ship design, manufacture, service, and decommissioning, with the goal being to reduce pollution to air, water, and land. Green ship manufacturing considers the entire process of product demand, design, manufacture, and operation, while simultaneously considering the products, environment, resources, and human beings required and the environmental factors and resource utilisation efficiency of the process. Thus, green ship manufacturing strives to minimize the impacts on the environment and maximize the utilisation rate of resources, thereby providing economic and social benefits [1].

According to relevant records, logistical costs account for a large proportion of manufacturing industry costs in China; logistical costs can account up to 30%–40% of an enterprise’s production costs. The shipbuilding industry is a large manufacturing industry, and the types and quantities of materials purchased have reached an astonishing level, which has led to higher logistical costs. Steel is a necessary product of the shipbuilding industry and is in enormous demand. Transportation costs are the logistical costs of steel procurement; other costs include handling, warehousing, sorting, and distribution. In today’s steel market, fluctuation in steel prices and the punctuality of distribution restrict the necessary reform and upgrading of China’s shipbuilding industry. Establishment of a shipping steel processing and distribution center will greatly reduce the costs of shipyard inventory and logistics and improve the supply chain environment of marine steel.

Steel distribution is the main service of distribution centers; however, distribution services are also the main producers of carbon emissions. According to the TERM 2011 report issued by the European Environment Agency, in 2009, transport (including international shipping) accounted for 24% of the total greenhouse gas emissions in 27 European Union countries [2], and road transport accounted for 17% of the total greenhouse gas emissions [3]. Therefore, it is crucial to study carbon emissions in the steel distribution process [4, 5], as this process plays an important role in the development of green shipbuilding.

The vehicle routing problem (VRP) is a classical combinatorial optimisation problem that is common in many fields and applications. It was first proposed by Dantzig and Ramser in 1959 [6]. The goal is to minimise the total cost or transportation routes. Following an in-depth study of various practical problems, a large number of variations have been generated based on the traditional VRP problem; these include the capacity-constrained VRP [7], the VRP with time window (VRPTW) [8], the simultaneous delivery VRP [9], the stochastic VRP (SVRP) [10], and the stochastic demand VRP [11, 12]. At the same time, a variety of algorithms for these different types of problems have emerged. The most common solutions are the genetic algorithm [13, 14], the ant colony algorithm [15], the tabu search algorithm [16, 17], the two-stage method [18], and other heuristic algorithms. Many researchers have achieved significant improvements based on traditional heuristic algorithms [1921].

Most of these traditional VRPs aim to minimise the fixed cost of vehicles, the cost of workers, or the number of vehicles used, and the driving route. The green vehicle routing and scheduling problem (GVRSP) was first proposed by Xiao and Konak in 2015 [22], and a more comprehensive version was published in 2016 [23]. However, the authors only provided a general situation, and this cannot meet the logistical distribution requirements of large-scale engineering projects typically represented by ship steel distribution centers. Zhang et al. [24] proposed a VRP that considered fuel consumption and carbon emissions. Specifically, the fuel cost, carbon emission cost, and vehicle use cost were incorporated into the traditional VRP problem, and a low-carbon path problem model was established. Jin and Jiang-Hua [25] studied a VRP with time windows that considered carbon emissions and speed optimisation. A speed-based carbon emission calculation method was introduced, and a mixed integer programming model was established, in which fuel, carbon emissions, and travel time costs were minimised.

Ship construction must be undertaken in strict accordance with production plans; otherwise, serious project delays and huge cost losses will occur. Ship steel distribution time requirements are very strict; thus, it is necessary to allocate greater penalties for early or late arrival to urge distribution centers to distribute on time, ensuring the smooth construction of ships. Therefore, given the insufficiency of the abovementioned research, combined with the actual demands of shipyards and steel distribution centers in shipbuilding enterprises, the present study fully considers distribution costs and carbon emissions to minimise carbon emissions and comprehensive costs. Thus, we establish a mixed integer linear programming (MILP) model for the green vehicle routing and scheduling problem with soft time window (GVRSP-STW).

The intelligent water drop (IWD) algorithm was first proposed by Shah-Hosseini [26] in 2007 to simulate the process by which water droplets in nature overcome obstacles and find a simple path to the ocean. In the process of optimisation, water droplets find the optimal path in the river by simulating the flow process of the river, changing their own velocity, carrying small amounts of soil, and constantly renewing the amount of soil in the river channel. The IWD algorithm has been applied in many natural science and engineering fields and has demonstrated significant advantages and potential. The IWD algorithm has also been applied to many combinatorial optimisation problems, including TSP [27], multiple knapsack [28], vehicle routing [29], and job shop scheduling [28, 30, 31], with satisfactory results. Kamkar et al. [32] used intelligent water droplet algorithm to solve the VRP problem in 2010. Fourteen benchmark VRP problems were experimented. The experimental results were compared with several other metaheuristic algorithms (simulated annealing algorithm, tabu search algorithm, and ant colony algorithm). The results show that the intelligent water droplet algorithm can converge to the optimal solution quickly and get better results. Therefore, in view of the problems raised in this paper, the intelligent water droplet algorithm is chosen to solve them.

The above research shows that the IWD algorithm is suitable for solving the VRP problem, providing greater efficiency and better results than other heuristic algorithms. However, to date, there is a scarcity of studies on solving VRP problems using this algorithm, and there is even less research applying this algorithm to the green vehicle routing optimisation problem.

In the current study, an improved IWD (IIWD) algorithm was designed to solve the green vehicle routing optimisation problem. A mutation operator was added to the traditional IWD algorithm to prevent the algorithm from falling into the local optimal solution; faster convergence is also achieved in solving the optimal solution [33]. The correctness and effectiveness of the model and the algorithm are demonstrated in this study. Finally, the IIWD algorithm was applied to the GVRSP-STW for the first time.

The remainder of the paper is organised as follows. Section 2 reviews the related literature. Section 3 describes the problem and proposes a mixed integer programming formulation. Section 4 gives details of the IIWD algorithm. Computational results for numerous instances are reported in Section 5. Conclusions and future research directions are provided in Section 6.

2. Problem Description and Formulation

2.1. Problem Description

The VRP between steel distribution centers and shipyards is shown in Figure 1 [34] and can be described as follows: a steel distribution center has a certain number of different types of vehicles, and steel is transported to several designated shipyards; the quantity of steel to be delivered to each shipyard is determined. Distribution centers assign vehicles to transport steel from distribution centers to shipyards according to the order requirements of different shipyards. Distribution centers need to comprehensively consider and make rational decisions on distribution vehicles, the distribution sequence, and the distribution scheme. Under the constraints of the maximum loading capacity of the vehicles and the need to satisfy the shipyard’s delivery demand, the comprehensive costs, including the depreciation cost, manpower cost, and carbon emissions, are considered to achieve the lowest possible distribution costs.

The GVRSP-STW problem studied in the present study can be defined as follows. The known steel distribution center has a team of vehicles of the same type. The vehicles have a load capacity, fixed cost, carbon emissions, and other parameters. The distribution center serves N shipyards. The coordinates of each shipyard are known, and the demand is known. The distribution vehicles load steel from the distribution center and deliver goods to N shipyards. One vehicle must complete the delivery task for each shipyard. Each vehicle must start from the distribution center and return to the distribution center when the goods are delivered. The cost of each distribution vehicle consists of three parts: the fixed use cost of the vehicle, the cost of fuel and carbon emissions, and the driver’s salary. The optimisation objective of this problem is to rationally allocate vehicles and arrange the vehicle distribution routes to minimise the total cost, taking into account both vehicle operating costs (including fixed use costs and driver’s wages) and fuel and carbon emission costs.

2.2. Assumptions

Before further study, in order to facilitate the study of the problem and the establishment and solution of the model, the following assumptions are made:(1)There is only one distribution center, and the location coordinates of the distribution center and the shipyards are known.(2)The capacity of each vehicle can meet the needs of at least one shipyard at the same time, and the vehicles in the distribution center can meet the distribution needs of all shipyards.(3)The load of each vehicle during transportation shall not exceed its maximum load.(4)Vehicles in distribution centers are of the same type, and the maximum load is known.(5)Each vehicle leaves the distribution center and returns to the distribution center after serving all shipyards. Each shipyard is allowed to visit only once.(6)Vehicles can be loaded and unloaded immediately after arrival at the shipyard without waiting.(7)The time for shipyards to allow distribution centers to provide services is fixed.(8)The time spent in vehicle service is known, and the vehicle starts immediately after the shipyard completes the loading and unloading task.

2.3. Mathematical Model

Define a digraph as , is a set of nodes, node 1 represents the distribution center, and represents the set of arcs between two nodes. represents the shipyard node. There are vehicles of the same type in the yard, and the maximum capacity is . Each arc represents the shortest distance between node and node , and the distance between arcs is represented by . Each shipyard has two requirements: reflects the weight of steel to be delivered to shipyard by the distribution center, and shipyard requires the distribution center to distribute steel during period. The arrival time of vehicle at shipyard is recorded as , and the service time of vehicle at shipyard is recorded as .

Therefore, the fuel and carbon emissions of vehicle k travelling between the arc ends can be calculated according to the following formula [35]:where is the cost of fuel and the carbon emissions per unit, is the distance of arc section , is the fuel consumption per unit distance to no-load vehicles, is the additional fuel consumption per unit distance of goods loaded per unit weight, and is the total amount of cargo that must be delivered to all the shipyards to be visited after vehicle arrives at shipyard to complete the loading and unloading task.

Based on the above description and assumptions, the GVRSP-STW problem is modelled as a MILP model. The parameters required in the MILP model are listed in Table 1.

Decision variables:

: when vehicle serves shipyard and then goes to shipyard for loading and unloading service,  = 1; otherwise,  = 0.

In summary, the total cost considered in this model consists of four parts:(1)Fixed use costs of vehicles:(2)Manpower expenditure of vehicles:(3)Fuel and carbon emission costs:(4)Penalty cost for vehicle failure to arrive on time:

Therefore, the objective function can be expressed as

The constraints are

Formulas (7)–(9) guarantee that each shipyard can only be served once; formula (10) denotes the total amount of cargo on board to be distributed to all subsequent shipyards when the vehicle departs the distribution center; formula (11) denotes the total amount of cargo to be delivered to all subsequent shipyards to be visited after the arrival of the vehicle at the shipyard; formula (12) denotes that the total amount of cargo carried by each vehicle cannot exceed the maximum capacity of the vehicle; formula (13) guarantees that the same vehicle arrives and leaves each shipyard; formula (14) indicates the time that the vehicle arrives at the shipyard; and formula (15) ensures that the arrival time of vehicle k at the shipyard must be greater than or equal to the earliest time window required by the shipyard and that the time after arrival at the shipyard to completion of unloading must be less than or equal to the latest time window required by the shipyard.

3. Improved Intelligent Water Drop Algorithm

The IWD algorithm simulates the movement of water droplets in nature and finds the optimised path. Each water droplet simulates the movement of a car. Each droplet starts from the distribution center, chooses the next accessible node from the unavailable list, and updates the weight of the goods carried by the vehicle. When the weight of the water droplet exceeds the vehicle load or all accessible nodes are visited, the water droplet returns to the distribution center; this constitutes a completed vehicle route. The next intelligent water droplet starts to run until all nodes are visited and completed iteratively. Traditional IWD algorithms tend to converge slowly and often fall into obtaining a local optimum. To avoid this situation, an IIWD algorithm was designed. Elite strategy and variable neighborhood search mechanisms were added to ensure that the algorithm jumps out of local optimum and avoids prematurely converging.

In the IIWD, a water drop starts from distribution center 1, travels through various demand points along different paths, and finally returns to the distribution center to form a complete flow path (water droplets in the path can pass through distribution center 1 many times, but each demand point can only be passed through once). The complete flow path of each water droplet corresponds to a solution of the problem. If the complete flow path of a water drop is 1 ⟶ 6 ⟶ 2 ⟶ 1 ⟶ 3 ⟶ 4 ⟶ 7 ⟶ 1 ⟶ 9 ⟶ 5 ⟶8 ⟶ 1, the distribution path of three vehicles is 1 ⟶ 6 ⟶ 2 ⟶ 1, 1 ⟶ 3 ⟶ 4 ⟶ 7 ⟶ 1, and 1 ⟶ 9 ⟶ 5 ⟶ 8 ⟶ 1.

The specific design of the IIWD algorithm was as follows:

Step 1. Parameter initialization: static variables include droplet number N, initial velocity Initvel, iteration maximum number Iter, droplet velocity update parameters ,, , soil quantity update parameters ,, , local and global soil renewal coefficients and , initial state path soil amount Initsoil, location coordinates of the distribution center and shipyards, demand of the shipyards, time window interval, distribution service time, time penalty coefficient, and other static variables in the model. Traditional IWD algorithms give the same initial velocity and the same initial path soil amount to each water drop, but it is well known that the choice of initial solution will have a certain impact on the quality of the solution. Therefore, the initial velocity of each water drop and the amount of soil along the path are generated randomly in the IIWD to ensure diversity of the initial solution and to improve the quality of the solution.

Step 2. The initial point is the distribution center node: according to the delivery time window and delivery volume requirements of other nodes, the required nodes are selected from the list of visiting nodes (UnvisitNode) and are stored in the list of accessible nodes (FitVisit).

Step 3. Calculation of the accessibility probability of each node in the list of accessible nodes (FitVisit) and choosing the next serviceable node by roulette can improve the global search ability and avoid falling into a local optimum:In the formula, represents the amount of soil on the path from node i to node j, the constant is 0.01, which ensures that the denominator of function is not zero, function ensures that the amount of soil is positive, and is the minimum amount of soil on the path from the current node to all serviceable nodes.

Step 4. Update the dynamic parameters of the intelligent water droplets: update the flow velocity of the intelligent water droplets from the current node to the next selected node according to the following formula:In the formula, , , and are the update parameters of droplet velocity, and is the path soil amount from the current node to the selected next node.
Further, calculate the time needed for intelligent water droplets to flow to the target point and the increment of soil carried by water droplets , as shown in the following equation:In the formula, is the distance from the current node to the next selected node, constant ensures that the denominator is not zero, and , , and are the update parameters of soil increment .

Step 5. Update the amount of soil on the path through which water droplets flow: in the process of water droplet flow, the soil content in the path changes dynamically with the flow of water droplets. When the soil content in one path is much higher than that in other paths, the algorithm will converge too quickly and a better solution cannot be obtained. Similarly, when the soil content in a certain path is less, the convergence speed of the algorithm will slow. To prevent slow/premature convergence of the algorithm, referring to the bounded soil renewal model proposed by Niu et al. [30], the present study sets maximum and minimum limits on the amount of soil in each path, thereby slowing down convergence when the amount of soil is too large and improving the convergence speed when the amount of soil is small. The formulas for calculating the amount of soil flowing through the path and the amount of soil carried by the water droplet in the IIWD algorithm are as follows:In the formula, and , respectively, are the minimum and maximum limits of the increments of soil carried by water droplets; represents the amount of soil on the path from node i to node j; represents the amount of soil carried by the water droplet from node i to node j; and is the local renewal coefficient (0.9).

Step 6. If the selected target node is the distribution center, the distribution vehicle returns to the distribution center. Otherwise, the visited list and the unavailable list are updated, and the algorithm returns to step 2 until the unavailable list is empty, indicating that all required nodes have been served and each water droplet has formed a complete access path. By calculating the value of the objective function, the minimum feasible solution of the objective function value is determined by comparison, which is the optimal solution of this iteration.

Step 7. Global soil quantity renewal: the soil amount on the path corresponding to the optimal solution obtained by this iteration is updated:In the formula, is the global soil quantity renewal coefficient, is the soil quantity carried by the water droplet corresponding to the k-th iteration optimal solution, and n is the number of nodes on the path corresponding to the iteration optimal solution.

Step 8. Update the global optimal solution:

Step 9. The global optimal solution obtained by the IIWD algorithm is further optimized using the variable neighborhood search algorithm. By resetting and inserting the location of the sorting point in the neighborhood of the optimal path, a new route order is obtained, and satisfaction of the constraint for the sorting point in the distribution time and vehicle load after insertion is checked. Finally, a new path satisfying the constraint is obtained. To a certain extent, the IIWD algorithm can jump out of the local optimum and accelerate the convergence speed of the algorithm.

Step 10. Update the iteration coefficient: return to step 2 until the iteration is completed and output the optimal solution.
A flowchart of the implementation of the algorithm is given in Figure 2 [34].

4. Computational Experiments

In this section, the performance of the proposed method is evaluated by 100 randomly generated instances, which include small-(the scale of the problem is 30 nodes), medium-(the scale of the problem is 50 nodes), and large-(the scale of the problem is 100 nodes) sized problems. All algorithms were coded in MATLAB R2014b. All computational experiments were conducted on a PC with a 3.60 GHz processor and 8.00 GB RAM under the Windows 10 operating system.

To demonstrate the effectiveness and superiority of the IIWD droplet algorithm proposed in the present study, the GA, traditional IWD algorithm, and IIWD algorithm were compared. The problem group R101–R112 is based on the Solomon VRPTW standard example [36, 37]; the penalty coefficients for early arrival and late arrival are added to the algorithm to satisfy the mathematical model proposed in the present study. The design of these coefficients encompasses several factors that affect the behaviour of routing and scheduling algorithms, including geographical data, the number of customers serviced by a vehicle, percent of time-constrained customers, and tightness and positioning of the time windows. The problems differ with respect to the width of the time windows. Some have very tight time windows, while others have time windows which are hardly constraining. Table 2 shows the definitions and numerical values of some of the parameters needed in the application of the IWD algorithm. The number of iterations was set at 50; the results are shown in Table 3.

The GA uses integer string coding; the order of integers represents the order in which the vehicle visits the shipyards. The roulette method is used to select the selection operator, and the greater the fitness, the greater the probability of crossover operation. The crossover probability and mutation probability in this study were 0.6 and 0.05, respectively.

The simulation results show that the IIWD algorithm has faster convergence speed and higher efficiency than the traditional IWD algorithm when solving the GVRSP-STW problem. This is because the improved algorithm can reset and insert some nodes from the better solution after iteration; this overcomes the problem of long search time of the traditional IWD algorithm and effectively avoids falling into a local optimum in the search process. As can be seen from Table 3, compared with the GA and the traditional IWD algorithm, the IIWD algorithm is superior in terms of the total cost, vehicle driving distance, and vehicle usage. The total cost and the number of vehicles used are the lowest under the IIWD; this will reduce carbon emissions, thereby achieving the goal of green shipbuilding.

As can be seen from Table 3, for the standard Solomon examples, the IIWD algorithm has obvious advantages over the GA and the traditional IWD algorithm. The IIWD algorithm outperforms the other two algorithms in terms of total driving distance and total cost. Therefore, the application of the IIWD algorithm in vehicle scheduling calculation can effectively reduce the cost, reduce the vehicle travel distance, further reduce carbon emissions, and greatly reduce vehicle air pollution in the distribution process, thus achieving the goal of green shipbuilding (Table 4 Figures 35).

Based on the above, a steel distribution center in Shanghai and 17 shipyards around it were used as an example. The locations of the distribution center and shipyards were determined with Baidu Maps, and the customer requirements and acceptable time windows are known. The IWD and the IIWD algorithm designed in the present study were each used to solve the problem. The distribution center uses six-axle trucks for its distribution service. According to the national truck load standard, the rated load of six-axle trucks is 50 tonnes. Specific data are shown in Table 5 (serial number 1 indicates the distribution center point), and the initialization parameters are the same as in Table 2.

The example was programmed using MATLAB2016 software, and analysis was performed on a PC with 8G RAM and Windows 8.1 operating system. The specific running iteration process is shown in Figure 6.

As can be seen from Figure 6, the IIWD algorithm obtains the optimal solution after 20 iterations. Currently, there are three vehicles for distribution. The specific allocation scheme and vehicle routing are shown in Tables 6 and 7. It can be seen that the total cost of the IIWD algorithm is 2041.6 less than that of the traditional IWD algorithm; this is an approximate cost saving of 20%. In terms of the total distance, the IIWD algorithm runs at a distance 11.353 less than the traditional IWD algorithm. In terms of the number of vehicles used, the number of vehicles used in the IIWD algorithm is half that of the traditional IWD algorithm. In conclusion, when solving the GVRSP-STW problem, the IIWD algorithm exhibits faster convergence speed and higher efficiency than the traditional IWD algorithm (Figures 7 and 8).

5. Conclusions

Ship steel distribution is a very important link during ship construction. Timely and effective distribution can not only save a lot of time but also ensure the smooth progress of the ship construction plan. Additionally, the effective control of carbon emissions during distribution can reduce environmental pollution, increase the impact of green shipbuilding, and improve the competitiveness of shipyards. To solve the vehicle routing and dispatching problem of a ship steel distribution center under the green shipbuilding mode, based on the conventional VRP model, the amount of carbon dioxide emitted by vehicles was set as one of the optimisation objectives. Due to the high requirements for ship construction timeliness, the penalty costs of early arrival or late arrival were also proposed based on a soft time window. A mathematical model of total cost optimisation was established in this study, the aim of which was to optimise vehicle depreciation and humanpower costs and carbon emissions. A GVRSP optimisation method based on our IIWD was proposed. In comparison to the traditional IWD algorithm and GA, we demonstrated that the GVRSP optimisation method based on the IIWD proposed in this study greatly reduced the total cost of vehicle distribution and the total vehicle running distance. This reduced the carbon emissions involved in vehicle distribution while ensuring the progress of ship construction. This meets the requirements of green environmental protection, thus achieving green shipbuilding. The GVRSP optimisation method based on the IIWD proposed in the present study has certain practical value and theoretical significance. In practice, there cannot be only one distribution center. In order to simplify the calculation, this paper assumes that there is only one distribution center. In the follow-up study, the problem of multiple distribution centers will be studied. In practice, the distribution center cannot have only one type of vehicle. In order to simplify the model and facilitate calculation, this paper assumes that there is only one type of vehicle in the distribution center. In the follow-up study, the multitype vehicle problem can be studied. Vehicles may not be loaded and unloaded immediately after arrival at the shipyard, and there may be delays. This paper assumes that there is no waiting time, and the factors of service waiting time will be taken into account in subsequent studies. Similarly, follow-up studies should take into account such factors that the service time of each shipyard may vary. In our next study, the problem model will be closer to the real distribution process to make the results more applicable. In follow-up research, we plan to consider the multispecifications and dynamic time window of multidistribution centers in the mathematical model, and we plan to design a corresponding algorithm to solve the model to further improve the practicability of the research.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Authors’ Contributions

Gang Chen and Xiaoyuan Wu contributed equally to this work.

Acknowledgments

This research was funded by the National Natural Science Foundation of China (no. 51679059), “Research on Intelligent Manufacturing Solution and Key Technologies for Upper Module of Offshore Oil and Gas Production Platform” (no. 2018473), “Research on Key Common Technologies towards Smart Manufacturing in Shipbuilding Industry” (no. 2016543), and “Research Project of High Tech Ship supported by the Ministry of Industry and Information Technology of the People’s Republic of China” (no. 2016545).