1. Introduction
Perishable inventories, such as food and pharmaceuticals, require careful management to ensure their quality and safety. One of the key considerations for the efficient management of such inventories is the energy consumption required to preserve and extend the shelf life of perishing goods. In recent years, there has been an increasing interest in reducing the energy consumption of supply chains, both to decrease costs and reduce environmental impacts (i.e., pollution reduction and promote carbon neutrality). There is a lot of emphasis on the promotion of the so-called “green” supply chain [
1]. Green supply chains include green manufacturing, green products, green resources, green movement, and green logistics, i.e., green supply chain management (GSCM) [
2]. In the era of Industry 4.0, not only is improving operational efficiency highly necessary but also compliance with the regulatory and market pressures for pollution, waste control (Sarkar et al., 2022 [
3]), and energy consumption.
An effective inventory management system is crucial for ensuring the optimal functioning of the entire supply chain. A well-controlled inventory system can lead to improved efficiency and productivity throughout the entire supply chain. One of the essential aspects that must be considered in the management of perishable inventory systems is the role of energy. It is imperative that energy is utilized to maintain the appropriate temperature, humidity, and other essential environmental conditions that are necessary to preserve the quality and safety of perishable goods. For example, refrigeration systems are commonly used to cool and preserve perishable foods, pharmaceuticals, blood, and other perishable products. These systems consume a significant amount of energy, and their efficient operation is essential for minimizing costs and reducing the environmental impact of inventory management. In addition, energy costs can represent a significant portion of the operating expenses for perishable inventory systems, and optimizing energy use can result in significant cost savings. Therefore, the efficient control of energy use is essential for the effective management of perishable inventories.
There exists a strong correlation between energy consumption and other inventory costs. Specifically, the holding cost, which is the cost of maintaining an inventory over a period of time, can impact the energy utilized in perishable inventory systems in a couple of ways. First, holding costs can motivate inventory managers to reduce their energy consumption in order to lower their overall costs. For example, if the holding cost of a perishable inventory is high, managers may be motivated to reduce energy consumption by using more energy-efficient refrigeration systems or optimizing the scheduling of energy-intensive operations. Second, the holding cost can also influence the tradeoff between energy use and product quality. In some cases, it may be more cost-effective to use more energy to maintain optimal environmental conditions for perishable goods, even if it means higher energy consumption. However, in other cases, it may be more cost-effective to allow some degradation of product quality to reduce energy utilization and lower the holding costs. The optimal balance between energy use and product quality depends on a diverse set of aspects, including the specific characteristics of the perishable products, the holding cost, and the energy cost.
2. Literature Review
One of the initial attempts to achieve optimal inventory performance was the development of the Economic Order Quantity (EOQ) model, which involves placing a constant order when the inventory level falls below a predetermined level. Going further, the next policy was invented where the order quantity was adjusted based on a difference between the current inventory level and the desired target level, which is called the Order-Up-To (OUT) policy. This policy has been widely used in inventory systems [
4] for decades and continues to be relevant in many industries thanks to its relatively straightforward implementation compared to the more complex models. It does not require extensive data or sophisticated algorithms, making it accessible to a wide range of businesses. However, with the rise of digital technologies and the Internet of Things (IoT), there has been a significant increase in the amount of data available for businesses. This plethora of data can be harnessed by advanced algorithms to generate more precise predictions regarding demand, lead times, and other critical factors. Traditional inventory management approaches, including OUT policies, are often based on static parameters. Advanced algorithms are capable of dynamically adapting to changing conditions, considering factors such as seasonality, market trends, and unforeseen events in real time.
Many modern techniques have been applied to control the flow of products in uncertain perishable inventories. One well-known method is the Mixed Integer Programing (MIP) model. The MIP model was used in [
5], where it was developed with a view to ordering and holding costs. As the optimization problem evolves, an increasing number of criteria are being considered, including carbon emissions and the freshness of perishable products, in addition to economic costs. Therefore, an increased number of criteria forced the usage of optimization methods to include the possible impacts on inventory profitability. Moreover, in current times, demand uncertainty is inevitable, so on top of that, robust methods for optimization are being more frequently used. The two-stage robust optimization (RO) model for a perishable inventory problem was proposed by Hooshangi-Tabrizi et al., 2022 [
6], where an exact robust algorithm based on the column-and-row generation method was introduced. Another approach applied to inventory control is based on Benders’ decomposition [
7], in which the central limit theorem is used to represent uncertainty sets. Another method that has been extensively used, as far as inventory optimization problem is concerned, is stochastic programing (SP). In RO, the decision maker does not have any distributional knowledge about the uncertainty in demand–minimizing worst-case cost, whereas in SP, it is assumed that the algorithm has full distributional knowledge about the uncertainty [
8]. Also, approaches for inventory control that combine these two popular methods, RO and SP, were designed and verified in a real case study in the platelet supply chain [
9].
In the era of Industry 4.0, there is rapid development in digital technologies, where enterprises invest in technologies such as automation and robotics, artificial intelligence (AI), blockchain, cloud computing, and big data analytics [
1]. AI methods can contribute to the development of dynamic inventory control policies, which can adapt to changing conditions, such as fluctuations in demand patterns or variations in perishable goods’ shelf life [
10]. It is important to note that the methods that are using neural networks can be computationally complex. However, there are ongoing efforts to develop more efficient architectures, algorithms, and hardware solutions to address the computational challenges. Moreover, it is important to note that quantization, model pruning, parallelization, and transfer learning, where a pre-trained model is fine-tuned for a specific task, can reduce the need for extensive retraining, thus improving computational efficiency. On the other hand, more and more new approaches are being invented using neural networks to provide better convergence; for example, Input Convex Neural Networks (ICNNs) are used in Model Predictive Control (MPC) algorithms [
11] to solve the problem of multiple shallow local minima. Another approach in which a neural network is incorporated is presented in [
12], where fuzzy reasoning techniques and neural network structures are combined with model-based predictive control (MPC). Employing this approach contributed to simplifying the MPC algorithm.
It is worth noting that enhancing the practical efficiency of neural networks is a pursuit worth undertaking, as they are capable of identifying intricate patterns in perishable goods’ consumption and degradation, thereby aiding in the determination of optimal inventory levels. The current applications of artificial neural networks to inventory management include inventory classification [
13], demand forecasting [
14], inventory optimization [
15,
16,
17], and dynamic pricing [
18]. According to the authors of [
19], an artificial neural network (ANN) and genetic algorithm (GA) were employed to make predictions. A neural network was developed for forecasting purposes, and subsequently, the GA was implemented to determine the ANN’s weights. Prior research has indicated that the integration of an imperialist competitive algorithm with artificial neural networks (ICA-ANN) has been proven to be more effective in predicting the demand for veterinary drugs than a genetic algorithm-based approach (GA-ANN) [
14]. Artificial neural networks have also been applied to solve inventory control problems, which also include inflation [
20]. The bi-objective optimization of multi-period and multi-product inventories was investigated in [
20], resulting in the rapid convergence of the ANN. However, this study did not utilize authentic industry data, which could have further supported the stated advantages. On the other hand, in [
21], a real-world application scenario of a German bakery chain that primarily sells highly perishable goods is presented, and in [
22], a new replenishment strategy that introduces an upgraded particle swarm optimization (PSO)–backpropagation together with the (BP) neural network prediction model is investigated based on the automotive spare parts’ industry. Furthermore, AI methods are very useful for minimizing the losses in perishable pharmaceutical products in a healthcare supply chain. More and more so-called ‘intelligent inventory management’ systems have been created, which help to increase overall cost-effectiveness [
23]. The next subfield of artificial intelligence, which has also been widely implemented to address inventory control problems, is reinforcement learning. Numerous prior studies have explored the utilization of reinforcement learning (RL) in addressing inventory management challenges, exemplified by the noteworthy contributions [
24,
25,
26,
27]. For example, in reference [
24], a deep reinforcement learning framework was introduced for inventory replenishment problems. However, it is worth mentioning that this study did not explicitly account for the impact of product age, indicating an absence of perishability considerations.
In this paper, we employ a robust approach for perishable products facing demand uncertainty to minimize the overall costs. Moreover, the abovementioned studies either consider non-perishable products or do not explicitly incorporate the product’s aging into the model. In other works, it is proposed that a scenario-based RO, where an optimal policy that minimizes the worst-case cost, including the product’s aging, is presented [
8]. Nevertheless, demand categorization-based RO was not properly addressed in the current state of the art, which is a significant research gap. The next void in the literature is about using zero lead time. To exemplify, in [
9], products’ aging is included only during storage, and zero lead time is assumed, which significantly simplifies the considered inventory control problem. Moreover, the popularly used EOQ models [
28] have limitations in their application to complex demand patterns and nonlinearity handling compared to artificial intelligence methods, which provide the possibility of performance improvement thanks to their learning ability.
Unlike these studies, we explicitly incorporate different demand patterns and aging of products during transportation and storage, non-zero lead time, and uncertain demand. To the best of our knowledge, only a limited number of articles deal with perishable products, non-zero lead times, and uncertain demand, including demand categorization. For this reason, we propose a robust inventory system to control the perishable inventory system, which is exposed to highly different demand patterns, uncertain fluctuations, and the product’s aging process.
The contribution of this study is three-fold:
First, in contrast to existing studies, the proposed strategy distinguishes itself by permitting the incorporation of various demand patterns into the optimization process, including intermittent, lumpy, smooth, and erratic demands.
Second, a new solution methodology for perishable inventory control under uncertain demand is proposed. Artificial neural networks and fuzzy logic are used to control the inventory systems. The ANN is used for order signal calculation, and fuzzy logic is used for the refinement of the generated orders, taking into account the forecasted uncertainty. Together with that, robust optimization is performed with the usage of the Genetic Algorithm (GA) and Wald criterion.
Third, the proposed method holds a significant advantage in that the controller behavior is adapted to forecasted uncertainty without requiring a significant amount of computation due to the two-stage offline optimization process. This research has the potential to contribute to the development of software solutions for warehouse management, with the aim of enhancing the algorithms that control the replenishment cycles and automate these processes.
4. Control Design
This section is divided into smaller parts that describe the design of the fuzzy switching control of perishable inventory systems under demand uncertainty and for various demand patterns.
4.1. Classical Approach
The control task in terms of inventory control is defined as follows: the controller has to generate orders in the cases of quantity and timing
u(
k) based on the current inventory state
x(
k) and current demand signal
dΔ(
k). The goal is to fulfill customer orders and keep inventory stock low. The classical closed-loop inventory control system is depicted in
Figure 1.
The challenges associated with controlling such a system stem from the dynamics and uncertain nature of demands, which are subjected to frequent changes. Moreover, these fluctuations in demand are amplified throughout the supply chain, making the dynamics of the system difficult to manage. In addition to this, the controller must generate control signals that are smooth and reasonable to follow in order to minimize the so-called bullwhip effect. Traditional approaches are not adequate for addressing this problem as they suffer from several disadvantages, such as their limited adaptability to uncertainty, difficulty in handling non-linearities and incomplete information, and reduced robustness to disturbances.
4.2. Proposed Approach
Considering the limitations of the classical closed-loop control approach, we have proposed a method that can better handle uncertainty and make use of the enormous amount of data that such systems are storing. In addition, due to the fast-changing and precise nature of these systems, control systems that can learn complex relationships from data and generalize from incomplete information are more suitable. This is particularly important in scenarios where information may be partial or imprecise. The architecture of the proposed control system is depicted in
Figure 2.
The Fuzzy Robust Neural Network control system (FRNN) consists of two main components: the Fuzzy Logic Estimator and a set of Robust Neural Network controllers with the weights given in vectors {
v0,
v1, v2, …,
vm−1}. The generated optimal set of weights is used in the second stage of optimization, which is intended to find the optimal values of the parameters of the Fuzzy Logic estimator {
p1,
p2,
p3,
p4,
p5} and demand estimator
p6, taking into account the inventory performance criteria (described in
Section 4). The core of the automated inventory control system is a Robust Neural Network controller, which is responsible for generating order signals for four distinct levels of demand uncertainty. Specifically, the orders generated by the controller for demands with no uncertainty are denoted as
u0, while those for demands with the highest uncertainty are denoted as
m − 1, where
m is the number of considered uncertainty levels. Hence, the vector of orders can be defined as follows:
In the subsequent round, a linear interpolation is carried out utilizing the provided weight vector v and uncertainty forecast Δf, resulting in the generation of the ordering signal û. The inventory level is initialized with an initial state, representing the initial stock, including the expiration date and customer needs dΔ. The demand signal is divided into two parts: current customer needs, represented by signal dΔ, and estimated demand, which is marked as dctrl. Following the sale of goods and the arrival of new orders, the inventory achieves a new state, x, that represents the current inventory level with information about the age of the products.
4.3. Moving Coefficient of Variation, Difference of Moving Coefficient of Variation, and Mean and Moving Average Estimator
To ascertain the anticipated demand for future products, operations were conducted on the present uncertain demand signal. Two signals were computed: the Moving Coefficient of Variation (MCV) and the Difference of Moving Coefficient of Variation (DMV). These two signals serve as inputs for the Fuzzy Logic Estimator. The Moving Coefficient of Variation is expressed as follows:
where
whereas the subtraction of two Moving Coefficients of Variation, each characterized by a different window size w
s, represents the Difference of Moving Coefficients of Variation:
On the other hand, the input demand for the Neural Controllers is made based on the weighted sum of the mean current demand
and the Moving Average (MA) of current demand, as expressed in the following equation:
4.4. Fuzzy Logic Estimator
In this section, details about the Fuzzy Logic Estimator are presented. The Fuzzy Logic Estimator system’s aim is to generate the demand uncertainty forecast Δf based on the moving coefficient of demand variation
dmcv and the difference of moving demand variation
ddmv. In
Figure 3, a flow chart of the Fuzzy Inference System (FIS) is depicted.
The values of the moving coefficient of variation
dmcv and its difference
ddmv are used as the inputs to the fuzzy inference system, which depends on the membership functions and the fuzzy rules presented in
Table 1. The FIS observes the pattern of the coefficient of variation and its differential and correspondingly updates the uncertainty forecast so that the generated order provides optimal inventory performance (optimization details are presented in
Section 4).
The membership function shapes and locations of optimization variables (
p1,
p2,
p3,
p4, and
p5) are shown in
Figure 4.
The first input’s membership functions are all isosceles triangles, while the second input’s membership functions consist of an isosceles triangle and two linear functions, a z-shaped saturation function, and an s-shaped saturation function. A constant value Δp is introduced to provide the offset between each membership function, and it is empirically adjusted.
4.5. Neural Network Optimization
The two-stage optimization approach aims to efficiently manage inventory levels by addressing both the robustness of neural network control and efficient adaptability to demand uncertainties in separate stages. The first stage of optimization involves determining the optimal weights
v for the worst-case scenario of demand uncertainty, which is represented by the estimates δ ∈ {0, 0.1, 0.2, 0.3}. The values of δ are evenly distributed within the range of 0 to 0.3, with 0.3 serving as the assumed upper bound of the acceptable range, corresponding to a relative perturbation of +/−30%. The initial step of the first stage is to produce random initial conditions for the inventory state within the range (0, 2). The learning set comprises 180 various inventory states, each representing a different level of initial stock for products with varying shelf lives. The state vector
, which serves as the input for the neural network controller, consists of the number of products on every shelf, with each shelf representing the age of the product. The neural network corresponds to the control signal
which is the order quantity calculated to fullfil the demand
. The goal of the optimization problem is to determine the neural network’s weights with the aim of ensuring that the inventory system can meet customer needs and minimize holding costs simultaneously. Specifically, the following criteria have been used:
where Equation (6) represents the cost of lost sales because of the shortage or spoilage of products, while Equation (7) denotes the cost of holding stock surplus over current demand. The latter can be calculated using the following formula:
The aforementioned relationship, Equation (8), highlights the presence of inequalities that nullify the penalty associated with the stock’s initial conditions,
x0, where
represents the system’s free response. The formalized criteria may be expressed as the weighted cost function:
The weighting factor c, which is a scaling factor that is empirically tuned to ensure an equitable balance between the aforementioned objective functions (6) and (7), is assigned a value of 3.
4.6. Fuzzy Logic Estimator Optimization
The second stage of optimization seeks to provide the ability to adapt to uncertain demand by utilizing a fuzzy logic approach. In this stage, the obtained weights of the neural network in the first optimization stage are utilized as inputs. For the purpose of the second stage of optimization, a model has been developed, which comprises an artificial neural network proposed in [
30], the perishable inventory model developed in [
29], and the demand uncertainty estimation system based on fuzzy logic developed in this work. Formalizing the optimization problem may be expressed as follows:
where
p1,
p2, and
p3 are the parameters of membership function for the first input, and
p4 and
p5 are the parameters of membership function for the second input. The remaining parameter,
p6, is a parameter that determines the proportions of the mean and moving average of the demand signal that are inputted into the RNN. The detailed steps of the second stage of the optimization process are shown in
Figure 5.
In the second step, the perishable inventory models, Robust Neural Network controllers, and Fuzzy Logic are initialized. Subsequently, the optimization process is executed separately for each considered demand pattern and for various window sizes of the mean, moving average, and moving standard deviation of the demand signal. The optimization of the FRNN controller was then carried out for a specific variant, which involved a chosen window size and demand pattern. In order to classify the demand patterns, the classification method called Croston’s method-Synetetos and Boylan method is used, which was proposed in [
31]. This method considers the calculation of two indicators: the average demand interval (ADI) and the coefficient of variation (CV). These indicator values were calculated utilizing the following formulas [
32]:
The ADI indicator, which stands for the average demand interval, refers to the period of time that elapses between two consecutive demands. CV
2 can be expressed in the following manner:
This method enables us to identify various types of demand, including smooth demand, which presents a consistent quantity and timing (ADI < 1.32 and CV
2 < 0.49). Erratic demands are defined by unpredictable fluctuations in the size of demand in place of changes in the demand period (ADI < 1.32 and CV
2 > 0.49), while intermittent demands can be described by a lower level of variability in the demand quantity than the demand period (ADI > 1.32 and CV
2 < 0.49), lumpy demand (ADI > 1.32 and CV
2 > 0.49), and intensely unpredictable and sporadic fluctuations in demand, which include periods of zero demand [
33].
4.7. Verification
The performance of the optimized FRNN controller was verified using the demand signals from a testing set. The demand signals were applied to the inventory system, and for each applied testing demand signal, the criterion (9) was calculated. Additionally, sensitivity analysis was conducted using the One-at-a-Time (OAT) method to assess the impact of changes in the controller parameters on the inventory control quality.
5. Simulation Research
This section details the simulation research, the primary objective of which is to demonstrate the effectiveness of the proposed controller in enhancing the performance of perishable inventory systems in the face of uncertain demand. The focus is on evaluating the impact of the controller on stock levels, shortage rates, and wastage due to perishability across various demand patterns.
The dataset comprises time series data related to the sales of diverse items offered by Walmart stores, arranged in a hierarchical structure, with the following levels: item level, department, product category, and geographical region. The dataset consists of 3075 products that have been sorted into 3 product categories, namely hobby, food, and household, and 7 product departments, where the aforementioned categories are further disaggregated. This dataset was released with the intention of participating in the M5 Competition hosted on Kaggle [
34]. The items are distributed throughout ten retail locations across the states of California, Texas, and Wisconsin. For the purposes of this research, the item category under consideration is food. In the food category, there are 1437 products whose time series have been classified into four demand patterns dependent on two indicators, denoted as Equations (11) and (12), namely the average demand interval (ADI) and the coefficient of variation (CV). The aforementioned research incorporates the following time series for each demand group: 23,042 for intermittent, 5971 for lumpy, 981 for smooth, and 496 for erratic. From these data, a training set and testing set were created in a ratio of 4:1.
The results of the simulation were assessed by evaluating criterion (9) in different simulation scenarios, which include the different window size values used for optimization and testing from the set {7, 14, 30} and different demand patterns.
5.1. Reference Controllers: SRNN and POUT
To ensure a fair comparison between the proposed FRNN’s performance and existing approaches, two reference controllers were selected: the Switching Robust Neural Network (SRNN) controller described in [
35] and the Proportional Order-Up-To Level (POUT) controller described in [
36].
The Switching Robust Neural Network controller (SRNN) is a robust neural network (RNN) controller that utilizes adaptive weight switching based on the estimated demand uncertainty and predefined threshold parameters. Accordingly, the SRNN involves the utilization of four RNN controllers that can be toggled depending on the proportions of the MSTD and MAVG within a specified window size and category of demand signal. The switching operation can take place daily. On the other hand, the POUT controller is a successful modification of a classical OUT policy that seeks to mitigate the effects of the bullwhip effect in traditional inventory systems by smoothing out order variations. Additionally, the POUT controller is equipped with the ability to fine-tune its performance through the use of positive constants, which can be adjusted to optimize inventory management.
The comparison with the reference approaches, the Switching Robust Neural Network (SRNN) and Proportional Order-Up-To Level (POUT), was conducted. The cost function value, fill rate, sum of stock level, number of perished products, and time response analysis for the selected demand scenarios were considered for this comparison. Furthermore, a sensitivity analysis was carried out using the OAT method. For the purpose of fair comparison, two reference systems were optimized using the same criteria, and a two-stage optimization process was carried out for the SRNN, as it also contains a Robust Neural Network as part of the controller. During the second stage of optimization, switching thresholds were calculated for the SRNN t1-t4, and for POUT, two parameters were optimized: the maximal inventory level o1 and a positive constant o2 that determines the share of the difference between the maximal stock level and the current stock level, as well as the work-in-progress orders in the order signal generation.
5.2. Parameters
The parameters utilized in the simulation research are presented in
Table 2.
5.3. Optimization Results
The results of the optimization process are presented utilizing the cost function values, optimal parameter values, and the performance of the inventory system demonstrated through time response charts. Additionally, the sensitivity analysis was conducted to show the robustness and performance of the control system in cases of parameter change.
5.3.1. Cost Function Values
Table 3 presents the obtained results from the optimization process for the SRNN, FRNN, and POUT controllers. The results include the cost function values according to Formula (5) obtained in the optimization and in the testing process (in brackets). The computation of the cost function value is undertaken for selected window sizes w
s, with the aim of assessing the performance of the controllers optimized with a specific window size w
opt in the context of different window sizes w
test. In the present investigation, the controllers optimized on selected w
opt are tested in the scenarios wherein the window size is altered to w
test. In
Table 3, the cost function values are provided for different window sizes, w
opt and w
test, and four selected demand patterns, where w
opt is the window size used during the optimization process (listed in rows) and w
test is the window size used for testing purposes (listed in columns).
Based on the cost function values obtained for the optimization set, the FRNN controller appears to be delivering the best performance in the majority of scenarios considered. Specifically, in the training phase, the FRNN controller provided the lowest cost function value for 94% of the scenarios compared to the SRNN and POUT controllers. In the testing phase, the advantage of the FRNN controller is visible in 83% of the calculated cases, which consist of three different window sizes and four different demand patterns. The SRNN controller ranked second, followed by the POUT controller. The advantage of the FRNN controller over the POUT controller is significant, ranging from 7% for lumpy demand patterns with a window size of 7 to 33% for intermittent demand with a window size of 14. The mean advantage of the FRNN controller over the POUT controller for intermittent demand is 31%; for lumpy demand, it is 10%; for smooth demand, it is 18%; and for erratic demand, it is 24%. The advantage of the FRNN over the SRNN is most pronounced in cases of lumpy demand patterns, where the maximal advantage is around 2%. The total performance improvement calculated as the mean for all demand patterns is approximately equal to 1% for the two-week window size used for optimization and testing (wopt = 14 and wtest = 14) and 0.63% for the window sizes wopt = 14 and wtest = 7. The lowest advantage for smooth demand is observed, indicating that the FRNN and SRNN controllers are functioning similarly for smooth demand.
5.3.2. FRNN Parameters
Based on the presented membership function design in
Section 4 (
Figure 4), the optimized membership functions are shown in
Figure 6.
In cases of smooth demand, the MF ‘low’ is strongly dominant and covers almost the whole input range. Conversely, in the presence of intermittent demand, while the MF ‘low’ and MF ‘high’ shares remain very similar, like for smooth demand, the MF ‘medium’ experiences a slight increase. However, in cases of erratic demand, the MF ‘medium’ assumes a larger share than for smooth and intermittent demands. Notably, in the case of lumpy demand, the shares of all MFs become more balanced.
Going further, the relationship between the first input, the coefficient of variation, and the output, uncertainty forecast Δ
f, is presented in
Figure 7.
It is observed that the discrepancy in the forecast uncertainty commenced to surface when the coefficient of demand variation exceeded a value of 3.6. For a range of 5–7.1, the forecast uncertainty for lumpy demand is found to be double that of other demand patterns. Subsequently, the uncertainty forecast increased for erratic demand at a value of 7.1 on the coefficient of variation scale and for intermittent demand at 8.6. Conversely, the forecast uncertainty for smooth demand remained constant at a value of 1 within the range of 1–9.5, indicating that this demand pattern is characterized by a consistent and stable pattern with minimal fluctuations in demand levels. In contrast, the obtained forecast uncertainty for lumpy demand changed three times within the same range of coefficient of variation, underscoring its irregularity and unpredictability.
5.4. Time Responses
For the purpose of supporting the analysis of the perishable inventory performance provided by the considered controllers, individual demand signals that represent certain categories are selected from the testing set and given in
Figure 8.
To start with, an intermittent demand pattern is applied to the perishable inventory system. In
Figure 9, there is a chart that shows the daily sales of certain products in the inventory, whereas
Figure 10 shows the daily stock level.
It is evident that the FRNN is able to sell more; it has about a 2% higher fill rate while keeping 20% less stock and having 56% less losses due to product perishability in comparison to POUT.
Next, the system response for lumpy demand is provided in
Figure 11 and
Figure 12 with the sold product signal and stock level, respectively.
In cases of lumpy demand, the advantage of the FRNN in the case of fulfilling customers’ needs is significant and equal to 14% compared to the results obtained by POUT. Although the FRNN provided this advantage by incurring higher inventory holding costs, it ultimately proved to be more profitable than providing a lower fill rate.
Moving on to the erratic demand pattern,
Figure 13 and
Figure 14 present the sold products and stock levels for the POUT and FRNN controllers, respectively.
It is important to note that the advantage of the FRNN in cases of product perishability is significantly visible for the erratic demand pattern because, in this case, the FRNN is able to provide about 74% less product waste while keeping about a 5% higher fill rate and 24% less stock. In turn, for a smooth demand pattern, the results are shown in
Figure 15 and
Figure 16.
Despite the 20% higher stock level, the FRNN controller managed to reduce product perishability by 42% compared to the POUT method, which indicates that it is more effective in adapting to uncertainties. Additionally, the fill rate of the FRNN is 1.5% higher than for POUT. Additionally, the generated orders are shown in
Figure 17.
In terms of order signal generation, POUT is characterized by the generation of the highest peak values among the considered controllers, which can cause higher stock levels and eventually higher stock perishability. Although the SRNN and FRNN generate similar orders, the ordering signal for the SRNN is less suited to the demand shape, and it can be observed that the signal for the SRNN is smoother than that for the FRNN. Delving further, based on the data for the smooth demand pattern, the SRNN allows us to reduce product perishability by 29.19% compared to POUT, whereas the FRNN is able to reduce it by up to 42.29%.
5.5. Sensitivity Analysis
In the subsequent phase of the simulation research, the sensitivity is evaluated through the One-at-the-Time (OAT) method. Supporting data for the sensitivity analysis are presented in
Table 4,
Table 5 and
Table 6. In
Table 7, the maximum absolute sum of OAT sensitivity for the considered controllers SRNN, FRNN, and POUT is presented, including separate calculations per demand pattern.
It is generally observed that the lowest sensitivity value is exhibited by POUT in all instances. Considering the window sizes, the FRNN is about 16% less sensitive to a one-week window (wopt = 7) and about 8% to a two-week window size (wopt = 7). For the one-month window size (wopt = 30), the FRNN approximately displays a 6% higher sensitivity level than the SRNN.
6. Conclusions
In this paper, we addressed the problem of uncertain, perishable inventory control optimization. Regarding the solution, we proposed an approach for the automatic control of uncertain, perishable inventory systems, supporting the resilience of the whole supply chain. The proposed solution combines neural networks and optimal controller tuning with the fuzzy logic system that forecasts the demand uncertainty. This approach considers different demand patterns: intermittent, lumpy, smooth and erratic. The focus was placed on enhancing the effectiveness of the inventory system by providing a demand uncertainty forecast, which is provided to refine the generated order signal due to the dynamically changing demand patterns. With respect to the automatic order generation process, it can be stated that the proposed FRNN controller outperformed the reference methods. Consequently, the FRNN is more responsive to the demand uncertainties in the inventory system than the POUT and SRNN.
The proposed approach is compared with existing approaches, including the extensively popular classical method POUT and SRNN, which possess similar core functionality–Artificial Neural Networks. The results indicate that the proposed approach significantly outperforms the classical POUT method in terms of its fill rate; the highest advantage is achieved in the scenario with lumpy demand, where the fill rate is increased by 14% for the FRNN than for POUT. Additionally, the FRNN can be utilized to reduce product perishability, as demonstrated by the 74% reduction in waste for an erratic demand pattern scenario. Furthermore, the stock level was lower for the FRNN than for POUT in the erratic demand pattern scenario, with a reduction of approximately 24%. Conversely, when comparing the FRNN to the SRNN, the advantage is visible for specific demand patterns. To be more precise, the computational results indicate that the FRNN provides more robust solutions, especially for lumpy demands, compared to the SRNN. However, for the other considered demand patterns, the difference in performance is slight, which means that the FRNN method can improve the inventory control for products that have a lumpy demand pattern. During the sensitivity analysis, it was established that despite the FRNN not attaining the lowest sensitivity, the sensitivity level can be considered low (less than one). Furthermore, despite the extended functionality of the FRNN, it is shown that the sensitivities of the SRNN and FRNN are very similar. To conclude, the proposed FRNN approach has two main advantages: (1) the controller’s behavior can be easily changed based on forecasted uncertainty without the need for extensive calculations thanks to the offline optimization process and switching capability; and (2) it provides low sensitivity in cases of parameter change. It provides a new perspective to solve the perishable inventory problem. It is found that this study can contribute to the development of software solutions for warehouse management to improve the algorithms that control replenishment cycles and automate them. The aforementioned study has limitations, as it primarily focuses on a specific category of perishable goods, limiting the generalizability of the proposed neural network and fuzzy logic controller. Additionally, the study’s outcomes are contingent on the quality and availability of the data, raising concerns about potential inaccuracies in representing the dynamics of perishable inventory systems. Moreover, this research does not thoroughly explore the computational complexity associated with implementing the proposed controller, overlooking the potential challenges related to real-time applications and resource constraints.
Possible future research directions include the development of advanced forecasting techniques specifically tailored for perishable goods and the investigation of applying a dynamic pricing strategy to optimize revenue and inventory levels in cases of different characteristics of demand patterns.