# Multibox Three-Dimensional Packing Problems for Heterogeneous Extrudable Items

Authors: Junhui Zhao; Li Zhou; Fan Wang; Huwei Liu; Jianglong Yang
Journal: Mathematical Problems in Engineering
 (2022)

---

## Abstract

Aiming at the multibox 3D packing problem of heterogeneous extrudable items in e-commerce retail department stores, the optimization goal is to select appropriate packaging materials for packing all items in the order. On this basis, the number of packaging materials used is the least and the space utilization rate is high. A heuristic algorithm is designed. Firstly, the items are sorted in descending order according to volume, and then the items are boxed according to the rule of “layer generation.” In order to verify the feasibility and effectiveness of the algorithm, the data provided by a large domestic e-commerce platform are used to analyse and compare the space utilization of packaging materials under the conditions of no extrusion operation and extrusion operation. The feasibility and effectiveness of the algorithm in the packaging and delivery link in the storage field of e-commerce retail department stores are proved.


---

## Body

## 1. Introduction

According to the relevant data of the China Post Bureau, by October 31, 2021, the number of courier packages in China in 2021 will have reached 86.72 billion. On November 11 alone, 696 million packages were processed, a record high. On one hand, there is the rapid development of the e-commerce logistics industry, and on the other hand, there is the huge waste of express packaging. According to incomplete statistics, the average space utilization rate of packaging is only about 50% in the packaging links of major e-commerce warehouses, and the cost waste caused by this is incalculable. The Management Measures for Express Mail Packaging issued by China’s Ministry of Communications in 2021 clearly stated that green express packaging should be promoted to save resources and protect the environment. As a result, whether from an economic or social standpoint, it is critical to investigate the warehousing and packing problems of e-commerce in real life.The packing problem refers to the loading of a certain number of items into packaging, requiring that under the premise of ensuring that each item can be loaded, the fewer the packaging items used, and the higher the total space utilization rate of the packaging items, the better, which is a typical combinatorial optimization problem [1]. The three-dimensional packing problem is a generalization of the one-dimensional and two-dimensional packing problems [2].The packing problem can be divided into single-box packing problems and multibox packing problems according to the different types and quantities of packaging. At present, most of the research focuses on the single box packing problem, and the research on the multibox packing problem is relatively rare.For the fixed-size single-box 3D packing problem, Huang et al. [3] proposed a simple and effective loading arrangement heuristic algorithm for solving the large-scale problem. Su et al. [4] incorporated a chemical reaction optimization algorithm into the greedy algorithm to enable faster convergence of the algorithm for solving the cradle problem. Instead of relying on genetic algorithms to generate initial solutions, Correcher et al. [5] used the stochastic strategy GRASP to generate multiple solutions and improve the algorithm to obtain high-quality solutions in a short time. Zhao et al. [6] proposed an online analysis of packing stability with a novel stacking tree to optimize packing policies. De Carvalho et al. [7] proposed a data-driven solution approach that can produce high-quality solutions in a short time.In addition to the algorithmic improvements, some scholars have optimized the packing problem from other perspectives. Liu et al. [8] designed a “slice-strip-layer” packing rule by improving the packing order, and Gzara et al. [9] used a layer-based column generation method to improve the loading rate of the single-box 3D packing problem by representing the idle space through the very large space and designing a layer construction strategy to crate to fill the very large space, forming a crating algorithm with static stability constraints. Wang et al. [10] considered crating priorities in a single box loading problem, where all items with high priority must be loaded into the package before those with low priority and improved the average utilization of crating by a multiround local beam search method. Tresca et al. [11] minimized the number of layers by minimizing the unused space in each layer when items are stacked.For the fixed-size multicarton 3D crating problem, Mauro et al. [12] proposed a holistic algorithm with a mixture of methods as a way to find the crating solution with the least amount of packaging used in crating. Ren et al. [13] designed a priority-conscious heuristic algorithm to prioritize the crating of bulky items by giving them a certain priority and obtained a better crating solution. Toffolo et al. [14] performed a stage decomposition of the heuristic algorithm to quickly generate feasible solutions and improved and optimized the cradle solution by local search. Nguyen et al. [15] presented a novel heuristic algorithm to solve the problem of automatically packing 3D boxes into containers. Agarwal et al. [16] presented a new bin packing system, Jampacker, to achieve faster completion of the packing process. Li et al. [17] proposed a recurrent conditional query learning (RCQL) method to solve 3D packing problems.In the study of 3D packing with practical application scenarios, Silva et al. [18] investigated the enforcement of nonoverlapping constraints in the 3D packing problem. Iwasawa et al. [19] and Ramos et al. [20] studied the container loading problem for logistics platforms. The common container loading problem in air [21], ship, vehicle, or rail transportation [22] can also be treated as a fixed-size 3D packing problem [23, 24]. Container loading problems can be subdivided into multicontainer loading [25] and LTL loading [26]. The multicontainer loading problem has also become a research concern [5, 27].The 3D box packing problem is usually solved by exact algorithms for small scales, such as column generation algorithms [2], dynamic programming, and branch-and-bound algorithms [28] for the solution of the 3D box packing problems. Mauro et al. [12] used a branch-and-price algorithm to solve a fixed-size boxing problem with a time window. On this basis, Liu et al. [29] investigated the variable size boxing problem with time windows using primal heuristics, iterative local search, and column generation.In addition to the crating of regular items, the crating of irregular items is also a hot topic of research [30–32]. For example, heuristics algorithm, genetic algorithm, grey wolf optimisation [33], stochastic local search [34], and LS algorithm [35] have been used to investigate the problem of boxing irregular items. The search speed is improved by hot-start and iterative double search strategies [34].In addition to existing research methods, the logistics sector is also being integrated with digital twins as they are used in various industry sectors [36, 37]. Marmolejo-Saucedo [36] uses digital twin technology to investigate the packaging problem in a large-scale optimization problem for supply chains. Leng et al. [38] used the digital twin as a driver for joint optimization of packaging and storage allocation in the warehouse. As one of the key concepts for accelerating and optimising management and control, the digital twin opens up new ideas for optimising the quantity and space utilization of the packaging materials used in crates.The above studies on the three-dimensional packing problem have idealized the problem, such as(1)
Boxing only considers the items to be rigid and ignores the possible existence of some items that can be slightly extruded;(2)
The size of the package is fixed. However, in the e-commerce retail department store type storage field, packaging may not only be boxes but also bags. The size of the bags will change with the size specifications of the items loaded into them when they are boxed;(3)
Due to the numerous box models and item types in the field of e-commerce warehousing, the existing research is far from a single digit. The main optimization goal of the existing research is the space utilization rate of the box, and there is not very demanding requirement on the calculation time of the boxing scheme, which does not meet the time requirement of the boxing practice session in the field of e-commerce storage.The soft and hard constraints of the items and packaging limit the boxing collocation, the choice of the boxing order and boxing direction of the items, as well as the choice of loading points. This leads to the study of the multibox packing problem being bound to face the problem of too many feasible boxing solutions so that it is difficult to find the optimal solution to the boxing solution.Considering the huge amount of data in the field of e-commerce retail department stores, the calculation speed of the crating solution must be fast enough to avoid the situation of “people waiting for the crating solution.” This paper will be based on the objective reality of these problems and the use of heuristic algorithms to solve the three-dimensional crating problem of heterogeneous squeezable items with multiple boxes.Therefore, the main contributions of this paper are as follows:(1)
In this paper, we consider the problem of crating when the item has the squeezable property(2)
In this paper, we add the study of packing bags to the packing problem to solve it(3)
Based on the specific situation of the crating practice in the field of e-commerce warehousing, this paper takes the improvement of the average loading rate of orders as the main optimization objective and optimizes the crating scheme of items under the realistic condition of taking into account the computational time consumptionThe focus of this paper’s research is on the packing out process in the e-commerce retail department store category of warehousing. Given the wide variety of items in this industry, some item properties are explained and illustrated.Heterogeneous items are items with different sizes, densities, weights, and other properties. The squeezable property refers to some items within a certain limit being able to change the length, width, and height of the items without affecting the value of the items themselves. There are soft constraints on the boxing operation; while some items being squeezed will damage their own value, they cannot be squeezed. The packaging refers to the packaging boxes and bags used by e-commerce retail department store enterprises in the packing and warehousing process. The packaging boxes cannot change their own specifications, and there are hard constraints on the boxing operation; while the bags can dynamically change their own length, width, and height within a certain range according to the boxed items, there are soft constraints on the boxing operation. Single box type and multibox type: the single box type refers to the order boxing’s being able to choose to use the same size of the packaging specifications, that is, only one type; the multibox type refers to the order boxing’s being able to use the size of the packaging specifications that are different; that is, there are a variety of models.The remainder of the paper is organized as follows: in the next section, we describe and construct a corresponding model for the crating problem in the e-commerce retail department store class storage domain. In Section3, we design the corresponding heuristic coding rules. The algorithm is validated and analysed in Section 4 by applying a relevant dataset provided by a large e-commerce company. We conclude and discuss future research directions in Section 5.


