Abstract
Today with the outbreak of the COVID-19 many people prefer to stay home and buy their required products from online sellers and receive them in their home or office at their desired times. This change has increased the workload of online retailers. In an online retailing system, lots of orders containing different products arrive dynamically and must be delivered in the due dates requested by customers, so there is a limited time to retrieve products from their storage locations, pack them, load them on trucks, and deliver to their destinations. In this study, we deal with the integrated order batching and delivery planning of an online retailer that stores a variety of products in a warehouse and sells them online. A mixed-integer nonlinear programming model is proposed that decides on order batching, scheduling of batches, assigning orders to trucks, and scheduling and routing of trucks simultaneously in an offline setting. This model clarifies the domain of the problem and its complexity. Two rule-based heuristic algorithms are developed to solve the problem in the online setting. The first algorithm deals with two sub-problems of order batching and delivery planning separately and sequentially, while the second algorithm considers the relationship between two sub-problems. An extensive numerical experiment is carried out to evaluate the performance of algorithms in different problem sizes, demonstrating that the second algorithm by integrating two sub-problems leads to a minimum of 14% reduction in cost per delivered order, as the main finding of this study. Finally, the effect of several parameters on the performance of algorithms is analyzed through a sensitivity analysis, and some managerial insights are provided to help the retail managers with their decision-making that are the other findings of this paper.
Introduction
Nowadays rapid increase in the use of information technology and the improvement of e-commerce have noticeably changed the way of shopping, managing activities, and distributing products for individuals and companies [1]. Retailing is one of the industries significantly influenced by these changes. In an e-commerce context of retailing, a large number of small orders must be prepared and delivered to numerous end consumers in a limited time [2]. In an online system, orders become available dynamically when there is no information about future orders [3]. On the other hand, the spread of the Covid-19 pandemic has faced online retailers with a significant upsurge [4]. Thus, they need effective decision support systems for managing intensive daily operations to control their costs and maintain their customers’ satisfaction.
Order picking is the most costly and critical operation of any material handling system [5]. Order picking is defined as the process of retrieving items of an order from their storage locations. When there are lots of small orders, usually order batching methods are used to decrease the order picking process time. These methods, group a set of orders into a number of batches so that each batch of orders can be picked in one picking tour [6].
Recently, the fast development of e-commerce results in new challenges and opportunities for the logistics system [7]. An important issue of selling products through the internet is that orders have to be delivered to the customers, so the delivery policy needs to be considered carefully. The delivery policy determines customer areas, delivery costs, delivery time windows, and lead times [8]. Consequently, having a distribution system with reliable, effective, and efficient performance is crucial for the success of companies in the competitive marketplace [9].
In this study, we address the integrated order batching and delivery planning problem of online retailers. As mentioned before, in the online retailing systems, orders become available during the planning horizon. We also assume that orders have specific due dates. Order batching and delivery planning are two strongly interconnected problems due to the short period between the arrival of orders and delivery times [10]. The delivery planning determines whether an order should be picked immediately or can wait. On the other hand, the order batching scheduling specifies when an order is ready to be delivered. Thus, a schedule for the order batching may be favorable for the batching process but inefficient for the delivery process [10]. Therefore, balancing between these two operations is remarkably important for online retailers. A highly-efficient distribution plan, not only reduces the total transportation cost of supply chain systems but also improves customer satisfaction by delivering orders at a suitable time [11, 12].
Several newly published papers demonstrated that the integration of order picking and delivery planning problems can significantly reduce system cost compared to the use of a sequential approach [10, 13]. Because these operations need to be carried out every day, such a cost-saving in big warehouses with a huge amount of operational costs will lead to a remarkable benefit in the long term [14, 15]. However, as demonstrated in the literature review, this integration has scarcely been addressed in the online setting.
The main novelty of this study is considering three essential aspects of online retailing systems together, including the integrated planning of order batching and delivery processes, the dynamic arrival of orders during the planning horizon, and having a specific due date for each order. Simultaneous consideration of these aspects makes our work more realistic and practical. Moreover, changing the case model and its assumptions will change the research space that may make the current solution methods inefficient [16]. Meanwhile, the best study proposes a simple but effective algorithm to solve a complex problem [17]. These facts motivate us to contribute to both problem formulation and solution algorithm in the new setting. Through this study, we are going to propose a decision-making tool for the online retailers enabling them to solve their daily operational problems, demonstrating the impact of the integration of two sub-problems on the system performance and cost, and investigating the effect of changing different parameters on the results.
The contributions of this paper are as follows. First, we propose a mixed-integer nonlinear programming model for the integrated problem in an offline setting. This model clarifies the domain of the problem and its complexity. The offline model generates order batches, schedules picking of batches, assigns orders to trucks, and defines and schedules delivery routes of trucks. Second, for solving the problem in the online setting, two rule-based heuristics of A1 and A2 are proposed. A1 deals with two sub-problems separately and sequentially, so that use the output of order batching in the delivery planning. However, A2 considering the relationship between two sub-problems tries to reduce the number of delayed orders and maximize trucks’ utilization. To the best of our knowledge, our algorithms plan and schedule the operations of order picking and delivery processes jointly for a full working shift considering the dynamic arrival of orders and due dates for the first time. Third, the performance of algorithms is evaluated through an extensive numerical experiment. It is demonstrated that A2 by considering the relationship between two sub-problems can improve the performance of the system compared to A1. Moreover, a sensitivity analysis is conducted to show the effect of several parameters on the solutions. Finally, some managerial insights are provided for retail managers based on the sensitivity analysis.
The final aim of our study is to provide a practical decision-making system for online retailers to help them by effectively managing their daily operations. Our algorithms can also contribute to the design of a new retailing system, analyzing its costs and benefits as well as defining needed facilities such as the number of inbound trucks and the capacity and type of trucks. Below the highlights of this research are listed: noticeably reducing the number of delayed orders, integrated planning of order picking and delivery processes increases customer satisfaction. Integration of order picking and delivery planning leads to a minimum of 14% reduction in the cost per delivered order. A correct combination of system settings such as the picking device capacity and the number and the type of trucks dramatically improves the performance of the system.
The remainder of the paper is organized as follows. Section 2 contains a review of related literature. Section 3 is the problem description. The offline integrated model is presented in section 4, and solution methods are described in section 5. Section 6 presents the numerical experiment, performance evaluation of algorithms, the sensitivity analysis, and managerial insights. Finally, section 7 includes conclusions and further research opportunities.
Literature review
Order picking is one of the essential operations in retailing warehouses that many researchers have dealt with this problem in both offline and online settings. De Koster, et al. [6] presented a comprehensive review of decision problems of an order picking system. Cano, et al. [18] reviewed order batching, batches sequencing, and order pickers routing problems to identify existing methods and approaches and as well as research gaps.
In some studies, having different due dates for orders is also considered in the order picking process. In this regard, Elsayed, et al. [19] and Elsayed and Lee [20] modeled order batching and batch sequencing problems in an automated warehouse with one order picker. They used heuristic methods to solve the problems. Tsai, et al. [21] presented a multiple genetic algorithm for order batching, sequencing, and order picker routing problems with one order picker. Henn and Schmid [22] introduced two metaheuristics for the aforementioned problems. Their first algorithm was based on iterated local search, and the second one was derived from the attribute-based hill climber method. Chen, et al. [23] used a genetic algorithm for order batching and sequencing, and an ant colony algorithm for the order picker routing problem. Henn [24], Scholz, et al. [25], Menéndez, et al. [26], and van Gils, et al. [14] addressed the same problem with multiple order pickers.
In recent years, online order picking systems are more popular and many researchers have dealt with the online order batching problem. Lu, et al. [27] presented an interventionist routing algorithm for an online order picking system. They only addressed the routing problem and did not deal with order batching, then Giannikas, et al. [28] developed that algorithm by adding the possibility of order batching. Pérez-Rodríguez, et al. [29] proposed a continuous estimation of the distribution algorithm-based approach for online order batching. They assumed that orders have different arrival time but their information is available in advance, however, this assumption is not realistic in an online system because orders become available gradually. Giannikas, et al. [28] modeled joint planning of order batching and pickers routing. The order batching method was based on the similarity coefficient. For the routing problem, an ant colony algorithm was presented. They also considered the assumption of Pérez-Rodríguez, et al. [29] for orders’ arrival information.
Henn [3] modified offline order batching heuristics for the online problem to minimize the maximum order completion time. Three decision points were considered so that whenever one of them occurs the algorithm should do an action. Moreover, he used a competitive analysis to prove that used heuristics are 2-competitive. It means that the objective function of the online solution is at most twice of the offline solution. Gil-Borrás, et al. [30] developed an algorithm based on the combination of a greedy randomized adaptive search procedure and a variable neighborhood descent for the online order batching problem. Alipour, et al. [31] expanded the algorithm of Henn [3] considering multiple order pickers. Zhang, et al. [32] proposed a hybrid rule-based algorithm for order batching and sequencing problems. Their approach is somewhat similar to Henn [3], but they considered multiple order pickers and batching methods are different in some details.
Order picking and delivery planning are two main interconnected problems that integration of them will improve the efficiency and flexibility of the system [13]. In recent years some researchers have integrated these two problems. Moons, et al. [33] addressed joint order picking and vehicle routing problem and solved it optimally in small sizes when orders have different due dates and arrival times. Meanwhile, they assumed that the arrival time of all orders is available in advance. Moons, et al. [13] proposed a record-to-record travel algorithm to solve the same problem in both small-size and large-size instances. Schubert, et al. [10] developed a decision support model and a general variable neighborhood search-based algorithm to solve the joint order picking and delivery planning in omnichannel retail. They assumed same-day delivery in which customers should register their orders before a definite cut-off time. However, in all of these papers, the authors did not address the order batching problem. Kuhn, et al. [34] also proposed an Adaptive large neighborhood search metaheuristic for the joint order batching and vehicle routing problem in an offline setting.
Zhang, et al. [35] integrated online order batching and delivery planning. In their study, a third-party logistics company is responsible for the delivery operation. They assumed that each order belongs to a delivery zone, and each delivery zone has a dedicated truck with a definite departure time. If an order is not ready until the departure time of the related truck, it cannot be delivered on time and has to wait until the next day’s departure time. Their model minimizes picking time as the first objective function and maximizes the number of on-time delivered orders as the second objective function. They also proposed a rule-based heuristic algorithm to solve the problem in which, either after passing a specific time or ordering a defined number of products, the algorithm solves the offline problem using order batching and batch assignment heuristics.
Zhang, et al. [36] considered assumptions of Zhang, et al. [35] with a difference that vehicles could deliver products several times a day. The authors proposed a rule-based algorithm that solves delivery planning and order batching separately. When a new Order arrives, the order batching algorithm needs to be updated based on defined rules. In the delivery part, for each delivery zone at predefined periods, as many picked orders as possible will be allocated to the vehicle. Zhang, et al. [37] also considered the integration of order picking and delivery planning with multiple pickers incorporating learning effects in an O2O community supermarket. They proposed a rule-based heuristic to solve the problem and proved that their algorithm is 2-competitive. They also considered sequential warehouse zoning. In the delivery part, once the number of picked orders satisfies the capacity of a truck, the truck will deliver those orders.
According to the reviewed literature, while the integrated planning of order batching and delivery operations is highly beneficial [10, 13], limited studies have dealt with this issue. On the other hand, in an online system, orders arrive dynamically during the planning horizon and have different due dates. To the best of our knowledge, none of the previous studies considered these three aspects of our research together. Moons, et al. [33], Moons, et al. [13], and Kuhn, et al. [34] assumed that all orders are known at the beginning of the planning horizon. Schubert, et al. [10] considered dynamic arrival of orders until a fixed cut-off time. However, we assume that customers can register their orders every time during the day. Moreover, these studies ignored order batching problem. Meanwhile, although Zhang, et al. [35], Zhang, et al. [36], and Zhang, et al. [37] addressed integrated order batching and delivery planning with dynamic arrival of orders, they did not consider different due dates for orders. Therefore, the need for a comprehensive formulation and efficient algorithms considering real-world conditions and leading to practical solutions is obvious. Table 1 compares our research with similar studies and shows the differences and similarities between our work and other studies.
Comparison of our study with the available literature
Comparison of our study with the available literature
In this study, we deal with an online retailing system that sells different products through its website. Customers register their orders, select their desired delivery times among available delivery intervals, and receive the orders in predefined locations. This system conducts two essential operations of picking and delivery of orders every day. All products are stored in one warehouse. The warehouse storage area is divided into several zones so that similar products are located in the same zone. Based on the synchronized zoning method, in each storage zone, an order picker is responsible for manually retrieving items from that zone. An order may contain products from several storage zones. After picking the items from all zones, the order is ready to be delivered. The order batching method is used to reduce the picking operation time.
When the picking process of orders is completed, they should be delivered to their destinations. Because locations of customers are scattered in a large area and are usually far from the warehouse, there are several cross-docks that service customers in their neighborhood. In Cross-docking systems, orders receive to a distribution center by inbound trucks and then deliver to end-customers by outbound trucks with a minimum handling and storage cost [38, 39]. Each customer is assigned to one cross-dock. Prepared orders are transferred to relevant cross-docks by inbound and rental trucks. In this study, we do not address the distribution planning in the cross-docks. Therefore, here the delivery process refers to transferring orders from the warehouse to their relevant cross-docks so that they can be delivered to customers on time. The online order batching and delivery planning problem is defined base on the following assumptions derived from a real-world online retailing system. The exact storage location of each product is defined, and every product is stored in only one place. The warehouse layout in each storage zone is single-block with two cross aisles as shown in Fig. 1. An order picker is assigned to only one zone. If the picking process of an order does not complete on time, it will be delivered with a delay. Special containers are used for collecting items of each order in each zone. These containers are also used in the delivery process. We assume that the requested products of a zone in each order do not exceed one container. In each zone, the order picker uses a picking device with a specific capacity of containers. Once an order picker starts the picking process of a batch, the list of orders in the batch can’t change. The picking completion time of an order equals the maximum completion time of all batches of all zones to which that order is assigned. All orders after picking from zones are transferred to a specific place in the warehouse and then, they are ready to be loaded in trucks. Order pickers routing in each storage zone is based on the well-known s-shape method that is demonstrated in figure 1. Order pickers work in one shift a day with a definite start and finish time. Cross-docks have an unlimited capacity. Each order is assigned to the nearest cross-dock. There are limited numbers of inbound trucks with a limited capacity. If the inbound trucks are not enough to deliver all orders, rental trucks can be used by paying additional costs. Orders can’t be divided into two or more shipments. We assume four three-hour delivery intervals starting at 9 AM and finishing at 9 PM. Customers can choose one delivery interval among four available intervals after registering their orders. The start time of the first delivery interval that a customer can choose is at least four hours after registering time. We can assign each truck to only one delivery route in each delivery interval. All trucks must deliver their shipments before the start time of the next delivery interval at all cross-docks in their delivery routes.

