1. Introduction
Supply chain management aims to optimize and coordinate decisions and agents to provide products and related services at the right times, quantities, and places, also aiming to minimize system-wide costs and ensuring system service-level requirements (see [
1,
2,
3,
4,
5]). In this context, inventory control decisions and related costs represent key elements to be addressed, in addition to transport and warehouse operations, among other issues (see [
6,
7]). One of the most typical supply chain topologies comprises a set of one or more plants or suppliers that distribute products to a set of parallel warehouses or distribution centers that finally serve end customers’ demands, as shown in
Figure 1 (see [
3,
8,
9,
10,
11,
12]). Under this topology, inventory control decisions at the warehouse level are of high significance, wherein order sizes, reorder points, and service levels represent the main decisions to be addressed. This has to be achieved while being efficient and following a number of performance indicators, such as inventory availability, stock-out probability, or demand fill rate (see [
3,
12,
13,
14]). System costs have been traditionally considered as the main objective in evaluating global performance, where obtaining even marginal savings in relative terms may generate significant improvements in the medium or long term.
From a strategic or long-term perspective, designing the underlying network is an essential problem, which typically consists of locating warehouses and plants for serving the end customers, conforming to the well-known family of facility location problems (FLPs), as shown in [
15,
16,
17,
18,
19]. Traditionally, plant or warehouse locations and customer assignment decisions are made based on a sequential and hierarchical decision-making structure, where decisions belonging to higher organizational levels are made based on FLP modeling structure, without major concerns regarding the impacts on further lower-level decisions (see [
3,
11,
12]).
Nonetheless, it is worth noticing that, when the supply chain network (SCN) is already optimized and fixed for a specific time frame (e.g., a few weeks, months, or years), the optimization of inventory-related decisions remains a relevant problem to be addressed. In this context, several research works have been developed, where Refs. [
20,
21] developed approaches to evaluate system performance in a two-level supply chain under different assumptions and considerations. In [
22], alternative optimization approaches were developed to deal with inventory decisions, where order sizes and reorder points for a two-level supply chain were optimized. A mathematical model to optimize inventory-related decisions for a complex supply chain network was developed in [
23], comprising end customers, retailers, warehouses, productive plants, and raw material suppliers, assuming a fixed service level to be ensured for end customers. Further extensions were presented in [
24,
25], where the first one addresses a multi-echelon supply chain system with three different demand patterns, while the second one includes product perishability and demands depending on prices and inventory levels. Other recent research works can be found in [
26], which presents a deterministic supply chain inventory model involving outsourcing decisions, and [
27], which addresses a deterministic single-location inventory model involving product deterioration, a supplier offering price discounts, and payment delays.
Most of the aforementioned works simultaneously optimize decisions at the warehouse level and at the plant or supplier level, consider reorder points and order sizes as decision variables, and yield different service levels for each location. Moreover, some works assume that the inventory service level is a fixed and known parameter, which should be exogenously determined by a supply chain planner or manager. In contrast, this research does not consider plant/supplier decisions and costs, and reorder points are determined through a global service-level optimization (i.e., the same service level for all warehouses). Then, reorder points are individualized for each warehouse mainly depending on lead times, served demand mean and variance, and the optimal global service level. Accordingly, this research aims to address situations in which a global service level along with order sizes are required to be optimized, in contrast to other previous related works.
As can be observed in traditional FLP-related literature, decisions related to the supply chain network design are made without considering specific impacts on inventory management ([
9,
10,
11]). However, inventory management and strategic SCN design must take care of the impacts between each other, where the number of parallel facilities (e.g., warehouses or distribution centers) affects the total system inventory level, resulting in the well-known risk pooling effect, especially in scenarios with stochastic demands. Thus, several works show that the structure of the supply chain network directly relates to the impact that risk pooling has on system costs, conforming to the family of inventory location problems (ILPs) (see [
8,
9,
10,
11,
28,
29,
30]), where inventory management issues are jointly addressed with SCN design decisions and costs. Subsequently, Refs. [
3,
12] developed reviews of ILP-related works. Furthermore, and following the basic inventory location-related aforementioned works, this kind of problem may include different relevant practical issues, such as multi-commodity and multi-period scenarios, inventory and transport capacities, alternative inventory control policies, spare parts supply chains, and supplier selection (see [
31,
32,
33,
34,
35,
36,
37]).
In this context, the need for jointly optimizing the inventory-related service level as a problem decision variable appeared to be relevant research that needed to be addressed. Thus, Refs. [
8,
9] presented approximate strategies to model and solve an ILP facing customer demands with a Poisson distribution and a continuous
inventory control policy. Subsequently, Ref. [
38] presented the first research study with an approximate strategy to model and solve an inventory location problem with normal demands and a continuous
inventory control policy. Finally, Ref. [
39] presented a variation of the model in [
38] and considered a heuristic solution approach.
Furthermore, Refs. [
37,
40] presented a generalized Benders decomposition (GBD)-based solution approach that solved an ILP at optimality with normal demands and continuous
inventory control policy in competitive times. A significant contribution of this approach relies on the decomposition process, which yields a sub-problem that fully addresses all inventory-related decisions for a fixed SCN, which was previously determined to be a master problem at each algorithm iteration. These facts represent a significant potentiality, where any inventory model improvement may be integrated into an ILP, and it would be fully captured by the sub-problem following the GBD-based solution approach proposed in [
37,
40]. Similarly, several widely employed local search heuristics and metaheuristics may be considered to solve a related ILP with inventory service-level optimization, following [
32,
41,
42,
43,
44]. For these approaches, the design of the SCN is explored by a local search algorithm (i.e., warehouse location and customer assignments), whereas solving a fixed-network inventory optimization problem (as modeled and solved in this research) may be considered a solution evaluation subroutine within the overall algorithm. Consequently, the aim of jointly optimizing order sizes and the service level for a fixed SCN gains attractiveness given the potentiality of integrating it within a broader ILP for optimizing the design of the SCN. Naturally, this and other similar integrative approaches remain as future research to be addressed.
In summary, this paper fills existing research gaps by developing a novel continuous, nonlinear optimization model to jointly optimize the global inventory service level and order sizes for a fixed supply chain network. The addressed network topology comprises multiple parallel warehouses under a normal approximation of end customer demands. A continuous
inventory control policy is considered, where a common global service level for all the existing warehouses has to be observed. It worth noting that the proposed formulation involves enhancement of some well-accepted approximations in previous related literature, especially focusing on safety stock and order size optimization. Finally, a multivariate Newton–Raphson-based algorithm is developed to solve the formulated problem at optimality. This well-known method has been successfully employed in supply chain management-related research, such as in [
45,
46,
47].
As discussed in [
48], the Newton method, also known as the Newton–Raphson method, is one of the most proper approaches for solving nonlinear equations and is particularly relevant when expressions for the gradient vector and the Jacobian matrix can be computed in an explicit and efficient manner. This approach involves a fine equilibrium between mathematical complexity and tractability while ensuring a quadratic convergence rate. Other approaches widely employed are variations and approximation of the Newton–Raphson approach, such as the Quasi-Newton and the Conjugate Gradient Method. Moreover, given the small- and medium-size instances considered in this research (i.e., at most 201 variables) and the possibility of having a potentially good initial guess for the order size and the global service level (as described in
Section 4), an outstanding performance of the employed approach is observed.
The rest of the paper is organized as follows.
Section 2 describes the studied problem and the proposed model formulation, including a generic formulation and a specified one considering demands with a normal approximation.
Section 3 aims to describe the solution approach developed to solve the proposed formulation, which is derived specifically for demands with a normal distribution. Subsequently,
Section 4 describes the computational experimentation carried out, then presents and discusses the obtained results.
Section 5 presents a further discussion of the main results obtained in the previous section, along with a brief managerial insight discussion. Finally, conclusions and future research are presented in
Section 6.
3. Solution Approach
The proposed formulation is solved by searching a critical point, i.e., a solution for which the total cost gradient is zero. In other words, the algorithm searches for a solution
such that
, where
is the total cost function defined in Equation (
9), and
is the decision variable vector of the problem. Then, the equation
is solved by means of a root-finding problem employing the well-known multivariate Newton–Raphson method [
53]. Note that all the involved expressions are explicitly developed for normally distributed demands.
The multivariate Newton–Raphson method allows us to find the approximation of a root for a vector-valued function
[
53]. This iterative method arises from the Taylor expansion for vector-valued functions around a point
, as shown in (
12), where
is the Jacobian matrix.
The method is based on a linear approximation, ignoring the
term. If
, where
, and
is the current guess, then
or
Then, with an initial guess
, at each iteration
k, the new root approximation is
Let
,
, and
be the order size-related costs (i.e., cycle and ordering), safety stock, and expected demand during stock-out events for the
i-th warehouse, respectively. Then, for
:
and, considering
as the vector of the decision variables to be determined, we define:
where
is the system service level. Function
is considered the gradient vector of
:
where:
We need to compute the optimal value of , i.e., the fixed point, where the function is minimized, which is equivalent to computing , such as .
The Newton–Raphson method will be used for addressing this computation. Let
be an initial guess; then, at the
k-th iteration, the current solution
is given by:
where
and where
is the Hessian matrix of
, and
with
and
.
It is important to note that, to fulfill constraint (5), the following check condition is added to the updating step at the
k-th iteration:
In our implementation, we consider and , with , since it is assumed that and since cannot be computed. Naturally, may consider more significant figures () up to user preferences.
The whole procedure is presented in Algorithm 1. In line 8, Equation (
25) is computed in two steps. The first step is computing
by solving the system
. The mentioned system is solved by the routine
solve of the module
numpy.linalg [
54]. The second step simply involves updating the current solution by computing
.
Algorithm 1 Application of Newton–Raphson Method |
- 1:
procedure levelService(,params) - 2:
- 3:
- 4:
while do - 5:
- 6:
if then - 7:
break; - 8:
- 9:
▹ Update solution. - 10:
- 11:
- 12:
if then - 13:
- 14:
Compute with Equations (18) and ( 11). - 15:
if then - 16:
- 17:
Compute with Equations (18) and ( 11). - 18:
- 19:
return
|
The optimal order size of the Wilson model shown in Equation (
10) (see [
52]) is considered the initial order size
for all warehouses. The initial service level
is set to
, the number of warehouses
N depends on the instance, the tolerance of the method
tol is set to
and compared with the norm of the gradient vector
, and the number of maximum iterations
is set to 10. The input parameter
params contains the demand
, variance of the demand
, lead time
, unit holding cost
, penalty cost
, and fixed-order cost
for each warehouse
i (for more details, see
Section 2.2).
4. Computational Experimentation and Numerical Results
In all of these experiments, a service level of
is considered as a benchmark solution for the algorithm. In particular, the values considered are computed based on [
38], which relies on a previous approximation for optimizing the system service level that assumes an approximated safety stock expression and order sizes computed as in the Wilson model’s solution.
Table 1,
Table 2,
Table 3,
Table 4,
Table 5 and
Table 6 show the numerical results of the instances with
, and 200 warehouses, respectively, representing a wide set of reasonable real-world sizes. For each warehouse
i, all cases consider
as a baseline cost parameter, and
ranges within
, representing a significant range of variation with respect to the holding costs,
. In addition, the coefficient of variation
, and
for each instance, focused on high-volume, smooth demands. Thus, 9 cases or sub-instances are defined for each instance (i.e., by combining
and
variations). Finally, for
, the order cost
is determined in terms of the lead time
, as
, the lead time
is randomly set in the range
, and the average demand
is considered to be in the range
.
The columns and Base Tot. show the service level and total cost considering the Wilson order size. The columns and Op Tot. show the service level and total cost considering the order size of the presented model. The columns Diff. and %Diff. show the difference between both solutions. The last column t (sec.) shows the computational time in the execution of the presented model.
It is worth noting that the Hessian matrix of the cost function
(i.e., the Jacobian matrix of the gradient vector
) at the end of the algorithm was positive definite in all tested cases. This is shown by the obtained eigenvalues that were strictly positive for all instances, as observed in
Table 7 and
Table 8, which show the minimum and maximum eigenvalues obtained for each instance. Therefore, it can be stated that all obtained solutions at least represent a local minimum for the studied model. In addition, merely as empirical evidence,
Figure 2 shows the evolution of the total system cost for
, and 200, with
and
, for different values of
, and considering the optimal value of
of expression (
11) (
) for each fixed value of
. These figures denote the existence of a single minimum for
in the range
. In sum, although it has not been demonstrated that the studied problem has a strictly convex objective function and a single global optimum (given the associated algebraic complexity, especially considering the relationship between
and
), it is shown that all the obtained values effectively represent optimal solutions to the problem within the feasible domain of
.
Nevertheless, convexity may be reasonable and expected, since when the service level
approaches 1, the safety stock cost tends to
∞ (i.e., the second term in Expression (
1)), and the penalty cost tends to 0 (i.e., the third term in Expression (
1)), thus yielding a total cost tending to
∞. In addition, the order size
(
) converges to the Wilson model solution in Expression (
10), as observed in Equation (
11). This expression at the limit is independent of
, and the related costs of the first term in (
1) do not affect the limit of the total costs (which tends to
∞). On the contrary, when
approaches 0, the safety stock cost tends to 0 and the penalty cost to
∞, again yielding a total cost approaching
∞. Moreover, the order size and related costs (the first term in Expression (
1)) tends to
∞ when
approaches 0.
Furthermore, it may be natural that the penalty cost is strictly and continuously increasing, whereas the safety stock cost is strictly and continuously decreasing, both with
. Finally, it can be observed that order size-related costs (i.e., the first term in (
1)), when order size is determined by Equation (
11), are strictly and continuously decreasing from
∞ to the optimal cost of the Wilson model, given by
. In sum, it may be expected that the total cost in expression (
1) tends to
∞ when the service level
approaches 0 or 1, creating a convex
U-shaped function, when also considering that total costs are always positive when
and all cost parameters are positive (i.e., 0 represents a lower bound to the total costs), as shown in
Figure 2.
As can be observed for all instances in
Table 1,
Table 2,
Table 3,
Table 4,
Table 5 and
Table 6, although the total costs for the proposed approach are slightly lower than those obtained with the benchmark approach, the system service level is significantly different when the penalty cost parameter is the lowest (i.e.,
). On the contrary, when penalty cost is the highest (i.e.,
) and the optimal service level tends to 1, the benchmark and the optimal service level tend to be the same. These results are explained by the fact that, when the service level is high, stock-out demands converge to 0 and order sizes tend to Wilson order size; thus, the benchmark solution becomes a very good approximation. In the same way, savings obtained when the proposed approach is employed are more significant when penalty cost parameter
is the lowest. Accordingly, the proposed approach is more beneficial when
is not too high and the optimal service level is not near 1. This is especially relevant from a supply chain network design perspective (as discussed in most ILP-related literature described in
Section 1), where variations in the global service level may imply significant changes to the SCN configuration, such as different customer assignments or more relevant changes in warehouse locations and the number of located warehouses.
The aforementioned results are contrasted with the very low computing time required by the proposed approach, even for the largest considered instances (i.e., 200 warehouses), always being less than a second. Thus, the fact that the proposed approach has the potential to provide a better system service level, which may even impact the design of the SCN and related costs given the unsubstantial computational efforts required, supports the usage of the proposed approach instead of previous approximations.
As observed in
Table 1,
Table 2,
Table 3,
Table 4,
Table 5 and
Table 6, a significant similitude is observed in the optimal service level when
varies (i.e.,
,
, and
), while in terms of total system costs, a more significant variation is obtained when
is the highest. For example, for 200 warehouses, if
and
, then the total savings are about
, whereas when
and
, the total savings rise to about
(i.e., more than three times in savings).
In terms of the algorithm behavior,
Figure 3,
Figure 4 and
Figure 5 show the number of iterations executed with
warehouses and different values of
and
. Each graph shows the evolution of the error
, total cost, i.e., the value of
, the service level values
, and the order size for each warehouse. These results denote the good and fast performance of the proposed algorithm, which yield optimal solutions in only 6 iterations. In particular, and in practical terms, it is observed that the solution seems to be a very good approximation of the optimal values after only 3 or 4 iterations. Analogously, these results are very similar for larger instances where, for
, and 200 warehouses, the algorithm converges in 5 iterations, and the solution after 3 or 4 iterations is practically the same as the final optimal solution, all considering a tolerance of
, as depicted in
Figure 6.
All experiments were run on a computer with an 11th Gen Intel Core i5 processor running at
GHz with 8 cores using 16 MB of RAM, running Ubuntu version
. The programming language used was Python
[
55]. Although other programming language are suitable for this kind of studies, the selection of Python was based mainly on its free availability and easy use. In addition, the complexity and size of the studied problem and its instances are not so challenging as to require more specialize language programming, such as
MATLAB or
Mathematica (visited on 15 August 2024).
5. Discussion of Research Results and Managerial Insights
Given the proposed formulation and solution approach, in addition to the obtained results, several insights and implications from a scientific and practical perspective may be obtained. Firstly, this research represents a significant contribution to inventory location and supply chain inventory-related literature through an enhanced formulation along with an exact solution approach to optimizing a global inventory-related service level (i.e., stock-out probability) and order sizes for a multi-warehouse system, along with an exact solution approach based on the well-known Newton–Raphson method. Note that the proposed solution approach is analytically derived considering a normal distribution (i.e., an approximation) for warehouse demands. Nonetheless, the approach may be adapted to other distributions, while analytical derivation may result in a more complex or simpler one depending on the specific distribution considered (e.g., uniform, triangular, log-normal, truncated normal, Poisson, gamma, beta, etc.). In particular, a numerical approximation instead of an analytical derivation of the key algorithm elements (i.e., gradient vector and Jacobian matrix) may be developed considering empirical probabilistic distributions, as described in [
48].
It is worth highlighting that, although normal distribution presents a positive probability of observing negative values, it may be insignificant for aggregated high-volume demands with small levels of relative variability (i.e., Coefficient of Variation,
). For example, a normal demand with a positive mean and a
of
implies a negative demand probability of
, whereas for all experiments carried out in this research, a maximum
of
is considered, with a negative demand probability of
.
Table 9 presents the average percentage of times where negative demand values are obtained for 100 experiments, where each one involves 1000 random demand values following a normal distribution with a
and
(note that this experiment is independent of mean demand value, except if it is 0 or negative). It can be observed that, for a
of
and
, negative demands are not observed, whereas for a
of
, only in
of cases was a negative value observed. In the extreme case of considering a
of
, negative demands are observed in
of cases. Accordingly, potential errors related to the occurrence of negative demands may be considered insignificant, and the proposed approach represents a powerful methodology for practical implementations.
In terms of the modeling structure, it is worth highlighting that previous research within inventory location-related literature fail in modeling in an exact manner both safety stock and unfilled demand costs, where the associated stock-out probability is not considered as a decision variable but as an input parameter. In our research, in contrast, the service level is considered a system decision variable to be jointly optimized, which makes the solution approach difficult. Note that if a different service level for each warehouse is assumed, then the problem may be decoupled into independent problems for each warehouse with two decision variables (i.e., the service level and the order size). On the contrary, as considered in this research, if the required service level is assumed to be the same for all warehouses, then the common system service level and the order sizes for all warehouses must be optimized simultaneously.
Based on the obtained results, it is observed that the proposed model allows for obtaining solutions with a better system performance in contrast to a natural benchmark, where the expected safety stock costs are modeled in the traditional manner observed in inventory management and inventory location literature. This simplified modeling approach yields a different suboptimal service level, slightly different order sizes for each warehouse, and a more expensive system cost compared to the proposed approach. Naturally, if a pre-fixed service level is considered near the optimal value obtained with the proposed model, then the improvements may be immaterial. On the contrary, if a pre-fixed service level is far from the optimal value obtained with our approach, then the improvements may be even more significant.
It is remarkable that the proposed model and solution approach do not imply a significant increase in computational effort, since optimal solutions are obtained after only a few iterations with very low computational times, even for the largest instances considered (i.e., 200 warehouses). Note that observing more than 10 or 20 warehouses for a single company in the real world is very infrequent, except for some global multinational companies.
Moreover, the proposed model and solution approach are particularly relevant as part of a sub-problem within further inventory location problems. This is especially significant when the generalized Benders decomposition is employed, as in [
36,
37,
40], where the full original problem is decomposed into an MIP formulation that deals with warehouse location and customer assignment decisions (i.e., within a master problem), whereas inventory decisions are addressed by an underlying sub-problem (such as the problem addressed in this research). It is remarkable that none of the aforementioned works optimizes the service level, which is considered a fixed parameter. Accordingly, a natural future research direction consists of extending the proposed methodology to address an inventory location problem to design a supply chain network while simultaneously optimizing decisions of warehouse location, customer assignment, order sizes, and the global inventory service level, which enlarge the contributions of this research.
In terms of managerial insights, it worth highlighting that the proposed approach may definitively benefit supply chain managers by providing better solutions in terms of strategic supply chain inventory performance. These benefits may imply significant savings in the long terms. In particular, the proposed methodology (i.e., the model and the solution algorithm) may help in efficiently supporting the decision-making process related to optimally setting significant inventory decision variables in real-world supply chains, such as the global service level and warehouse order sizes. Moreover, very low computational complexity and efforts to implement the proposed approach are required, significantly facilitating its adoption and utilization in real-world settings. Finally, in relation to the existence of third-party logistic providers, they may benefit by reducing emergency shipments, given the optimal setting of the global service level and related safety stock, thus yielding reductions in related costs and improvements in terms of system sustainability and service level.
Additionally, the methodology may be used in small regions where the homogeneity of customers leads to the marketing goal of offering a homogeneous customer service level at the warehouses, since customers may perceive a service level difference or, in small regions, their communication may allow them to share this knowledge. Therefore, it is important to the company to offer the same service at different locations, since the proposed approach allows for optimizing the associated costs.
6. Conclusions and Future Research
In this research, a model to optimize inventory-related decisions for a single-commodity supply chain network comprising a set of parallel warehouses or distribution centers is developed. Inventory decisions in the model are warehouse order sizes and a common global service level consisting of a homogeneous maximum allowed stock-out probability for each warehouse, assuming stochastic demands with a generic formulation. Subsequently, a second specific formulation is derived considering a normal approximation of warehouse demands. Finally, a Newton–Raphson-based algorithm is developed to solve the problem, converging in only a few iterations and seconds for instances with up to 200 parallel warehouses.
The proposed formulation along with the developed solution approach yield significant benefits in comparison with a natural benchmark, without implying substantial additional computational efforts, thus providing significant differences in the obtained service level and lower system costs, which are contributions associated with the proposed approach.
It is worth noting that the studied problem and related variations may arise as a sub-problem within a generalized Benders decomposition for inventory location problems to optimize the supply chain network. Similarly, any two-step local search heuristic or metaheuristics may benefit from employing the proposed approach as a procedure to evaluate every SCN configuration (e.g., fitness evaluation within genetic algorithms). The above arguments enlarge the applicability and relevance of this research.
Relevant future research based on this research may increase its contributions, which involve multi-commodity and multi-period formulations, along with considering other demand distributions. Moreover, empirical distributions may be considered in which expressions involved within the algorithm are derived based on numerical approximations. A simultaneous modeling of decisions and costs at the upstream location level, such as plants or suppliers, denotes a significant extension to be addressed, following most of the literature concerning two-stage supply chain inventory management, as described in the literature review above.