## 2. Problem Description and Model Construction

### 2.1. Problem Explanation

In the current e-commerce retail department store industry, there are heterogeneous items such as chips, tissues, mirrors, scissors, and so on that differ in size, density, and weight. Among them, items such as chips and paper towels have squeezable properties, while items such as mirrors and scissors cannot be squeezed. In order to meet the actual demand, the e-commerce retail department store industry has two kinds of packaging items: boxes and bags, and in order to meet the different needs of customers, the e-commerce retail department store industry has packaging items of different sizes so as to meet the needs of customers while minimizing the cost and maximizing the benefits of the enterprise. Based on this, the following problem description is given:It is known that there is a set of items with different sizes, some of which have the property of being squeezable; there is a set of packages of different sizes, the packages include bags and boxes, where there is a soft constraint on the packing operation when using bags, and there is a hard constraint on the boxing operation; there is a set of order data, and each order contains different numbers of different kinds of items.Based on the consideration of the economic and social-environmental benefits of the enterprise, the enterprise designs the packaging with full consideration of the practicality and economy of the packaging. By analyzing the data set provided by an e-commerce platform, it is found that most orders can be packed into the same packaging. Therefore, the following settings are made: all items in each given order are loaded into the appropriate packaging; the result of packing cannot be lost orders or items lost, overlapping, etc.; the size constraints of the packaging cannot be exceeded when loading items. The goal is to fill all orders after the use of the minimum total number of packages, and the boxing solution with the highest space utilization is better.Based on the consideration of soft and hard constraints on items and packaging and other restrictions, the following assumptions and explanations are made for the three-dimensional packing problem of heterogeneous squeezable items based on the enterprise packing problem judging criteria of an e-commerce platform.(1)
The criteria for determining whether an item will fit into a bag are(a)
Bag length + bag height ≥ item length + item height(b)
Bag width + bag height ≥ item width + item height(2)
Items in different orders cannot be mixed in the same package(3)
Disregarding the item’s own weight and the load-bearing capacity of the package(4)
Do not consider whether the item itself has requirements for loading direction(5)
The rule for determining the length, width, and height of the article and the package is length ≥ width ≥ height(6)
Assume that each article has at least one package that can fit the article(7)
No consideration is given to the support problem that exists when the articles are packed(8)
Assume that the items are all rectangular with uniform density, the extrusion is for a certain face of the item, the force is uniform, and the extrusion rate cannot exceed 10%, otherwise it will have an impact on the value of the item, and it is considered that the boxing scheme is not feasible


### 2.2. Judging Criteria

Based on the premise of the huge order parcel base, the judging principle of the packing problem for the packing out link in the field of e-commerce retail department stores is “fewer and smaller.” “Fewer” means that, on the basis of ensuring that each item in the order can be packed, the smaller the number of packages used, the better, for the first optimization objective of the three-dimensional boxing problem with soft and hard constraints for heterogeneous squeezable items with multiple box types, which has a higher priority; “smaller” means that when the order uses the same number of packaging, the smaller the volume of the packaging the better, that is, the higher the space utilization of the packaging the better, for the three-dimensional packing problem of heterogeneous squeezable items with soft and hard constraints under the constraints of the secondary optimization goal, the priority level is lower than “smaller.”


### 2.3. Model Construction

#### 2.3.1. Variable Settings

The description of symbols is shown in Table1.Table 1
Description of symbols.
SymbolsDefinitionsBoThe set of packages used foroth order, where o∈O.SioThe set of items packed in theith package used for the oth order, where o∈O, i∈B.moThe number of packages used for theoth order, mo=Bo.vjThe volume of thejth item, where j∈S.lj,wj,hjThe length, width, and height of thejth item, respectively.lj′,wj′,hj′The new length, width, and height of thejth item after extrusion and deformation, respectively.ViThe maximum volume of theith package.Li,Wi,HiThe length, width, and height of theith package, respectively.Lij′,Wij′,Hij′The new length, width, and height of theith bag after the jth item has been filled, respectively.Lmaxi′,Wmaxi′,Hmaxi′The maximum length, width, and height of theith bag, respectively.θojThe squeeze rate of theoth order of the jth squeezable item after packing, 0≤θoj≤10%.θoThe overall squeeze rate of theoth order after packing.ZθThe overall squeeze rate of all orders.αThe squeezability factor of the items in the order,0≤α<1.fThe average space utilization per order after all orders are packed.NThe total number of orders.FBe used to evaluate the goodness of a crating scheme. The higher the value, the better the crating scheme.


#### 2.3.2. Objective Functions and Constraints