Warehouse structure in each storage zone and an s-shape route.
Integrated order batching and delivery planning model.
To formulate the model, the used indices, parameters, and decision variables are presented as follows:
i : Order number index, i∈ { 1, …, O }
j : Batch number index, j∈ { 1, …, G z }
v : Truck number index, v∈ { 1, …, V + V′ }
z : Storage zone index, z∈ { 1, …, Z }
s : Storage aisle index, s∈ { 1, …, I z }
h : Cross-dock index, h∈ { 1, …, H }, h= 0 represents the warehouse
r : Delivery interval index, r∈ { 1, …, D }
O : Total number of available orders
Z : Number of storage zones
H : Number of cross-docks
D : Number of delivery intervals
V : Number of inbound trucks
V′ : Maximum number of rental trucks
G z : Number of needed batches in zone z
I z : Number of storage aisles in zone z
LI z : Length of each storage aisle in zone z
WI z : width of each storage aisle in zone z
CO z : Capacity of a batch in zone z
a r : Start time of delivery interval r
b i : Delivery interval of order i, b i ∈ { 1, …, D }
M ih : 1 if order i is assigned to cross-dock h, 0 otherwise
cap v : Capacity of truck v (number of product containers)
CV v : Cost of truck v per time unit
SV : Travel speed of trucks
CD : Delay cost per order per delivery interval
SL : Order picker travel speed
t p : The needed time for picking a product item from its shelf and putting it in the container
t l : Truck loading time
t ul : Truck unloading time
tsd : Start time of a working day
tfd : Finish time of a working day
u rv : 1 if truck v is used in delivery interval r, 0 otherwise
td rv : Departure time of truck v in delivery interval r
yhh′rv : 1 if truck v visits cross-dock h′ after cross-dock h in delivery interval r, 0 otherwise
w irv : 1 if order i is delivered by truck v in delivery interval r, 0 otherwise
d i : Number of delayed delivery intervals of order i
As mentioned before, order pickers routing is based on the s-shape method. In this routing method, the order picker only visits aisles from which at least one product should be picked and then comes back to the start point. All visited aisles are traversed entirely unless the last aisle. If the number of visited aisles is even, the order picker visits the last aisle entirely, and if the number of aisles is odd, the order picker will traverse the last aisle from the right side to the last storage location and then come back [40]. Consequently, the traversed distance of batch j in zone z can be computed through Equation (1).
The objective function (3) consists of three parts. The first part computes the transportation cost from the warehouse to the last cross-docks. The second part considers travel cost from the last cross-docks to the warehouse, and the third part expresses the delay cost. Equation (4) guarantees that if an order includes at least one product of a zone, this order can be assigned to at most one batch in that zone. Constraint (5) indicates picking device capacity limitation. Inequalities (6) and (7) compute
Constraint (14) impedes an order to be assigned to a truck at a delivery interval if the truck is not used at that delivery interval. Inequality (15) creates a lower bound for variable d i . Because the objective function minimizes the total cost in the optimal solution, d i equals its lower bound. Equation (16) causes d i to become equal to D if order i is not assigned to a truck.
Equation (17) ensures that if cross-dock h is visited in a route by a truck, that truck in that route travels to h exactly from one cross-dock, and from h moves to only one cross-dock. Equations (18) and (19) guarantee that if a truck is used in a delivery interval, that truck leaves the warehouse and comes back to the warehouse only one time at that delivery interval. Inequality (20) is the sub-tour elimination constraint in delivery routes. Constraint (21) expresses that if order i should be delivered to cross-dock h and is assigned to truck v in delivery interval r, truck v has to visit cross-dock h in delivery interval r . Inequality (22) is the capacity constraint of trucks. Inequality (23) ensures that the picking start time of the first batch of each zone is greater than the start time of the working day. Constraint (24) expresses that the picking finish time of all batches of all zones should be less than the finish time of the working day. Finally, constraint (25) defines the domain and type of decision variables.
The integrated model defines order batching and delivery planning for available orders however, in an online system, orders become available gradually during the day. Gademann and Velde [41] have proved that the order batching problem is NP-hard and cannot be solved optimally in a reasonable time. Heuristic and metaheuristic algorithms are an alternative approach to deal with the NP-hard problems [42]. Our problem is a combination of order bathing and vehicle routing problem, thus, has more complexity than the general order batching problem. On the other hand, the list of available orders changes continuously so, we need an algorithm to deal with the dynamic nature of the problem effectively.
Solving the integrated online order batching and delivery planning problem has two phases. The first phase is determining the updating times of the current plan, and the second one is solving the offline problems. We propose two hybrid rule-based heuristic methods (algorithm A1 and A2) to solve the online problem. Algorithm A1 deals with two sub-problems of order batching and delivery planning sequentially, while algorithm A2 considers the relationship between two sub-problems. The batching method used in both A1 and A2 is explained in section 5.1. Then, algorithms A1 and A2 are introduced in sections 5.2 and 5.3, respectively.
Before introducing the algorithms, we need to clarify our approach. We assume that all orders of each delivery interval become available until a definite time. We call this time as nextftr for delivery interval r. Order pickers start their daily work at 7 AM and finish at 6 PM, so one shift consists of 660 minutes. Delivery intervals are shown in Table 2. Table 3 shows available delivery intervals that a customer can choose among them based on order arrival time.
Delivery intervals specification
Delivery intervals specification
Delivery intervals that can be chosen at each time
Each order has a priority according to its delivery interval. The priority of an order that its delivery interval passed and has not been delivered yet is P0. Orders of the next delivery interval are of priority P1 and the priorities of other orders are defined similarly. taopz is defined as the point of time in which order picker of zone z completes picking of all planned batches and becomes available. Bellow sets also are defined and used in the algorithms.
DO: Set of orders that their picking operations have been finished or scheduled in all storage zones.
PO: Set of orders that their picking operations have not been scheduled in at least one of the storage zones.
VRPO: Orders of PO and DO with priorities P0 and P1.
BO: Orders of PO with priorities P0 and P1.
We use the similarity degree of orders to generate batches. The similarity degree of orders i and j is defined as
For making the first batch, two orders with the highest similarity degree are selected and form a batch. Then the similarity degrees between the generated batch and the other orders are computed. In the next step, the order with the highest similarity degree with the generated batch is joined to the batch. This procedure continues until the batch capacity is satisfied. All needed batches are generated likewise.
Algorithm A1
In algorithm A1, the order batching and delivery planning are conducted separately and consecutively at each delivery interval. In the order batching process, orders with higher priority are batched and scheduled at time nextftr, after completion of the picking process of scheduled orders in each zone, if some time is remained until nextftr+1, the algorithm generates new batches of orders with lower priority and schedules picking of them. Hence, the probability of occurring delay decreases, and order pickers do not waste their time. The delivery sub-problem uses the output of the order batching process as the input. Details of the order batching and the delivery sub-problems of algorithm A1 are explained in sections 5.2.1 and 5.2.2, respectively.
Order batching sub-problem of A1
The steps of the order batching sub-problem of algorithm A1 are described as follows.
Step 1: Initialize at t = 0, r = 1, and taop z = 0 . Update PO and DO sets and determine the priority of orders.
Step 2: Apply batching algorithm (section 5.1) on orders of BO and sequence batches ascendingly based on their picking times in each zone. Compute
Step 3: Update taop
z
, set
Step 4: Update PO and orders’ priority at taopz′.
Step 5: If taopz′ < nextft r , create one batch of PO orders of zone z′ by the use of the batching algorithm and come back to step 3 otherwise, set t = taopz′ and go to step 6.
Step 6: If t < 660setr = r + 1, update PO set and orders’ priority, and then go to step 2 otherwise, stop.
Delivery sub-problem of A1
In the delivery sub-problem of A1, the below model is solved at each delivery interval r at time nextftr for all orders of DO. In this model, we maximize the number of delivered orders so that orders with higher priority have greater weight in the objective function. We also assume that a truck can be scheduled if at least a certain amount of its capacity is utilized.
In the above model,
The objective function (26) has two parts,
Finally, Fig. 2 shows the flowchart of algorithm A1.

