Abstract

It is well known that stability, center-of-gravity balance, and concentrated-weight are key factors of the transportation safety. The reasonable formulation of the loading layout scheme ensures the safety of shipment based on fully utilizing the effective volume and load capacity of freight vehicles. This paper takes the railway mixed goods loading layout as the research object, considering the constraints such as goods loading center-of-gravity balance, the allowable moment of concentrated-weight, supporting and goods placement mode, and taking the maximum comprehensive utilization rates for both effective volume and load capacity of freight vehicle as the optimization objective, an optimization model of railway mixed goods balanced and anticoncentrated-weight loading layout considering stability is built. Additionally, this paper designs mixed goods classified and simple/general goods block composition methods. We improve the representation and selection of layout space, construct goods block selection algorithm based on the greedy d-step lookahead tree search and goods block evaluation function and propose a goods block placement strategy and update rules of layout space after goods block placement. An optimization algorithm of railway mixed goods balanced and anticoncentrated-weight load layout considering stability is designed. The results show that the formulated scheme not only ensures that the goods meet the full support constraints, but also the comprehensive utilization rate of the effective volume and load capacity of the vehicle is not less than 89%, and the probability of meeting the loading center-of-gravity balance and allowable moment of concentrated-weight are as high as 99% and 99.47%, respectively. The proposed method realizes the balanced and anticoncentrated-weight loading of railway mixed goods, ensures the safe, stable, and efficient goods loading, and provides decision support for the safe loading layout of railway goods.

1. Introduction

The transportation safety of railway mixed goods of different types, sizes, and weights is closely related to the scientific and reasonable loading layout scheme. How to efficiently prepare the loading layout scheme of railway mixed goods, make full use of the effective volume and load capacity of freight cars, while ensuring the balance of goods loading center of gravity, anticoncentrated-weight, and stability support, has important practical significance for reducing costs and increasing efficiency and safe transportation of railway goods [1].

Many scholars have carried out some research related to goods loading layout problems, mainly focusing on optimization objectives, constraints, goods combination methods, spatial representation, loading layout algorithm design, etc. For optimization objectives and constraints, Huang et al. for the single container loading problem, with the objective of minimizing the length of occupied space in a container, used a 0–1 mixed integer linear programming model to describe the problem and proposed a load distribution heuristic algorithm [2]. Costa et al. divided the center-of-gravity balance constraint into three subconstraints: longitudinal, transverse, and vertical [3]. Ramos et al. proposed a variety of group biased random key genetic algorithms based on static mechanical equilibrium conditions [4], and considering the limitation of loading efficiency, a physical loading order algorithm is proposed [5]. In terms of the way the goods are combined, Bortfeldt et al. combined goods into vertical layers and proposed a hybrid genetic algorithm for strongly heterogeneous goods [6]. Zhu Xiang et al. constructed goods as towers and proposed an optimization method for loading multiple pieces of concentrated-weight goods in one vehicle [7]; however, for high-density nonconcentrated-weight goods, when the distribution of goods is unreasonable, it will also produce concentrated-weight. In addition, aiming at the problem of balanced loading of multiple vehicles and multiple pieces of goods, they put forward the idea of symmetrical loading of multiple vehicles and algorithm optimization strategy [8]. Fanslau et al. extended the way of goods combination and proposed a general block generation method [9]. In terms of spatial representation, Jiang Yidong et al. proposed the method of using a trinomial tree data structure to represent the partitioning of rectangular goods layout space by putting a suitable goods block in the lower left corner of each small space of the partition [10]. Moura et al. proved that using the maximum coverage method to represent the layout space can obtain better solutions than the partitioning method [11]. In addition, there are many studies on load layout algorithms and strategies. Araya et al. determined the parameters of goods evaluation function by the control variable method to improve the efficiency of goods unit search [12]. Wang Zhe et al. constructed and designed an optimization model and algorithm for the similar goods [13]. Liu Xiaoqun et al. constructed and designed an optimization model and algorithm based on different benchmarks for multivariety goods [14]. Bischoff proposed a constructive heuristic embedding search algorithm and placement rules for the packing problem of goods with different bearing strength [15]. Lei Dingyou et al. proposed a mixed and balanced loading method of railway containers for light and heavy goods based on the central skeleton idea, but they did not include the load capacity utilization rate into the optimization objective [16]. Huang et al. proposed a novel technique that combines a differential evolution algorithm with a ternary search tree model to solve the three-dimensional container loading problem [17]. Zhang et al. proposed an optimization method for balanced loading layout of railway container mixed goods, but stability constraints such as full support are not involved [18].