Based on the “fewer and smaller” criteria and evaluation indexes given by a large e-commerce company, the objective function of this research problem is expressed as follows:(1)maxF=f−∑o∈OBo−α⋅Zθ.s.t.(2)∑o∈O∑i∈Bo∑j∈siovj/Vi/moN=f,(3)Li+Wi+Hi=Lij′+Wij′+Hij′,(4)Vi=Lmaxi′⋅Wmaxi′⋅Hmaxi′,i=1,2,…,x,Li⋅Wi⋅Hi,i=x,x+1,…,x+y,(5)lj⋅wj⋅hj=vj,(6)lj′⋅wj′⋅hj′=vj′,(7)∑j∈Siovj≤Vi,(8)minlj′lj,wj′wj,hj′hj=θoj,(9)∑j∈Sio∑j∈Sioθoj/∑j∈SiojBo=θo,(10)∑θo∑o=1nmo=Zθ.In the above model, (2) indicates the average space utilization of the package after all orders are cratered; (3) indicates the calculation rule when the package is a bag and the length-width-height dynamically changes; (4) indicates the volume when the package is a bag and a box, respectively; (5) and (6) indicate the volume after the items are not crushed and are crushed, respectively; (7) indicates the volume of all the items in an order. The total volume of all the items in an order is less than the volume of the packaging; that is, all the items can be packed into the packaging; (8) indicates that the extrusion rate of the items is calculated by the minimum value of the ratio between the length, width, and height after extrusion and before extrusion; (9) indicates that the order extrusion rate is equal to the average value of the extrusion rate of each item in each package; (10) indicates the overall extrusion rate of all orders.


## 2.1. Problem Explanation

In the current e-commerce retail department store industry, there are heterogeneous items such as chips, tissues, mirrors, scissors, and so on that differ in size, density, and weight. Among them, items such as chips and paper towels have squeezable properties, while items such as mirrors and scissors cannot be squeezed. In order to meet the actual demand, the e-commerce retail department store industry has two kinds of packaging items: boxes and bags, and in order to meet the different needs of customers, the e-commerce retail department store industry has packaging items of different sizes so as to meet the needs of customers while minimizing the cost and maximizing the benefits of the enterprise. Based on this, the following problem description is given:It is known that there is a set of items with different sizes, some of which have the property of being squeezable; there is a set of packages of different sizes, the packages include bags and boxes, where there is a soft constraint on the packing operation when using bags, and there is a hard constraint on the boxing operation; there is a set of order data, and each order contains different numbers of different kinds of items.Based on the consideration of the economic and social-environmental benefits of the enterprise, the enterprise designs the packaging with full consideration of the practicality and economy of the packaging. By analyzing the data set provided by an e-commerce platform, it is found that most orders can be packed into the same packaging. Therefore, the following settings are made: all items in each given order are loaded into the appropriate packaging; the result of packing cannot be lost orders or items lost, overlapping, etc.; the size constraints of the packaging cannot be exceeded when loading items. The goal is to fill all orders after the use of the minimum total number of packages, and the boxing solution with the highest space utilization is better.Based on the consideration of soft and hard constraints on items and packaging and other restrictions, the following assumptions and explanations are made for the three-dimensional packing problem of heterogeneous squeezable items based on the enterprise packing problem judging criteria of an e-commerce platform.(1)
The criteria for determining whether an item will fit into a bag are(a)
Bag length + bag height ≥ item length + item height(b)
Bag width + bag height ≥ item width + item height(2)
Items in different orders cannot be mixed in the same package(3)
Disregarding the item’s own weight and the load-bearing capacity of the package(4)
Do not consider whether the item itself has requirements for loading direction(5)
The rule for determining the length, width, and height of the article and the package is length ≥ width ≥ height(6)
Assume that each article has at least one package that can fit the article(7)
No consideration is given to the support problem that exists when the articles are packed(8)
Assume that the items are all rectangular with uniform density, the extrusion is for a certain face of the item, the force is uniform, and the extrusion rate cannot exceed 10%, otherwise it will have an impact on the value of the item, and it is considered that the boxing scheme is not feasible


## 2.2. Judging Criteria

Based on the premise of the huge order parcel base, the judging principle of the packing problem for the packing out link in the field of e-commerce retail department stores is “fewer and smaller.” “Fewer” means that, on the basis of ensuring that each item in the order can be packed, the smaller the number of packages used, the better, for the first optimization objective of the three-dimensional boxing problem with soft and hard constraints for heterogeneous squeezable items with multiple box types, which has a higher priority; “smaller” means that when the order uses the same number of packaging, the smaller the volume of the packaging the better, that is, the higher the space utilization of the packaging the better, for the three-dimensional packing problem of heterogeneous squeezable items with soft and hard constraints under the constraints of the secondary optimization goal, the priority level is lower than “smaller.”


## 2.3. Model Construction

### 2.3.1. Variable Settings

The description of symbols is shown in Table1.Table 1
Description of symbols.
SymbolsDefinitionsBoThe set of packages used foroth order, where o∈O.SioThe set of items packed in theith package used for the oth order, where o∈O, i∈B.moThe number of packages used for theoth order, mo=Bo.vjThe volume of thejth item, where j∈S.lj,wj,hjThe length, width, and height of thejth item, respectively.lj′,wj′,hj′The new length, width, and height of thejth item after extrusion and deformation, respectively.ViThe maximum volume of theith package.Li,Wi,HiThe length, width, and height of theith package, respectively.Lij′,Wij′,Hij′The new length, width, and height of theith bag after the jth item has been filled, respectively.Lmaxi′,Wmaxi′,Hmaxi′The maximum length, width, and height of theith bag, respectively.θojThe squeeze rate of theoth order of the jth squeezable item after packing, 0≤θoj≤10%.θoThe overall squeeze rate of theoth order after packing.ZθThe overall squeeze rate of all orders.αThe squeezability factor of the items in the order,0≤α<1.fThe average space utilization per order after all orders are packed.NThe total number of orders.FBe used to evaluate the goodness of a crating scheme. The higher the value, the better the crating scheme.


### 2.3.2. Objective Functions and Constraints

Based on the “fewer and smaller” criteria and evaluation indexes given by a large e-commerce company, the objective function of this research problem is expressed as follows:(1)maxF=f−∑o∈OBo−α⋅Zθ.s.t.(2)∑o∈O∑i∈Bo∑j∈siovj/Vi/moN=f,(3)Li+Wi+Hi=Lij′+Wij′+Hij′,(4)Vi=Lmaxi′⋅Wmaxi′⋅Hmaxi′,i=1,2,…,x,Li⋅Wi⋅Hi,i=x,x+1,…,x+y,(5)lj⋅wj⋅hj=vj,(6)lj′⋅wj′⋅hj′=vj′,(7)∑j∈Siovj≤Vi,(8)minlj′lj,wj′wj,hj′hj=θoj,(9)∑j∈Sio∑j∈Sioθoj/∑j∈SiojBo=θo,(10)∑θo∑o=1nmo=Zθ.In the above model, (2) indicates the average space utilization of the package after all orders are cratered; (3) indicates the calculation rule when the package is a bag and the length-width-height dynamically changes; (4) indicates the volume when the package is a bag and a box, respectively; (5) and (6) indicate the volume after the items are not crushed and are crushed, respectively; (7) indicates the volume of all the items in an order. The total volume of all the items in an order is less than the volume of the packaging; that is, all the items can be packed into the packaging; (8) indicates that the extrusion rate of the items is calculated by the minimum value of the ratio between the length, width, and height after extrusion and before extrusion; (9) indicates that the order extrusion rate is equal to the average value of the extrusion rate of each item in each package; (10) indicates the overall extrusion rate of all orders.