The flowchart of algorithm A1.
Algorithm A2 tries to deal with both sub-problems of order batching and delivery planning simultaneously to deliver orders with the minimum delay and transportation cost alongside with the maximum utilization of order pickers and inbound trucks. To be more specific, for each delivery interval r, at the time nextftr we solve the delivery planning model for orders of VRPO set to find the minimum transportation cost and investigate either we can pick orderss based on the delivery planning solution or need to modify the delivery planning considering the order batching solution. Then, we try to maximize the used capacity of assigned trucks with orders of the next delivery intervals as much as possible. Finally, until nextftr+1, whenever an order picker becomes idle we create a new batch of available orders and assign it to him. Detailed steps of algorithm A2 are described as follows.
Step 1: Initialize at t = 0, r = 1, andtaop z = 0 .
Step 2: If t < 660, update PO and DO sets, determine priority of orders, and go to step 3 otherwise, stop.
Step 3: Solve model M1 (section 5.3.1) for orders of VRPO.
Step 4: Compute avtdi for orders of VRPO as the average departure time of the trucks assigned to the cross-dock of order i in the M1 solution. This parameter is an estimation of the departure time of order i and will be used in the batch sequencing process (section 5.3.2).
Step 5: Use batching method (section 5.1) for orders of BO, and then sequence batches by the use of avtdi as described in section 5.3.2. Then, compute
Step 6: Assign orders of VRPO to trucks and compute achievement as described in section 5.3.3.
Step 7: If achievement = 1, go to step 8 otherwise, go to step 9.
Step 8: Deliver orders based on the M1 solution, remove orders of VRPO from DO, and go to step 11.
Step 9: Solve model M2 (section 5.3.4) to revise delivery planning based on the batching schedule. Then deliver orders based on M2 solution, remove assigned orders from DO, and go to step 10.
Step 10: If trucks have free space, assign as many orders of DO as possible to trucks considering their destination and remained capacity as well as
Step 12: Set
Step 13: Update PO and DO sets at taopz′, create a batch of PO orders of zone z′, update taopz, and go to step 12.
Figure 3 displays the flowchart of algorithm A2.