Existing studies have provided strong support for the loading layout of railway mixed goods. However, most of them only take the volume of the loading space as the optimization objective, ignoring the optimization of the load capacity utilization. In addition, the constraints related to concentrated-weight and stability are less considered. Motivated by the above considerations, to reflect the utilization rate of freight vehicles more objectively and comprehensively, and ensure the loading efficiency and safety, this paper studies the balanced and anticoncentrated-weight loading layout of railway mixed goods considering stability. Specifically, this problem uses railway freight vehicles (such as gondola cars and boxcars) to load mixed goods of different types, sizes, and weights, with the optimization goal of maximizing the comprehensive utilization of effective volume and load capacity of freight vehicles, and considering the practical constraints such as loading center-of-gravity balance, the allowable moment of concentrated-weight and full support. For this problem, based on the process of goods loading layout, we designed algorithms and rules such as mixed cargo classification, fully supported goods block unit generation, goods block unit selection and placement, and update of remaining available layout space. Furthermore, an optimization method of railway mixed goods balanced and anticoncentrated-weight load layout considering stability is proposed. Finally, the feasibility and effectiveness of the method are verified by combining the international standard example and the mixed goods example generated based on the standard example.

The rest of the paper is organized as follows. In Section 2, the problem is defined, the practical constraints involved in loading are analysed, and the mathematical model of the problem is established. Section 3 designs a heuristic algorithm for railway mixed goods balanced and anticoncentrated-weight loading layout optimization considering stability based on the six elements of goods loading layout. In Section 4, the test and comparative analysis of the international standard example and the improved mixed goods examples are carried out. Finally, conclusions are drawn in Section 5.

2. Problem Description and Mathematical Model

2.1. Problem Description

Given a set of rigid cuboid goods set with uniform density of class , whose total volume and total weight are and , respectively; denote by the goods of class containing goods, the volume of class goods is , and the weight of class goods is ; , , , , indicate the length, width, height, volume, and weight of individual goods, respectively. Assuming that the effective space inside the vehicle is rectangular, and the goods can be loaded and stacked, not special cargo such as dangerous goods, allowed to have surplus to be left for the next assembly. There is no loading and unloading operation on the way, and the goods all arrive at the station together [19]. Take the left front inner lower corner of the vehicle as the coordinate origin , take the floor of the vehicle as the X-Y plane, and establish the space rectangular coordinate system in Figure 1.

2.2. Constraint Analysis

Set , , , for the internal length, width, height, and effective volume of the railway vehicle, respectively, , for the maximum allowable weight and self-weight of the vehicle, respectively, for the center distance of bogie, for the vehicle floor to rail height, and for the empty vehicle center of gravity high. In order to ensure transport safety, in accordance with the current “Rules for railway cargo loading and reinforcement” [20], the longitudinal deviation of the combined center of gravity after loading relative to the intersection of the vertical and horizontal center line of the vehicle floor shall be calculated according to , where for the total weight of the loaded goods, for 0 or 1 that the goods is not loaded or has been loaded; the lateral deviation ; the height of the center of gravity of the vehicle from the rail surface is , more than that should be speed limit [20].

Using the X-Y plane rectangular coordinate system of Figure 1, setting for the coordinates of the intersection of the vehicle floor longitudinal and transverse center line and for the coordinates of the center of gravity of the goods after it is put into the vehicle. Then, the coordinates of the goods combined center of gravity in the vehicle are , . The actual longitudinal deviation of the combined center of gravity after loading is , the transverse deviation is , and the height of the center of gravity of the vehicle is . When , , , the goods loading center-of-gravity balance constraint is satisfied.