## 2.3.1. Variable Settings

The description of symbols is shown in Table1.Table 1
Description of symbols.
SymbolsDefinitionsBoThe set of packages used foroth order, where o∈O.SioThe set of items packed in theith package used for the oth order, where o∈O, i∈B.moThe number of packages used for theoth order, mo=Bo.vjThe volume of thejth item, where j∈S.lj,wj,hjThe length, width, and height of thejth item, respectively.lj′,wj′,hj′The new length, width, and height of thejth item after extrusion and deformation, respectively.ViThe maximum volume of theith package.Li,Wi,HiThe length, width, and height of theith package, respectively.Lij′,Wij′,Hij′The new length, width, and height of theith bag after the jth item has been filled, respectively.Lmaxi′,Wmaxi′,Hmaxi′The maximum length, width, and height of theith bag, respectively.θojThe squeeze rate of theoth order of the jth squeezable item after packing, 0≤θoj≤10%.θoThe overall squeeze rate of theoth order after packing.ZθThe overall squeeze rate of all orders.αThe squeezability factor of the items in the order,0≤α<1.fThe average space utilization per order after all orders are packed.NThe total number of orders.FBe used to evaluate the goodness of a crating scheme. The higher the value, the better the crating scheme.


## 2.3.2. Objective Functions and Constraints

Based on the “fewer and smaller” criteria and evaluation indexes given by a large e-commerce company, the objective function of this research problem is expressed as follows:(1)maxF=f−∑o∈OBo−α⋅Zθ.s.t.(2)∑o∈O∑i∈Bo∑j∈siovj/Vi/moN=f,(3)Li+Wi+Hi=Lij′+Wij′+Hij′,(4)Vi=Lmaxi′⋅Wmaxi′⋅Hmaxi′,i=1,2,…,x,Li⋅Wi⋅Hi,i=x,x+1,…,x+y,(5)lj⋅wj⋅hj=vj,(6)lj′⋅wj′⋅hj′=vj′,(7)∑j∈Siovj≤Vi,(8)minlj′lj,wj′wj,hj′hj=θoj,(9)∑j∈Sio∑j∈Sioθoj/∑j∈SiojBo=θo,(10)∑θo∑o=1nmo=Zθ.In the above model, (2) indicates the average space utilization of the package after all orders are cratered; (3) indicates the calculation rule when the package is a bag and the length-width-height dynamically changes; (4) indicates the volume when the package is a bag and a box, respectively; (5) and (6) indicate the volume after the items are not crushed and are crushed, respectively; (7) indicates the volume of all the items in an order. The total volume of all the items in an order is less than the volume of the packaging; that is, all the items can be packed into the packaging; (8) indicates that the extrusion rate of the items is calculated by the minimum value of the ratio between the length, width, and height after extrusion and before extrusion; (9) indicates that the order extrusion rate is equal to the average value of the extrusion rate of each item in each package; (10) indicates the overall extrusion rate of all orders.


## 3. Heuristic Packing Rule Design

In this paper, both the package and the item are cubed and placed into a right-angle coordinate system, where thex-axis is the length of the package or the item, the y-axis is the width of the package or the item, and the z-axis is the height of the package or the item. As shown in Figure 1, the position of the package or item can be expressed as 000LlWwHh. Point a coordinate is (0, 0, 0), indicating the package or item’s loading point coordinate; point b coordinate is Ll,Ww,Hh, indicating the package or item’s size.Figure 1
Schematic diagram of the coordinates of the package and the location of the item.


### 3.1. The Dynamic Bag Size Change Rule Design

When the bag is in the initial state, its height is nearly negligible, as shown in Figure2(a). At this time, the size information of the bag can be expressed as 0L0W01 . When filled with the first item l1w1h1 , its height dynamics change to the height of the item h1 and length and width according to the change in height to reduce the corresponding h1/2. The change process is shown in Figure 2(b). At this time, the size information of the bag is dynamically updated as0L−h1/20W−h1/20h1.Figure 2
Diagram of the dynamic change in size after the bag has been filled with items.Then, we find the right place to put the next item. We repeat the above steps when ready to load thenth item lnwnhn. At this time, the bag size information is0L−∑k=1n−1hk/20W−∑k=1n−1hk/20∑k=1n−1hk, where the location of a loading point information is∑k=1n−1hk/2L−∑k=1n−1hk/2∑k=1n−1hk/2W−∑k=1n−1hk/2∑k=1n−2hk∑k=1n−1hk.IfmaxL−2×∑k=1n−1hk/2+∑k=1n−1hk−∑k=1n−2hk,W−2×∑k=1n−1hk/2+∑k=1n−1hk−∑k=1n−2hk,∑k=1n−1hk−∑k=1n−2hk,≥lnminL−2×∑k=1n−1hk/2+∑k=1n−1hk−∑k=1n−2hk,W−2×∑k=1n−1hk/2+∑k=1n−1hk−∑k=1n−2hk,∑k=1n−1hk−∑k=1n−2hk≥hn, then the loading point is considered to be filled with the item; otherwise, the loading point is considered not to be filled with the item, and the next loading point is selected for judgment. If all the loading points are traversed and the item still cannot be filled, the bag is considered full.


### 3.2. Packaging Selection Rule Design

Sort the packages in descending order by the largest volume. When packing, we select a package with a volume slightly larger than the total volume of unboxed items in the current order for packing. If the items in the current order can no longer fit into the current package, we open a new package. We repeat until all items in the current order are packed.


### 3.3. The Design of Item Packing Orders

Because some items have deformable soft constraint limiting properties, the extrudable items are compressed first, and then the items contained in each order are sorted in descending order by volume, and the packing operation is performed starting from the item with the largest volume.


### 3.4. The Item Packing Direction Design

There are six states of the item in the package, as shown in Figure3.Figure 3
Object placement direction schematic diagram.
(a)(b)(c)(d)(e)(f)Their position information is0l0w0h, 0l0h0w, 0w0l0h, 0h0l0w, 0h0w0l, and 0w0h0l, respectively. When the item is boxed, we try to box the items in order according to the order in the figure, and we stop trying when the item can be put into the package. If the current package cannot be successfully put into the item, we open a new package. We repeat the above operation until the item is put into the package.


### 3.5. The Design of Loading Space Division Rules

When the item is loaded into the package, the package is divided into several spaces, and the small spaces are stitched together to create three large loadable spaces, as shown in Figure4. The locations are 0LwW−w0H, lL−l0W0H, and 0L0WhH−h from left to right, and they are stored in a dynamic array. The loading space is updated each time an additional item is placed.Figure 4
A diagram of possible loading space.


### 3.6. The Design of Loading Space Division Rules