The flowchart of algorithm A2.
Model M1 allocates the capacity of trucks to cross-docks’ demands in each delivery interval and determines the departure time as well as the routes of trucks, aiming the minimum transportation cost. This model is formulated as follows.
After generating batches at each storage zone as described in section 5.1, they need to be sequenced. In this step, we compute the priority of each batch in each storage zone as p j = ∑i∈javtd i + t j , where avtdi is the average departure time of the trucks visiting cross-dock of order i in their routes, and t j is the picking time of batch j. Then we rank batches ascendingly based on p j and pick them based on their rank. Consequently, we can compute the start time and finish time of each batch as well as the picking completion time of each order.
Achievement computation
The solution of M1 determines the departure time and route of each truck as well as the amount of its assigned capacity to each cross-dock. In this step, we should allocate the orders to the trucks and compute the Achievement index. For order i and truck v, if
Modified delivery planning model (M2)
Model M2 tries to deliver the maximum number of orders with minimum additional cost compared to the cost of the M1 solution considering picking completion time of orders. M2 is formulated as follows.
In this model, K h is the number of orders of cross-dock h . w hkv is a binary variable which equals 1 if kth order of cross-dock h is assigned to truck v. uh,k is the number of product containers for kth order of cross-dock h. The objective function (49) consists of two parts; the first part counts for the number of delivered orders, and the second part controls additional cost. g is a parameter that is tuned experimentally as 0.95 due to the importance of the on-time delivery of orders.
Constraints (50) to (57) are the same as constraints (40) to (47) of model M1. Equation (58) is the cost function of the new model. Inequality (59) ensures that each order is assigned to only one truck. Constraint (60) guarantees that if truck v does not visit cross-dock h, then w hkv is 0, and the needed space for orders of cross-dock h assigned to truck v does not exceed the total allocated space of truck v to cross-dock h. Inequality (61) ensures that the departure time of a truck is greater than the completion time of the orders assigned to that truck.
Algorithm A2-GA is applied when scheduled trucks have remained capacity, and there is no picked order to be assigned to these trucks. Therefore, A2-GA tries to generate new batches and pick more orders to increase the utilization of trucks. For this purpose, a genetic algorithm is designed. To find an initial solution, first of all, we define sets
After generating
Where x
i
equals 1 if order i is assigned to a truck, and zero otherwise. b is a parameter for normalization which is set as 0.1. This cost function leads to answers with the maximum number of assigned orders along with the minimum picking time. For creating new solutions, the uniform crossover operation is used. Crossover operation is applied on
To evaluate the performance of the algorithms, we consider the estimated cost of solving the offline problem as the lower bound of the system cost. In this case, the information of all orders is available in advance, so all orders of each day can be picked and delivered, with the minimum transportation cost and no delay. The minimum transportation cost of the offline problem is calculated by solving model M1 for all orders of four delivery intervals of the current day. Because in the offline setting, all orders are available at the beginning of the planning horizon, we assume that it is possible to pick all orders and deliver them on time by inbound trucks. Therefore, there is no need for rental trucks. On the other hand, having full information in advance, there is enough time to conduct all operations. So, we eliminate time-related limitations (constraints (41) and (46)) of model M1 and solve it. Last but not least, this lower bound is the minimum transportation cost, when we can deliver all orders of each day with inbound trucks and without any delay.
Numerical experiment
In this section, an extensive problem series is designed to evaluate the quality of solutions produced by algorithms. We compare the results of algorithms from different aspects, including system costs, numbers of delayed orders, number of picked and delivered orders, and cost per delivered order. Moreover, the total cost of algorithms is compared to the lower bound to evaluate the efficiency of proposed algorithms in response to the dynamic nature of the problem. Last but not least, we investigate the impact of several parameters on the solutions of algorithms through a sensitivity analysis and provide some helpful managerial insights for decision-makers of the online retailing industry.
Experiment parameters
The order picker routing in each storage zone is the s-shape that is frequently used in other papers [3, 36]. The warehouse has five identical storage zones. At each zone, there are eight storage aisles in which products are stored on both sides of aisles. The center to center distance between two adjacent aisles is 2 meters, and the length of each aisle is 10 meters. Order picker travel speed is considered 48 meters per minute. The picking time of an item is 0.17 minutes based on the experiments of Henn [3]. Batch setup time is 4 minutes for each batch. Picking device capacity at each zone is six product containers or six orders. Table 4 summarizes the picking-related parameters.
Picking-related parameters
Picking-related parameters
We consider two cases with three and five cross-docks. Zhang, et al. [36] also solved their problem with five delivery zones. They assumed that each delivery zone has one dedicated truck. However, we deal with the case that all trucks can visit several cross-docks in their delivery routes. There are four inbound trucks. We also assume that an unlimited number of rental trucks can be used whenever inbound trucks are not sufficient. Moreover, we need 15 minutes to find and rent a truck.
The capacity of each truck is 150 product containers. The transportation cost is 100 units per minute for inbound trucks and 400 units per minute for rental trucks. The travel speed of trucks is 1.3 kilometers per minute. Truck loading time at the warehouse and unloading time at each cross-dock is 10 minutes. Table 5 displays the locations of the warehouse and cross-docks. For the case of three cross-docks, we consider the first three points. The distance between two points is computed through the Euclidean distance formula. The delay cost of an order is 4000 units per delivery interval. Table 6 summarizes the delivery-related parameters.
Location of warehouse and cross-docks
Delivery-related parameters
The planning horizon is a 660-minute working day. At the beginning of the working day, there are two order sets named DO and PO1 in the system. DO set consists of orders that have been picked last day and are ready to be delivered. PO1 includes orders that have not been picked in some or all of the storage zones. Another order set that we need to be introduce is the PO2 set. PO2 comprises orders that will arrive during the day. Based on the literature such as Henn [3], the arrival time of orders of PO2 is distributed exponentially with parameter λ. This parameter expresses the average inter-arrival time of order i and orderi + 1. The delivery interval of each order is determined randomly among possible intervals based on Table 3 regarding the order arrival time. Table 7 displays four considered problem sizes. We solve each problem size with both three and five cross-docks.
Number of orders in each problem size
Each order is assigned to one of the cross-docks randomly.
As described above, we consider four different sizes of the problem and for each size, generate 20 different order sets for both cases of having three or five cross-docks. Therefore, 160 instances are generated and solved with two algorithms, and the average results are reported. The experiment is carried out on an Intel Core i7 and 16GB RAM. The algorithms are implemented with MATLAB R2018b, and GAMS 25.1.2 is used to solve mathematical models with the CPLEX solver.
Tables 8 and 9 show cost analysis of cases with 3 and 5 cross-docks, respectively. These tables include the cost of the offline problem as the lower bound, transportation cost, delay cost, total cost, and the ratio of the total cost to the lower bound. According to these tables, in almost all cases, algorithm A1 outperforms algorithm A2 considering system cost. Zhang, et al. [36] used competitive analysis and proved that their proposed algorithm has a competitive ratio of 4. Zhang, et al. [37] also proved that their method has a competitive ratio of 2, but both of the studies ignored due dates of orders. We use the ratio of the total cost to the lower bound to compare the results of algorithms with the minimum cost of the offline problem. Based on experimental results, the average ratio of the total cost to the lower bound for algorithm A1 is 1.99 and 2.48 for cases with 3 and 5 cross-docks, respectively, and for algorithm A2, is 1.47 and 2.12. Considering due dates has increased the complexity of the problem. Furthermore, in this case, the cost of delayed orders has raised the total cost. By the way, algorithm A2 has an acceptable performance in comparison to the previous studies. On the other hand, considering the relationship between two sub-problems of order batching and delivery planning in algorithm A2 leads to noticeably better results compared to A1. Moreover, through the sensitivity analysis, in section 6.3, it is demonstrated that changes in some parameters can lead to even better solutions and a lower ratio of the total cost to the lower bound in both algorithms.
Cost analysis in cases with 3 cross-docks
Cost analysis in cases with 3 cross-docks
Cost analysis in cases with 5 cross-docks
From Tables 8 and 9 it can also be seen that when the number of orders rises from 1000 to 1100, the ratio of the total cost to the lower bound significantly increases in both algorithms. So, we can conclude that for this system with this defined setting accepting more than 1000 orders may not be cost-effective. On the other hand, when the number of orders increases, by assigning more order pickers as well as more inbound trucks, the daily cost can be decreased. However, the additional cost of purchasing new trucks and adding order pickers should be specified to determine the most beneficial scenario.
Tables 10 and 11 analyze the performance of algorithms in terms of the number of picked, delivered, and delayed orders. These tables also include the number of same-day orders (the orders that have to be delivered on the current day), the lower bound per order, the total cost per delivered order, and the delay percentage. According to the results reported in these tables, the number of picked orders in algorithm A1 is on average 3.6% and 4.5% more than the algorithm A2 for the cases with 3 and 5 cross-docks, respectively. However, the cost per delivered order in A2 is significantly less than A1. We can conclude that A1 has better performance in the batching sub-problem, but A2 can improve the total performance of the system by the integration of two sub-problems.
Analysis of processed orders in cases with 3 cross-docks
Analysis of processed orders in cases with 5 cross-docks
Moreover, when the number of cross-docks increases, the average cost per order in the lower bound decreases by 1.2%, while in the online setting, this amount increases by 23% and 43% in algorithms A1 and A2, respectively. That is because in the lower bound, there is no time-related limitation for delivering orders, and we can ship all orders of each cross-dock together. Conversely, in the online problem, orders become available gradually and have to be picked and delivered before a definite time. So, we have to use more trucks with less utilized capacity for delivering more orders on time, and this raises the transportation cost as well as the total cost.
Tables 12 and 13 compare the results of algorithms in terms of two key factors including the number of delayed orders and total cost per delivered order. The number of delayed orders has a direct effect on customer satisfaction and their loyalty to the system. On the other hand, the total cost per delivered order reflects efficiency of the algorithms. According to Tables 12 and 13, algorithm A2 can remarkably reduce the number of delayed orders as well as cost per delivered orders.
Comparison between A1 and A2 in problems with 3 cross-docks
Comparison between A1 and A2 in problems with 5 cross-docks
To statistically verify the results, we have performed an analysis of variance (ANOVA) that is used in many related papers [44–46]. The analysis of variance has been performed on the cost per delivered order for cases with three and five cross-docks separately. Tables 14 and 15 demonstrate the results for cases with three and five cross-docks, respectively. From these tables, there is an obvious statistically significant difference between the performances of the two algorithms.
The results of ANOVA for cases with 3 cross-docks
The results of ANOVA for cases with 5 cross-docks
In this section, we investigate the effect of three parameters of the number of inbound trucks, the capacity of trucks, and the capacity of the picking device on the solutions of algorithms. For this purpose, we solve five instances of the case with five cross-docks and 1000 orders with new settings.
Effect of number of inbound trucks
To investigate the impact of the number of inbound trucks, we solve problems with two to six inbound trucks. Tables 16 and 17 demonstrate the results. According to the results, the number of inbound trucks is highly influential on the performance of the system from different viewpoints. It is evident that when the number of trucks increases from four to five, the cost per delivered order decreases by about 26% in both algorithms. However, increasing the number of trucks from five to six cannot lead to more decrease in cost.
Impact of number of inbound trucks on costs
Impact of number of inbound trucks on costs
Impact of number of inbound trucks on processed orders
In this part, we consider five different cases for the capacity of trucks and their cost displayed in Table 18. The results of solving problems with new settings are reported in Tables 19 and 20. According to these tables, in the lower bound, increasing the capacity of trucks, the cost per delivered order decreases remarkably. It is because, in the lower bound, orders can be aggregated to larger shipments with a lower cost per order without any time limitation. In contrast, in the online case that orders become available gradually, decreasing the capacity and cost of trucks leads to better results. It is evident that, when the capacity of trucks decreases from 150 to 125, the cost per delivered order reduces about 11% and 8% in algorithms A1 and A2, respectively, and when it equals 100, the reductions reach 10% and 21%. Managers can execute such analysis when designing their systems to determine the appropriate type of transportation fleet consistent with their systems’ characteristics.
Cost of trucks based on their capacity
Cost of trucks based on their capacity
Impact of trucks capacity on costs
Impact of trucks capacity on processed orders
In this section, the impact of picking device capacity on solutions of algorithms is investigated. Picking device capacity determines the maximum number of orders in each batch and can considerably affect total picking time. Problems have been solved with picking device capacities from four to eight orders. The results are reported in Tables 21 and 22. According to these tables, increasing picking device capacity from six orders to seven orders, the cost per delivered order decreases 8% and 16% in algorithms A1 and A2 respectively and by increasing it from six to eight orders, in both algorithms 19% reduction in the cost per delivered order occurs. In addition to the cost reduction, greater picking device capacity increases the number of picked orders that can be considered as the productivity of order pickers.
Impact of picking device capacity on costs
Impact of picking device capacity on costs
Impact of picking device capacity on processed orders
The online retailing systems deal with costly operations of order picking and delivery process on a daily basis. Moreover, the dynamic nature of the system, makes it more difficult to plan and schedule such operations. This study aims to provide a decision-making tool for online retailers to design their systems at the strategic level and efficiently make their daily decisions at the operational level. It is displayed that an integrated approach of dealing with the order picking and the delivery planning problems can lead to an average of 26.2% and 14.1% reduction in the cost per delivered order for cases with three and five cross-docks, respectively as shown in Tables 12 and 13. Such saving is very crucial for the retailers because they are already operating on very thin margins [47]. It also remarkably decreases the number of delayed orders that directly affect customer satisfaction and improves the reputation of the retailer in today’s competitive marketplace.
At the strategic level, when it comes to deciding on the requirements of a system, online retailing managers need to explore the effects of different parameters on the performance of their systems. In section 6.3 the effects of three important parameters including picking device capacity, number of inbound trucks, and the capacity of trucks on the cost and performance of the system have been investigated. From the results of Tables 16 and 17, retail managers can estimate the operational cost-saving of purchasing new trucks, compare it to the required initial investment, calculate the return of capital, and make the best decision when assigning budgets to different projects. According to Tables 19 and 20, we conclude that in retailing systems with a great number of orders to be delivered in each delivery interval, big trucks are more cost-effective, while is medium-sized and small-sized systems, trucks with less capacity and less fixed and variable costs are more beneficial. Therefore, the managers must balance a trade-off between the number of their daily orders and the type, capacity, and consequently the cost of their inbound trucks.
Another finding of our sensitivity analysis is that increasing the capacity of picking device, leads to both cost reduction and order pickers’ productivity improvement (Tables 21 and 22). As a result of productivity improvement, at the end of each day, fewer unpicked orders remain for the next day, and the working load of order pickers reduces in the long term. As another result, more orders can be delivered on time, and customer satisfaction rises. Last but not least, retail managers can obtain significant benefits by readily changing the picking devices.
Conclusion
In recent years many people prefer to buy their required products from online sellers and receive them in their home or office at their desired times. Especially, with the spread of the Covid-19 pandemic, online retailers are experiencing increased demand for their products and new challenges in their operations. These changes have encouraged us to develop a decision-making system to help online retailers either to manage their daily operations much more efficiently or to redesign their systems in response to the increased demand. Online retailers should plan and act in a limited time to satisfy their customers. Two main interconnected operational problems of online retailing systems are order picking and delivery planning. Although integrated dealing with these problems is highly beneficial, scarce studies addressed them jointly in the online setting, and there is a clear gap in the available literature in this field. In this paper, we proposed a mixed-integer nonlinear programming model that decides on order batching, batch picking scheduling, assignment of orders to trucks, as well as the scheduling and routing of trucks simultaneously in the offline setting. However, in an online system, orders become known during the planning horizon. Therefore, in addition to the complexity of the integrated problem, retailers need an approach to respond to the dynamic nature of online systems. We proposed two rule-based heuristic algorithms to solve the online problem. The first algorithm (A1) considers two sub-problems of order batching and delivery planning separately and sequentially, while the second algorithm considers the relationship between two sub-problems.
Through an extensive numerical experiment, the performances of algorithms have been compared to each other and to the minimum cost of the offline problem as a lower bound. It is demonstrated that algorithm A2 noticeably outperforms algorithm A1 regarding two critical factors of cost per delivered order and the number of delayed orders. In algorithm A2, by integrating two sub-problems, the average cost per delivered order reduces by 26% and 14% compared to algorithm A1 in the cases with three and five cross-docks, respectively. We have also investigated the impact of main parameters, including the number of inbound trucks, the capacity of trucks, and the picking device capacity on the solution of algorithms. It is concluded that the correct combination of these parameters dramatically improves the solutions of both algorithms. For example, adding one dedicated truck to the system leads to a 26% reduction in the cost per delivered order in both algorithms and, using small trucks can cause a minimum of 10% decrease in the cost per delivered order. Our algorithms can also be applicable for retail managers to estimate the costs and benefits of different scenarios when designing a new system or developing their current systems.
We have formulated the problem based on the settings of a real-world online retailing system. However, although we have carried out an extensive numerical experiment because our problem instances have been generated randomly, we might have ignored some unexpected conditions that could affect the results. Therefore, it will be helpful to solve real-world cases with our proposed algorithms and analyze the results.
For further study, a system with multiple pickers in each storage zone can be addressed. Such a system can handle more orders every day. Although we used the s-shape routing method for the order pickers, it will be useful to apply other order pickers routing methods and compare the results to each other. In the batching operation, we used the similarity degree index to create batches, the effect of using other batching methods can be investigated in future studies. Last but not least, some online retailers sell perishable products that need special considerations, it could be beneficial to develop our algorithm for such products.