Using the X-Z plane rectangular coordinate system of Figure 1, the balance or not of the forces in the length direction of the vehicle is the main reason whether the concentrated-weight is generated or not [7]. Here, only the force in the length direction of the vehicle is analysed, as shown in Figure 2, the front and rear bogies are supported by and and the coordinate positions are and , respectively. According to the cargo boundary, the vehicle floor is divided into layers , , that is perpendicular to the longitudinal center line, , , are the corresponding goods combined gravity of each layer, respectively, and , , are the distances from each combined gravity force to any position on the floor length. According to the moment balance equation, the point as a balance point to find out the vehicle floor in position bending moment is . For different loading schemes, the maximum working bending moment of the vehicle floor and its coordinate position can be determined according to the above method. When not more than the allowable bending moment , that is, is to meet the concentrated-weight allowable bending moment constraint.

Loading stability generally requires that the goods in the space can be placed stably without tilting and collapsing, mostly by restricting the supported area of the bottom surface of the goods in the vertical direction, and limiting the supported area of the bottom surface of the goods not less than the specified proportion of its own bottom surface areas, such as 55%, 75%, or 100%, that is, partial support constraint or complete support constraint. In this paper, the full support constraint is adopted to ensure that the bottom surface of the goods is fully supported by the vehicle floor or other loaded goods.

2.3. Model Construction

In summary, this paper considers the goods loading center-of-gravity balance, the allowable moment of concentrated-weight, full support, and other constraints, with the maximum comprehensive utilization rates for both effective volume and load capacity of freight vehicle as the optimization objectives. Finally, the optimization model of railway mixed goods balanced and anticoncentrated-weight loading layout considering stability are built.s.t.where is the position of the center-of-gravity of goods , that is, its geometric center, is the coordinates of the vertex of the left front lower corner of after it is put into the vehicle, and is the dimensional length of the projection in the direction of axis. Formula (1) is the objective function, which indicates maximizing the comprehensive utilization rates for both effective volume and load capacity of freight vehicle, such that , , , where the volume-weight of the vehicle is , the volume-weight of the loaded goods is . Formulas (2)–(4) are the goods loading center-of-gravity balance constraints; formula (5) is the allowable moment of concentrated-weight constraint; formulas (6)–(8) indicate that the loaded goods do not exceed the vehicle boundary constraint; formulas (9)–(11) indicate that any two goods , cannot overlap each other constraints; formula (12) for the placement of goods constraints; formula (13) for the full support constraints; formula (14) for the vehicle effective volume constraints; and formula (15) for the vehicle maximum allowable load constraints.

3. Algorithm Design

The studied problem is an NP-hard packing problem. Based on the six elements of goods loading layout [21], focusing on the internal space and goods of freight vehicle, the classification of mixed goods and the construction method of goods blocks, the selection and placement strategy of goods blocks are designed, the representation, selection and update rules of layout space are given, and a heuristic algorithm for railway mixed goods balanced and anticoncentrated-weight loading layout optimization considering stability is formed.

3.1. Layout Space Representation

Using the maximum coverage method [11]to represent the layout space, as shown in Figure 3(a), after the goods are put into the space, three great rectangular layout spaces are generated in the three directions of , respectively. Considering the stability constraint, the bottom of all the generated layout spaces should be fully supported by the top surface of the placed goods or the floor of the vehicle. Therefore, it is kept unchanged in the and directions, while a rectangular space determined by the support area of the top of the loaded goods is generated in the direction, as shown in Figure 3(b).

3.2. Goods Classification and Goods Blocks Construction

Constructing goods block is currently the most effective way to solve the packing problem [22]. The properties of mixed goods are complex. Taking the bubble weight ratio of goods 1: and 1: as the boundary, combined with the weight, volume, and density of goods, the mixed goods are divided into heavy goods, middle goods, and light goods. On this basis, different types of goods blocks are generated. Specific details are described in Algorithm 1.

Input mixed goods set ;
Output heavy goods set , middle goods set , light goods set
(1) Arrange the goods set in descending order according to the weight of class//If the weight is the same, the goods with fewer classes will be ranked first, the same as below
(2)  Take the former // as the total number of goods
(3)   The former goods are ranked as in descending order of class density
(4)   Find so that the class density of is greater than , and get the set
(5) Delete the goods contained in from
(6) Arrange the remaining goods in in descending order by category volume
(7)    // as the quantity of the remaining goods except heavy goods
(8)   The goods of the former category are arranged in descending order of class density as
(9)   Find so that the class density of is greater than , and get the set
(10) Delete the goods contained in and from
(11) The remaining goods in are arranged in descending order according to class density to obtain set
(12) return