Before the item is packed, all the loading points of the current item to be loaded are judged in turn. IfminL−x,W−y,H−z≥minl,w,h, the loading point information in the current set of loading points of the item to be loaded is retained; otherwise, it is deleted from the current set of loading points.We compare the size of the loadable spaceminL−x,W−y,H−z of each load point in the current set of filtered load points with the current items to be loaded minl,w,h, and we sort the order of the load points in the current set of load points, the closer the result is, the higher the order of the load points in the current set of load points.Based on the current set of loading points of the items to be loaded, if the results are the same, boxing will be carried out according to the rule of “left and then down.” As shown in Figure5, in the packing box 0L0W0H, the packing point a is selected first, then point b is selected, and then point e is selected. We determine whether the current item to be loaded lnwnhn can be put into the loading point e∑k=1n−1lkL0W0H. If maxL−∑k=1n−1lk,W,H≥lnminL−∑k=1n−1lk,W,H≥hn, it is considered that the current item can be loaded at point e, and the loading point information is updated; otherwise, it is decided that loading point e cannot be loaded with the current item to be loaded, and point c is selected. When reloading a new item, priority is given to loading point e. If it is still impossible to place the current item, the loading point f is judged. When all the loading points at the bottom of the package cannot fit the current item, we select point d to place the item according to the “layer generation” rule. We repeat the above steps until all the items in the current order are loaded into the packaging or the packaging can no longer fit the rest of the items.Figure 5
A diagram of the order of packing items.


### 3.7. Rules for Determining whether Items Overlap

We suppose that thejth item is placed atxjljyjwjzjhj and the j+1th item is placed at xj+1lj+1yj+1wj+1zj+1hj+1. The rule to determine whether two items have overlap is that if any set of data intersection is empty, it is determined that two items do not overlap, i.e., if there is any xj,xj+lj∩xj+1,xj+1+lj+1=∅ or yj,yj+wj∩yj+1,yj+1+wj+1=∅ or zj,zj+hj∩zj+1,zj+1+hj+1=∅, it is considered that there is no overlap between the two items.


### 3.8. Rules for Determining whether an Item is Out of Bounds

We assume that the position of thejth item in the oth order is xjljyjwjzjhj and the position of its packaging is 0Li0Wi0Hi. If xj+lj≤Liyj+wj≤Wizj+hj≤Hi, then the item is not considered to be out of bounds.


### 3.9. Design of Item Extrusion Operation Rules

Assuming that the extrusion operation is performed on a certain surface of the item, the volume of the item itself is physically reduced after the extrusion without considering the resulting change in the shape of the item, i.e., the extrusion operation only leads to a change in a single property of the length, width, and height of the item. Therefore, there are three possible rules for the dimensional change of thejth squeezed item:(11)1−αlj=lj′wj=wj′hj=hj′,lj=lj′1−αwj=wj′hj=hj′,lj=lj′wj=wj′1−αhj=hj′.The description of the heterogeneous extrudable item multicase 3D packing algorithm is shown in Algorithm1.Algorithm 1: Heterogeneous squeezable items multibin 3D packing algorithm.
Input: packages set B, order data set O, item set S;Output: packing solution for each order;StartStep 1: sort the packages in order of maximum volume from largest to smallest.Step 2: reading order data and sorting the squeezable items by size of the items from largest to smallest after squeezing them.(1)
Forn = 0 to N (traversing the order set)(2)
Calculate the total volume of all unboxed items in the current order(3)
Selecting packages that are slightly larger than the total volume of all unboxed items in the order(4)
Forj = 0 to total number of items in the current order (traversing items in order o)(5)
Update load point information setA(6)
Fora = 1 to A (traversing the set of loading points)(7)
Forb = 1 to 6 (traversing the set of boxing directions)(8)
If the current item can be loaded in the current direction(9)
Then load current item(10)
Break(11)
Else(12)
b++;(13)
End If(14)
End For(15)
If the current item has been loaded into(16)
Break(17)
Else(18)
a++;(19)
End If(20)
End For(21)
If the current item has been loaded into(22)
j++;(23)
Else(24)
Discard the current package and select a package with a slightly larger volume than the current package to start packing again.(25)
End If(26)
End For(27)
n++;(28)
End ForStep 3: output individual order packing solutions.End


## 3.1. The Dynamic Bag Size Change Rule Design

When the bag is in the initial state, its height is nearly negligible, as shown in Figure2(a). At this time, the size information of the bag can be expressed as 0L0W01 . When filled with the first item l1w1h1 , its height dynamics change to the height of the item h1 and length and width according to the change in height to reduce the corresponding h1/2. The change process is shown in Figure 2(b). At this time, the size information of the bag is dynamically updated as0L−h1/20W−h1/20h1.Figure 2
Diagram of the dynamic change in size after the bag has been filled with items.Then, we find the right place to put the next item. We repeat the above steps when ready to load thenth item lnwnhn. At this time, the bag size information is0L−∑k=1n−1hk/20W−∑k=1n−1hk/20∑k=1n−1hk, where the location of a loading point information is∑k=1n−1hk/2L−∑k=1n−1hk/2∑k=1n−1hk/2W−∑k=1n−1hk/2∑k=1n−2hk∑k=1n−1hk.IfmaxL−2×∑k=1n−1hk/2+∑k=1n−1hk−∑k=1n−2hk,W−2×∑k=1n−1hk/2+∑k=1n−1hk−∑k=1n−2hk,∑k=1n−1hk−∑k=1n−2hk,≥lnminL−2×∑k=1n−1hk/2+∑k=1n−1hk−∑k=1n−2hk,W−2×∑k=1n−1hk/2+∑k=1n−1hk−∑k=1n−2hk,∑k=1n−1hk−∑k=1n−2hk≥hn, then the loading point is considered to be filled with the item; otherwise, the loading point is considered not to be filled with the item, and the next loading point is selected for judgment. If all the loading points are traversed and the item still cannot be filled, the bag is considered full.


## 3.2. Packaging Selection Rule Design

Sort the packages in descending order by the largest volume. When packing, we select a package with a volume slightly larger than the total volume of unboxed items in the current order for packing. If the items in the current order can no longer fit into the current package, we open a new package. We repeat until all items in the current order are packed.


## 3.3. The Design of Item Packing Orders

Because some items have deformable soft constraint limiting properties, the extrudable items are compressed first, and then the items contained in each order are sorted in descending order by volume, and the packing operation is performed starting from the item with the largest volume.


## 3.4. The Item Packing Direction Design

There are six states of the item in the package, as shown in Figure3.Figure 3
Object placement direction schematic diagram.
(a)(b)(c)(d)(e)(f)Their position information is0l0w0h, 0l0h0w, 0w0l0h, 0h0l0w, 0h0w0l, and 0w0h0l, respectively. When the item is boxed, we try to box the items in order according to the order in the figure, and we stop trying when the item can be put into the package. If the current package cannot be successfully put into the item, we open a new package. We repeat the above operation until the item is put into the package.


## 3.5. The Design of Loading Space Division Rules

When the item is loaded into the package, the package is divided into several spaces, and the small spaces are stitched together to create three large loadable spaces, as shown in Figure4. The locations are 0LwW−w0H, lL−l0W0H, and 0L0WhH−h from left to right, and they are stored in a dynamic array. The loading space is updated each time an additional item is placed.Figure 4
A diagram of possible loading space.


## 3.6. The Design of Loading Space Division Rules

Before the item is packed, all the loading points of the current item to be loaded are judged in turn. IfminL−x,W−y,H−z≥minl,w,h, the loading point information in the current set of loading points of the item to be loaded is retained; otherwise, it is deleted from the current set of loading points.We compare the size of the loadable spaceminL−x,W−y,H−z of each load point in the current set of filtered load points with the current items to be loaded minl,w,h, and we sort the order of the load points in the current set of load points, the closer the result is, the higher the order of the load points in the current set of load points.Based on the current set of loading points of the items to be loaded, if the results are the same, boxing will be carried out according to the rule of “left and then down.” As shown in Figure5, in the packing box 0L0W0H, the packing point a is selected first, then point b is selected, and then point e is selected. We determine whether the current item to be loaded lnwnhn can be put into the loading point e∑k=1n−1lkL0W0H. If maxL−∑k=1n−1lk,W,H≥lnminL−∑k=1n−1lk,W,H≥hn, it is considered that the current item can be loaded at point e, and the loading point information is updated; otherwise, it is decided that loading point e cannot be loaded with the current item to be loaded, and point c is selected. When reloading a new item, priority is given to loading point e. If it is still impossible to place the current item, the loading point f is judged. When all the loading points at the bottom of the package cannot fit the current item, we select point d to place the item according to the “layer generation” rule. We repeat the above steps until all the items in the current order are loaded into the packaging or the packaging can no longer fit the rest of the items.Figure 5
A diagram of the order of packing items.


## 3.7. Rules for Determining whether Items Overlap

We suppose that thejth item is placed atxjljyjwjzjhj and the j+1th item is placed at xj+1lj+1yj+1wj+1zj+1hj+1. The rule to determine whether two items have overlap is that if any set of data intersection is empty, it is determined that two items do not overlap, i.e., if there is any xj,xj+lj∩xj+1,xj+1+lj+1=∅ or yj,yj+wj∩yj+1,yj+1+wj+1=∅ or zj,zj+hj∩zj+1,zj+1+hj+1=∅, it is considered that there is no overlap between the two items.


## 3.8. Rules for Determining whether an Item is Out of Bounds

We assume that the position of thejth item in the oth order is xjljyjwjzjhj and the position of its packaging is 0Li0Wi0Hi. If xj+lj≤Liyj+wj≤Wizj+hj≤Hi, then the item is not considered to be out of bounds.


## 3.9. Design of Item Extrusion Operation Rules

Assuming that the extrusion operation is performed on a certain surface of the item, the volume of the item itself is physically reduced after the extrusion without considering the resulting change in the shape of the item, i.e., the extrusion operation only leads to a change in a single property of the length, width, and height of the item. Therefore, there are three possible rules for the dimensional change of thejth squeezed item:(11)1−αlj=lj′wj=wj′hj=hj′,lj=lj′1−αwj=wj′hj=hj′,lj=lj′wj=wj′1−αhj=hj′.The description of the heterogeneous extrudable item multicase 3D packing algorithm is shown in Algorithm1.Algorithm 1: Heterogeneous squeezable items multibin 3D packing algorithm.
Input: packages set B, order data set O, item set S;Output: packing solution for each order;StartStep 1: sort the packages in order of maximum volume from largest to smallest.Step 2: reading order data and sorting the squeezable items by size of the items from largest to smallest after squeezing them.(1)
Forn = 0 to N (traversing the order set)(2)
Calculate the total volume of all unboxed items in the current order(3)
Selecting packages that are slightly larger than the total volume of all unboxed items in the order(4)
Forj = 0 to total number of items in the current order (traversing items in order o)(5)
Update load point information setA(6)
Fora = 1 to A (traversing the set of loading points)(7)
Forb = 1 to 6 (traversing the set of boxing directions)(8)
If the current item can be loaded in the current direction(9)
Then load current item(10)
Break(11)
Else(12)
b++;(13)
End If(14)
End For(15)
If the current item has been loaded into(16)
Break(17)
Else(18)
a++;(19)
End If(20)
End For(21)
If the current item has been loaded into(22)
j++;(23)
Else(24)
Discard the current package and select a package with a slightly larger volume than the current package to start packing again.(25)
End If(26)
End For(27)
n++;(28)
End ForStep 3: output individual order packing solutions.End


## 4. Algorithm Verification and Result Analysis

### 4.1. Experimental Environment

The experiment was conducted in a Windows 10 environment with an Intel (R) Core (TM) i5-10210U CPU @ 1.60 GHz, 2.11 GHz, 16.0 GB of RAM (15.8 GB available), and algorithms written in Python, version Python 3.9.


### 4.2. Experimental Data

In this paper, we use a large domestic e-commerce platform to give a packaging size dataset, an order dataset, and an item specification attribute dataset. The packaging dataset contains 3 types of bags and 7 types of boxes, for a total of 10 types of packaging items. The maximum value of packaging volume is 516600 cm3, and the minimum value is 120781 cm3. The maximum number of items is 187, the minimum is 40, and the average number of items per order is 113.487. The item dataset contains 30 kinds of items, and the attributes are mainly item size and whether they are deformable or not. 0 means the items are not deformable, i.e., they cannot be squeezed, and there are 18 items that cannot be squeezed. 1 means the items are deformable, i.e., they can be squeezed, and there are 12 items that can be squeezed. The length, width, and height of the items are in the range of 33 mm–99 mm, 22 mm–96 mm, and 20 mm–76 mm, respectively. The maximum value of item volume is 5848.20 cm3, and the minimum value is 271.04 cm3.All experimental data used for algorithm validation are from actual experiments with a high degree of reliability and representativeness, and they satisfy the description and assumptions made in the preceding problem, allowing us to test the algorithm’s feasibility and effectiveness in real-world applications. Some of the experimental data from the three datasets involved in the experiments are shown in Tables2 to 4. This experiment will use this dataset to perform no-squeeze operation 3D packing and squeeze operation 3D packing on the items, respectively, in order to verify the feasibility and effectiveness of the algorithm in practical applications.Table 2
Packing dataset (mm).
Package typeLengthWidthHeightNo. 1 self-propelled waterproof bag (D1)5494241No. 2 self-propelled waterproof bag (D2)5315091No. 3 self-propelled waterproof bag (D3)4494191Platform no. 1 packing box (X1)330330225Platform no. 2 packing box (X2)430360227Platform no. 3 packing box (X3)330240258Platform no. 4 packing box (X4)330330260Platform no. 5 packing box (X5)430360283Platform no. 6 packing box (X6)550400311Platform no. 7 packing box (X7)410350360Table 3
Order dataset (part).
Order no.Number of item typesTotal number of items01213311010421316038105414185………9951114799610105997811999891109999110Table 4
Object dataset (part).
Item no.LengthWidthHeightDeformable or not09489620167403602876863138167340445352505483623067322221775624908373028198560351107266450119996550125622221138975471148685710156462390168770260177355401185636220198250441……………