Blocks can be divided into simple blocks and general blocks. Simple block is a goods block composed of identical goods. The details are as shown in Algorithm 2.

Input heavy goods set , the maximum number of blocks generated ;
Output simple block set
(1)Initialize
(2)for goods in each category
(3)
(4)  for all permissible ways of placing each class of goods
(5)   for to //arrange the goods times along the axis, where is the quantity of each type of goods
(6)    for to //rearrange the goods times along the axis
(7)     for to //rearrange the goods times along the axis
(8)      if
(9)       Generate block //the sizes are , including , pieces of class goods
(10)       Put into set
(11) // is the number of simple goods blocks in each set , is the total number of blocks eventually generated
(12)if
(13) for goods in each category
(14)  
(15) Select the top blocks in each category of goods block set and put them into set
(16)else put all the blocks in set into set
(17)return

The types and placement methods of goods constituting the general block are not limited, and gaps are allowed in the block, but the ratio of the total volume of goods contained in the block to the minimum external cuboid volume of the block shall meet certain requirements, and the bottom of all goods in the block shall be fully supported by the top surface of goods or the bottom of the block to meet the stability constraints. The specific process is shown in Algorithm 3.

Input heavy goods set , generate maximum number of blocks and effective volume ratio ;
Output General block set
(1)Initialize ,
(2)
(3)while and
(4)
(5) for block in each set
(6)  for block in each set
(7)   A new block is generated by lacing along the three axes of in all possible ways
(8)    If meets the criteria and there is no identical block in the , is put into
(9) and the number does not exceed
(10)  
(11)return

Where block is constructed under the condition that block and block should be of equal height when combined along the -axis and -axis directions of block , respectively, as shown in Figure 4(a), and that the length of the rectangular area region is where the upper surface of the block that can provide effective support is , and the width is when along the -axis. As shown in Figure 4(b), the length of is and the width is when along the -axis; when combined along the -axis direction of block , as shown in Figure 4(c), the conditions that should be satisfied are , , the length of is and the width is .

3.3. Selection of Layout Space

As shown in Figure 5, selecting the layout space by Manhattan distance [21]. Then, we set the coordinates of the vertex of a layout space in the vehicle as, and the coordinates of the corresponding vehicle vertex as , then the Manhattan distance between the two points is . Considering the stability constraints, it should be ensured that the goods block is placed on the bottom of the fully supported layout space. Therefore, only the Manhattan distance between the four corners of the bottom of the layout space and the four corners of the vehicle bottom should be considered, and the goods block should be placed at the bottom corner of the space corresponding to the shortest Manhattan distance.

3.4. Selection of Goods Blocks

Using as the volume of goods block , as the direct contact or indirect projection coverage, as the spatial loss rate [16], as the number of goods contained in the goods block, and as the weight of the goods block, then the goods block selection evaluation function of formula (17) is constructed. When the parameter takes a suitable value, the higher the value of the evaluation function, the more likely the goods block is selected in preference.

In order to load the local optimal goods block as much as possible, based on the greedy d-step lookahead tree search, the goods block is selected with formula (17) as the evaluation function, and the goods block selection process is constructed as Algorithm 4. In Figure 6, if the bold path is the optimal layout scheme, the local optimal goods block that should be put into the current is .

Input Space set , current layout space , goods block set or , parameter , the width coefficient and depth coefficient of the tree;
OutputPlace the locally optimal goods block in the current layout space .
(1)Initialize , create an initial state in the current layout space as the root node
(2)for each layer of tree// takes
(3) Select blocks with values in the first to generate sub-states//generate incomplete layout schemes
(4)If //at layer , each leaf node in this layer is a complete layout scheme, with schemes in total
(5)Choose the scheme that produces the optimal solution out of schemes
(6)return place the locally optimal block of the current layout space
3.5. Placement of Cargo Blocks and Updating of Layout Space

Firstly, place the heavy goods that have a great impact on the position of the total center of gravity, place the heavy goods close to the corner of the vehicle, and then place the middle goods and light goods. Load the goods in the order from the corner of the vehicle to the center, so that the final remaining debris space is concentrated in the center of the vehicle, and the goods with large weight or density are distributed near both sides of the vehicle bogie, so as to reduce space waste, ensure the balance of center of gravity, and avoid concentrated-weight. When the goods are placed, there is no available space or the total weight of goods exceeds the vehicle maximum allowable load constraints, so the layout shall be ended.

When a goods block is placed into a space, a new layout space is created, and the space needs to be updated to delete the original space, the duplicate space, the contained small space, and the part where the goods block crosses and overlap with the existing space, and keep or create the remaining available and fully supported space. Since the existing spaces all satisfy the stability constraint, there are 50 possible cases of cross overlap between goods blocks and spaces: 4, 8, 5, and 1 cases of 1, 2, 4, and 8 vertices of goods blocks in spaces; 8, 5, and 1 cases of 2, 4, and 8 vertices of spaces in goods blocks; 12, 3 cases of goods blocks running along the boundary of spaces along the direction of coordinate axes and from the middle of spaces, respectively; 3 cases where the goods block divides the space into two parts.

3.6. Overall Algorithm for Loading Layout

The above process is generally adjusted and optimized by introducing an indicator , to distinguish the goods structure. When , it is a weakly heterogeneous problem, and a simple block is constructed. When , it is a strongly heterogeneous problem, then a general block is constructed. When the computation time is left, a doubled greedy d-step lookahead tree search is performed. To sum up, the overall flow of railway mixed goods balanced and anticoncentrated-weight loading layout optimization considering stability is shown in Algorithm 5.

Input Space set , mixed goods set , computation time , maximum number of blocks generated , effective volume fraction , goods block evaluation function parameters , the width coefficient and depth coefficient of the tree;
Output loading layout scheme .
(1)Initialize the space as the rectangular space inside the vehicle, and classify the mixed goods set//call Algorithm 1
(2)Judge the problem type with index and generate the set of heavy goods, middle goods and light goods blocks of the corresponding type//call algorithm 2 or 3
(3)while there is computation time do
(4)
(5) while do
(6)  if there is available efficient space in
(7)  Choose the space with the shortest distance in Manhattan
(8)  According to the evaluation function, select the top blocks from the block set//call Algorithm 4, place heavy goods blocks first, then middle goods blocks, then light goods blocks
(9)   if is the block that should be placed in the current layout space then
(10)   Put it at the corresponding angle of
(11)   Update , , and goods block set
(12)   else the flag r is no longer selected until is updated again
(13)   end if
(14)   else break
(15)  end if
(16) end while
(17) Generate a loading layout scheme
(18) if then
(19) end if
(20) //Double the iterative search, let continues to generate a new layout scheme
(21)end while
(22)return

4. Example Analysis

To verify the validity and feasibility of the proposed method, 1600 international standard arithmetic cases used to evaluate the loading layout problem are adopted [23], on which the goods weight is considered, and the range of goods density is set as , is the average density of the goods, is the beta distribution expectation, and the goods density of the arithmetic cases is obtained according to [24]. The arithmetic cases are numbered from BR0-BR15 with 16 groups, each group has 100 arithmetic cases, and the goods types are increased from 1 class of BR0 to 100 classes of BR15, where BR0 is a homogeneous class problem, BR1-7 is a weakly heterogeneous class problem, and BR8-BR15 is a strongly heterogeneous class problem. vehicle is selected for shipment, and its relevant attribute parameters are as follows:  = 11500 mm,  = 1144 mm,  = 1315 mm,  = 60 t,  = 22.2 t,  = 15470 mm,  = 2830 mm,  = 2750 mm, and  = 120 m3. Since there is no unified standard for the soak weight ratio of land goods, referred to the standard of soak weight ratio of other transportation modes and combined with the actual railway transportation, 300 and 167 are adopted to and in the Algorithm 1, respectively. The values of parameters and in the selection evaluation function for the goods block are determined to be 0.4 and 0.2, respectively, using the control variable method; and the other parameter values are referred to the work studied by Araya et al. [8], which are . Moreover, the search tree depth factor of is used to provide a better trade-off between search accuracy and running time. The average running time of 1600 cases is approximately 100 s , the test computer processor is Intel(R) Core(TM) i7-8565U CPU @1.80 GHz, the running memory is 8 GB, the operation system is Windows 10 (64-bit). And then the algorithm is implemented by Java language (JDK version 1.8, 64-bit), which is compiled by Eclipse software (Oxygen version).