### 4.3. Experimental Results

Based on the order data, a suitable package is selected and the items are packed. The evaluation indexF value is −999.446 when the item is not squeezed and −999.323 when the item is squeezed, which shows that the packing solution obtained by squeezing the item first and then packing is better, with an overall optimization of 21.982%. A comparison of the results of the packing scheme is shown in Table 5.Table 5
A comparison table of the results of the packing scheme.
No squeeze operation on itemsSqueeze operation on itemsEvaluation indexF−999.137−999.173Number of packages used10001000Average space utilizationf86.346%82.799%Average packing solution calculation time (s)3.53.8As shown in Table4, according to the evaluation criteria of “fewer and smaller”:(1)
Regardless of whether or not the items are crushed during the crating operation, the crating results are 1000 orders using a total of 1000 packages, and the number of packages used for each order is 1, achieving the crating goal of using the least number of packages;(2)
Without extrusion, the maximum space utilization value of the packaging after packing 1000 orders was 87.3852%, the minimum value was 50.8678%, and the average space utilizationf value was 86.346%. When extrusion operation was performed on the items, the maximum space utilization rate of the packaging after packing 1000 orders was 92.9995%, the minimum value was 53.8206%, and the average space utilization f value was 82.799%. Both achieved a higher average space utilization rate than the actual e-commerce department store retail industry and, to a certain extent, achieved the packing goal of “smaller” packaging volume;(3)
The average time required to calculate each packing solution per order is 3.5 s when no extrusion is performed on the items. When extruding the items, the average time required to calculate each packing solution per order was 3.8 s. In contrast, squeezing the items first leads to a slight increase in the calculation time of the solution, but it can effectively meet the daily crates needs of companies in practice, regardless of whether the items are squeezed first. There are no situations where an order to be boxed has arrived and the staff don't know which packaging to choose for the box and how the item should be packed. At the same time, it also avoids to a certain extent the waste that may be caused by the packing staff’s experience in the packing of order items and helps the e-commerce department store retail industry save a certain amount of time, labor trial and error costs, and operation costs in the warehouse packing out of the warehouse. When an extrusion operation is carried out on the items, the effect of the partial packing scheme is shown in Figure6.Figure 6
The result chart of item packing.In the process of the study, it was found that the average space utilization value of the packaging was 3.548% lower when the extrusion operation was performed first compared to the packing without the extrusion operation, i.e., the space utilization of some orders with the extrusion operation and then packing was lower than the space utilization of the direct packing. Statistics on the packing results showed that there were 880 orders with higher space utilization when packing was done directly and 120 orders with higher space utilization when crushing operations were performed first and then packing was done. The crating scheme of orders with and without crushing operation was compared, and the volume difference between the order items before and after crushing was calculated, as well as the volume difference of the packaging selected before and after crushing of the order items, and some results are shown in Table6. When the total volume difference of the order after the squeezing operation is greater than the difference in the volume change of the selected packaging, the items are first squeezed and then packed; otherwise, the items in the order are packed directly.Table 6
Comparison table of the results of the packing operation (part).
Order no.No extrusion operationPerforming extrusion operationsOrder volume differencePackage volume differenceTotal order volume (cm3)PackageVolume (cm3)f(%)Total order volume (cm3)PackageVolume (cm3)f(%)020282582X42831400071.63446419461392.8X42831400068.734170821189.20117625280X42831400062.24934717014602.8X42831400060.092544610677.20228438130X54380840064.91478826833974.4X54380840061.2530351604155.601732455188X75166000062.82459931049735.9X54380840070.8762151405452.178516001835489090X75166000068.69742633465645.6X54380840076.3909332023444.478516003619893597X56842000057.4896618956781.5X23513960054.461013936815.5332804004326735613X23513960076.08399926735613X23513960076.083999005115497871X12450250063.25016214923882.5D220809848.5271.715479573988.53692651.4811821344060X13513960060.7407620317933.6X42831400071.7593191026126.4682560012011660823D116432968.0570.95993211660823D116432968.0570.9599320013730737753X75166000059.50010328905245X54380840065.9810561832508785160014114712168X12450250060.04353813852996.8D220809848.5266.569426859171.23692651.4823316707377X12450250068.18641815857296X12450250064.717053850081.2032199391243X12450250045.9598068738625D312078072.3372.3511566526188355527.6740518729023X42831400066.14757017855141X12450250072.870692873881.6381150059121276003X32043360060.54708410121136X32043360060.5470840065019476566X56842000028.46618818069972X42831400063.81992014065944010600077313630918X12450250055.63072313630918X12450250055.6307230086516745289X42831400059.14137516160395X12450250065.954066584894381150098924975915X54380840057.01170323329326.3X23513960066.3904151646588.78668800


## 4.1. Experimental Environment

The experiment was conducted in a Windows 10 environment with an Intel (R) Core (TM) i5-10210U CPU @ 1.60 GHz, 2.11 GHz, 16.0 GB of RAM (15.8 GB available), and algorithms written in Python, version Python 3.9.


## 4.2. Experimental Data

In this paper, we use a large domestic e-commerce platform to give a packaging size dataset, an order dataset, and an item specification attribute dataset. The packaging dataset contains 3 types of bags and 7 types of boxes, for a total of 10 types of packaging items. The maximum value of packaging volume is 516600 cm3, and the minimum value is 120781 cm3. The maximum number of items is 187, the minimum is 40, and the average number of items per order is 113.487. The item dataset contains 30 kinds of items, and the attributes are mainly item size and whether they are deformable or not. 0 means the items are not deformable, i.e., they cannot be squeezed, and there are 18 items that cannot be squeezed. 1 means the items are deformable, i.e., they can be squeezed, and there are 12 items that can be squeezed. The length, width, and height of the items are in the range of 33 mm–99 mm, 22 mm–96 mm, and 20 mm–76 mm, respectively. The maximum value of item volume is 5848.20 cm3, and the minimum value is 271.04 cm3.All experimental data used for algorithm validation are from actual experiments with a high degree of reliability and representativeness, and they satisfy the description and assumptions made in the preceding problem, allowing us to test the algorithm’s feasibility and effectiveness in real-world applications. Some of the experimental data from the three datasets involved in the experiments are shown in Tables2 to 4. This experiment will use this dataset to perform no-squeeze operation 3D packing and squeeze operation 3D packing on the items, respectively, in order to verify the feasibility and effectiveness of the algorithm in practical applications.Table 2
Packing dataset (mm).
Package typeLengthWidthHeightNo. 1 self-propelled waterproof bag (D1)5494241No. 2 self-propelled waterproof bag (D2)5315091No. 3 self-propelled waterproof bag (D3)4494191Platform no. 1 packing box (X1)330330225Platform no. 2 packing box (X2)430360227Platform no. 3 packing box (X3)330240258Platform no. 4 packing box (X4)330330260Platform no. 5 packing box (X5)430360283Platform no. 6 packing box (X6)550400311Platform no. 7 packing box (X7)410350360Table 3
Order dataset (part).
Order no.Number of item typesTotal number of items01213311010421316038105414185………9951114799610105997811999891109999110Table 4
Object dataset (part).
Item no.LengthWidthHeightDeformable or not09489620167403602876863138167340445352505483623067322221775624908373028198560351107266450119996550125622221138975471148685710156462390168770260177355401185636220198250441……………