4.1. Comparative Analysis of International Standard Examples

Based on the above, the scenarios of simple and general blocks are constructed by the test standard cases, and the results of that are shown in Table 1. The results are the average results of the same group including 100 cases, “” is the effective volume utilization rate, “” is the load capacity utilization rate, “” is the comprehensive utilization rate, “” is the average of the results of certain groups of cases, “” is the number of cases that dissatisfy the constraint of loading center-of-gravity balance, and “” is the number of cases that dissatisfy the allowable moment of concentrated-weight constraint.

By comparing and analyzing the results of columns and , it can be seen that the overall results in constructing general blocks are better than those of simple blocks, and the average volume utilization rate, load capacity utilization rate, and comprehensive utilization rate of the proposed method can reach more than 92%, 87%, and 89%, respectively. From “” and “”, it can be inferred that the satisfaction rate of the loading center-of-gravity balance constraint can meet 99.8%, and the satisfaction rate of the concentrated-weight allowable bending moment constraint can reach to 99.87%, so the loading effect is beneficial enough to meet the actual loading. In addition, for BR0-BR7, the results are better than general blocks when constructing simple blocks, which is the opposite for BR8-BR15. Thus, judging the goods structure type by indicator to construct the corresponding goods blocks can combine advantages to make better loading results.

4.2. Comparative Analysis of Mixed Goods Examples Generated Based on Standard Examples

To further verify the effectiveness of the proposed method for mixed goods with greater differences in density, volume, and weight, we increase the goods size, weight interval, and beta distribution on the basis of international standard cases, and generate mixed goods examples. Simple blocks are constructed for BR0-BR7 and composite blocks are constructed for BR8-BR15. The test is carried out with and without consideration of stability.

From the results of Table 1, it is obvious that for the mixed goods examples considering stability, the average volume utilization rate, load utilization rate, and comprehensive utilization rate of the proposed method are lower than the standard examples, while they can reach more than 91%, 86%, and 89% respectively, and the satisfaction rate of the loading center-of-gravity balance constraint and the concentrated-weight allowable bending moment constraint can meet 99% and 99.47%, respectively. The average volume utilization rate, load capacity utilization rate, and comprehensive utilization rate are slightly higher for the mixed goods examples without considering the stability, but the satisfaction rate of the load center-of-gravity balance constraint and the allowable bending moment constraint of the concentrated-weight is much worse, so the comparison shows that the proposed method can achieve favorable loading effects on basis of ensuring the safety and stability of mixed goods transportation.

5. Conclusion

(1)In this paper, several factors are considered, such as the balance of the combined center of gravity after goods loading, concentrated-weight and full support, and the effective volume and load capacity of the freight vehicle are included in the optimization objective. Then the problem optimization model is constructed. Next, we designed algorithms and rules such as mixed cargo classification, fully supported goods block unit generation, goods block unit selection and placement, and update of remaining available layout space. Furthermore, an optimization method of railway mixed goods balanced and anticoncentrated-weight load layout considering stability is proposed.(2)The proposed method not only meet the goods loading stability but also ensure the comprehensive utilization rate of effective volume and load capacity of the vehicle which is not less than 89%, loading center-of-gravity balance, concentrated-weight allowable bending moment constraints to meet the probability of up to 99% and 99.47%. The method effectively realizes the railway mixed goods balanced and anticoncentrated-weight efficient loading, ensures the safety of railway goods shipment, and provides decision-making reference for railway goods loading layout.(3)The problem of railway goods loading layout is complex and diverse. For simplicity, the interior of the freight vehicle is assumed to be a cuboid space, and the loading layout is carried out from the angle of the loading space. In the future, the problem algorithm should be further improved by considering the specific loading door position and shape attributes of the vehicle.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported by the research projects funded by the National Natural Science Foundation of China (Grant Nos. 71971220 and 71901093), the Natural Science Foundation of Hunan Province of China (Grant No. 2022JJ31020), the Research Foundation of Education Bureau of Hunan Province, China (Grant No. 20B597), and Hunan Provincial Fund for Philosophy and Social Sciences Youth Project, China (Grant No. 18YBQ139). Their support is gratefully acknowledged.