## 4.3. Experimental Results

Based on the order data, a suitable package is selected and the items are packed. The evaluation indexF value is −999.446 when the item is not squeezed and −999.323 when the item is squeezed, which shows that the packing solution obtained by squeezing the item first and then packing is better, with an overall optimization of 21.982%. A comparison of the results of the packing scheme is shown in Table 5.Table 5
A comparison table of the results of the packing scheme.
No squeeze operation on itemsSqueeze operation on itemsEvaluation indexF−999.137−999.173Number of packages used10001000Average space utilizationf86.346%82.799%Average packing solution calculation time (s)3.53.8As shown in Table4, according to the evaluation criteria of “fewer and smaller”:(1)
Regardless of whether or not the items are crushed during the crating operation, the crating results are 1000 orders using a total of 1000 packages, and the number of packages used for each order is 1, achieving the crating goal of using the least number of packages;(2)
Without extrusion, the maximum space utilization value of the packaging after packing 1000 orders was 87.3852%, the minimum value was 50.8678%, and the average space utilizationf value was 86.346%. When extrusion operation was performed on the items, the maximum space utilization rate of the packaging after packing 1000 orders was 92.9995%, the minimum value was 53.8206%, and the average space utilization f value was 82.799%. Both achieved a higher average space utilization rate than the actual e-commerce department store retail industry and, to a certain extent, achieved the packing goal of “smaller” packaging volume;(3)
The average time required to calculate each packing solution per order is 3.5 s when no extrusion is performed on the items. When extruding the items, the average time required to calculate each packing solution per order was 3.8 s. In contrast, squeezing the items first leads to a slight increase in the calculation time of the solution, but it can effectively meet the daily crates needs of companies in practice, regardless of whether the items are squeezed first. There are no situations where an order to be boxed has arrived and the staff don't know which packaging to choose for the box and how the item should be packed. At the same time, it also avoids to a certain extent the waste that may be caused by the packing staff’s experience in the packing of order items and helps the e-commerce department store retail industry save a certain amount of time, labor trial and error costs, and operation costs in the warehouse packing out of the warehouse. When an extrusion operation is carried out on the items, the effect of the partial packing scheme is shown in Figure6.Figure 6
The result chart of item packing.In the process of the study, it was found that the average space utilization value of the packaging was 3.548% lower when the extrusion operation was performed first compared to the packing without the extrusion operation, i.e., the space utilization of some orders with the extrusion operation and then packing was lower than the space utilization of the direct packing. Statistics on the packing results showed that there were 880 orders with higher space utilization when packing was done directly and 120 orders with higher space utilization when crushing operations were performed first and then packing was done. The crating scheme of orders with and without crushing operation was compared, and the volume difference between the order items before and after crushing was calculated, as well as the volume difference of the packaging selected before and after crushing of the order items, and some results are shown in Table6. When the total volume difference of the order after the squeezing operation is greater than the difference in the volume change of the selected packaging, the items are first squeezed and then packed; otherwise, the items in the order are packed directly.Table 6
Comparison table of the results of the packing operation (part).
Order no.No extrusion operationPerforming extrusion operationsOrder volume differencePackage volume differenceTotal order volume (cm3)PackageVolume (cm3)f(%)Total order volume (cm3)PackageVolume (cm3)f(%)020282582X42831400071.63446419461392.8X42831400068.734170821189.20117625280X42831400062.24934717014602.8X42831400060.092544610677.20228438130X54380840064.91478826833974.4X54380840061.2530351604155.601732455188X75166000062.82459931049735.9X54380840070.8762151405452.178516001835489090X75166000068.69742633465645.6X54380840076.3909332023444.478516003619893597X56842000057.4896618956781.5X23513960054.461013936815.5332804004326735613X23513960076.08399926735613X23513960076.083999005115497871X12450250063.25016214923882.5D220809848.5271.715479573988.53692651.4811821344060X13513960060.7407620317933.6X42831400071.7593191026126.4682560012011660823D116432968.0570.95993211660823D116432968.0570.9599320013730737753X75166000059.50010328905245X54380840065.9810561832508785160014114712168X12450250060.04353813852996.8D220809848.5266.569426859171.23692651.4823316707377X12450250068.18641815857296X12450250064.717053850081.2032199391243X12450250045.9598068738625D312078072.3372.3511566526188355527.6740518729023X42831400066.14757017855141X12450250072.870692873881.6381150059121276003X32043360060.54708410121136X32043360060.5470840065019476566X56842000028.46618818069972X42831400063.81992014065944010600077313630918X12450250055.63072313630918X12450250055.6307230086516745289X42831400059.14137516160395X12450250065.954066584894381150098924975915X54380840057.01170323329326.3X23513960066.3904151646588.78668800


## 5. Conclusions

The three-dimensional bin packing problem is prevalent in all walks of life, such as transportation vehicle container packing links, airline container packing links, and so on. However, no scholars have paid attention to the packing problem in the warehouse packing out of the e-commerce retail industry, so it is of great practical significance to study the multicarton three-dimensional packing problem of heterogeneous squeezable items under the constraints of soft and hard constraints. In this paper, we focus on the packing and shipping process in the e-commerce department store retail industry, and we design a heuristic algorithm to solve the heterogeneous squeezable item multicarton 3D crating problem, focusing on the impact on the order crating space utilization when the item is flexible and can be squeezed to a certain extent. The feasibility and effectiveness of the algorithm are compared and verified with specific data sets, and the results prove that the algorithm can meet the packing requirements of e-commerce retail department store-type enterprises and can reduce the time cost and labor cost of enterprises to a certain extent.The optimization of the algorithm will be carried out later to improve the speed of the algorithm and to try to use the rest of the algorithm to solve the problem. Further research will be conducted on whether and under what conditions to squeeze the items during the crate operation. At the same time, with the application of digital twin technology in the field of logistics, subsequent research will use digital twin to simulate the effect of crating in order to more intuitively find the factors affecting the effect of crating, so as to improve the crating solution, further optimize the amount of packaging materials used and improve the space utilisation of the crating solution. Based on this, the packaging size is optimized and standardised with clustering and other algorithms to improve the recycling rate of the boxes, in order to further save costs in the e-commerce retail sector, effectively reduce carbon emissions, and better respond to the national call for “green packaging.”



---

*Source: 1497148-2022-11-10.xml*