Adaptive Inventory Control Based on Fuzzy Neural Network under Uncertain Environment

. In order to achieve the actual inventory eﬀectively tracking the target inventory under uncertain environment, this paper investigates an adaptive inventory controller for the production-inventory system. First, an uncertain production-inventory model is constructed, and then, the uncertainty of the production-inventory model is approximated by a fuzzy neural network. Secondly, in terms of the design of adaptive control law, the adaptive inventory controller is developed. Under the adaptive inventory controller, the actual inventory can track the target inventory in real time and the production-inventory system can be robustly stable in uncertain environment. Finally, the results of three simulation experiments show that the proposed adaptive inventory controller can realize both the fast tracking speed and the high tracking accuracy.


Introduction
Inventory management is always the core problem of enterprises.Sufficient inventory can improve the response speed of enterprises to the market, reduce the risk of shortage, and shorten the delivery time of products.However, on the one hand, excessive inventory will occupy a large amount of working capital and increase the inventory cost; on the other hand, too little inventory will deprive enterprises of sales opportunities.
In the last few decades, scholars have made a systematic study on inventory management.In traditional inventory management, the representative models are the EOQ model [1][2][3][4][5][6] and the (s, S) model [7][8][9].For example, Tavakoli and Taleizadeh [2] constructed an EOQ model for decaying item with conditional discount and full advanced payment; Chiarini [5] modified the EOQ model to match the just-intime quasi-pull production environment; Castellano et al. [7] dealt with the application of a Bernoulli model to the case of a single-vendor single-buyer supply chain with (s, S) inventory policy; considering a finite-horizon single-product periodic-review inventory management problem with demand distribution uncertainty, Qiu et al. [9] proved the existence of an optimal (s, S) policy.
In addition to the classic research of inventory management, some scholars applied the control theory to inventory management and formed a unique inventory control theory.In this field, there is a family of APIOBPCS (Automatic Pipeline Inventory with Order-Based Production Control System) models [10][11][12][13][14][15][16], whose principle is to transform the differential equation into the transfer function of the control system by the Laplace transform and to add elements such as automatic pipeline.For example, Hosseini and Mehrjerdi [12] investigated the impact of different inventory policies on the APIOBPCS model; Zhan et al. [16] built up a model of VMI (Vendor Managed Inventory)-APIOBPCS for the apparel supply chain.Besides IOBPCS family, there are other control methods applied to inventory management, for example, Subramanian et al. [17] proposed the economic MPC (model predictive control) to guarantee the closed-loop properties for supply chain optimization.
However, the inventory level is often influenced by some random events, such as inaccurate prediction, mechanical failure, strikes, and other internal events or external disturbances, and then, the inventory system under the classical control methods may take place a significant decline in performance, or even instability.
Because the adaptive control method is an effective method to suppress the impact of random events on the system [18][19][20][21][22][23][24][25][26][27][28], some scholars applied the adaptive control method to inventory control to avoid the defects of the classical control methods in inventory control, for example, Aggelogiannaki et al. [20] proposed an adaptive MPC configuration to identify and control the production-inventory systems.Foul et al. [21] introduced the model reference adaptive control with feedback to track the inventory level.Applying online adaptation in the framework of passivity-based control, Li et al. [22] developed an adaptive inventory control strategy.Mandel [23] presented a set of models and algorithms for adaptive inventory control in the case of uncertainty.Aengchuan and Phruksaphanrat [24] compared the inventory control effects of the fuzzy inference system model, artificial neural network model, and adaptive neural fuzzy inference system model.Azarskov et al. [25] proposed an adaptive control method to improve the performance of the inventory control system under uncertainty.Based on Kalman filtering, Vladimir and Kenne [26] developed an adaptive control method for the manufacturing systems with incomplete information about demand and inventory.Paul et al. [27] applied the adaptive neural fuzzy inference system to modeling the inventory problem.Fu et al. [28] quantified and mitigated the bullwhip effect in a benchmark supply chain system by an extended prediction self-adaptive control ordering policy.
In the literature mentioned above, only authors in [9,18,23] and [25] investigated the problem of inventory management under uncertainty, and only authors in [9] considered the robustness of inventory system, none of the authors paid enough attention to parameters adjusted online, and all authors for the adaptive control only set the target inventory as a constant.Under uncertain environment, only the robust production-inventory system can maintain its stable operation.Furthermore, for the variable target inventory, the number of parameters that can be adjusted online in the adaptive control algorithm directly reflects the tracking speed and the tracking accuracy in inventory control.erefore, in our paper, for the periodic change of the target inventory, an adaptive inventory controller is proposed under uncertain environment caused by prediction error, machine failure, workers' strike, and so on.By three parameters adjusted online simultaneously, an adaptive control algorithm is designed so that the production-inventory system can track the target inventory with high accuracy and high speed.In addition, the robust controller is used to suppress the impact of uncertainties on the production-inventory system.e rest of the paper is organized as follows: Section 2 constructs an uncertain production-inventory model.e uncertainty of the production-inventory model is approximated by the fuzzy neural network in Section 3. Section 4 develops an adaptive inventory controller.e simulation analysis is given in Section 5. Some conclusions are drawn in Section 6.

Uncertain Production-Inventory Model
e meanings of relevant symbols in the paper are shown in Table 1.
e production-inventory model under uncertain customers' demand is constructed in Figure 1.
In this model, D(t) and I(t) are the input variable and the output variable of the system, respectively.e prediction result P(t) of D(t) can be obtained from the following single exponential smoothing: In terms of the inventory deviation adjustment time T I , the production plan is corrected to make the actual inventory level consistent with the target inventory level.
e transfer function of the production-inventory model can be obtained as follows: ( e differential equation of equation ( 2) can be expressed as follows: By considering the uncertain inventory deviation adjustment time caused by prediction error, commodity price fluctuation, machine failure, and workers' strike, and the uncertain consumption averaging time caused by the customers' demand in the production-inventory system, the uncertain production-inventory model is described as follows: where ΔT a and ΔT I are the uncertain terms of the system parameters T a and T I , respectively, and c denotes the uncertain term of the external disturbance.Equation ( 4) can be written as follows: where Compared with the classic control methods, the adaptive control method can suppress the influence of disturbance on the production-inventory system and make the actual 2 Complexity inventory track the target inventory.erefore, this paper will design an adaptive inventory controller to improve the tracking accuracy and the tracking speed.

Expression of Uncertainty
Before the adaptive inventory controller is designed, the uncertainty Ω in the production-inventory model will be approximated by the fuzzy neural network.Figure 2 shows the structure of the fuzzy neural network.e function of each layer in the fuzzy neural network is described as follows: Layer 1 (input layer): this layer defines input language variables: Layer 2 (fuzziness layer): each node in this layer represents a membership function.In our paper, Gaussian function is chosen as the membership function.Layer 3 (rule layer): each node of this layer corresponds to a fuzzy rule.Layer 4 (output layer): the node of this layer corresponds to the output variable.e output of the fuzzy neural network is described as follows: where Equation (6) will approximate the lumped uncertainties Ω in equation (5).If the estimated value of Ω is Ω ⌢ , according to the universal approximation theory [29], there is an optimal approximation value Ω * , which satisfies the following equation: where Γ represents the approximation error.In [30], we assume |Γ| ≤ Γ * , Γ * is a positive constant.c * , σ * , and π * are the optimal parameter vectors of c, σ, and π, respectively.ere exist constants c, σ, and π satisfying ‖c * ‖ ≤ c, ‖σ * ‖ ≤ σ, and ‖π * ‖ ≤ π, respectively.e estimation function Ω ⌢ can be defined as follows: In equation ( 8 ).e error  Ω is defined as follows: where In order to transform the nonlinear membership function equation into partial linearization form, using the two-place Taylor's formula, we can get g(I,  c,  σ),  c,  σ, and  π are bounded; then where Substituting equation (11) into equation ( 9), we have For the scalar matrices in equation ( 13), we have

Design of Adaptive Inventory Controller
e adaptive inventory controller designed in this paper consists of a fuzzy neural network controller u a (t) and a robust controller u b (t).In the adaptive inventory controller, the fuzzy neural network is used to deal with the problem of uncertainties, the feedback control is used to track the target inventory, an adaptive algorithm is used to solve the problem of automatic online adjustment of parameters, and the robust controller is used to improve the robustness of the production-inventory system.
When the inventory control is carried out, the error between the actual inventory and the target inventory is inevitable, which can be expressed as follows: Taking the derivative of equation ( 14), we have As a virtual control variable, _ I(t) can be represented as the following form based on the stabilizing function a(t): For the steady-state error, we have en, the derivative of the steady-state error can be expressed as follows: e adaptive inventory controller is designed as follows: where E ⌢ is the estimate of E. In order to determine the adaptive law and the estimation algorithm of boundary value in the adaptive inventory controller, substituting equation (19), equation (20), and ( 21) into ( 5), we have Substituting equation ( 13) into equation ( 22), we have According to the idea in [31], we propose the following theorem.

Theorem 1. e estimation algorithm of boundary value and the adaptive law of parameters are given as follows:
_ Then Γ is bounded and ‖ε‖ ≤ E, and then lim , and η 1 , η 2 , η 3 , and η 4 are all positive.
Proof.A Lyapunov function is defined as follows: where V 1 (t) � (e e integral of equation ( 29) is as follows In terms of the corollary of the Barbalat lemma [32], lim t⟶∞ Ψ(τ) � 0. at is, e 1 (t) and e 2 (t) are asymptotically equal to zero when t ⟶ ∞.And then lim t⟶∞ [I(t) − I c (t)] � 0. erefore, the production-inventory system is asymptotically stable.

Simulation Analysis
In this section, the production-inventory system of YABAOBAO Down Clothing Company Limited (YBB) is selected as a simulation objective.Set 360 days as the simulation duration, in which the first 180 days represent autumn and winter, and the last 180 days represent spring and summer.en the sine function I c � 1000 × sin(t/57.3)+ 2000 is set as the target inventory of YBB.For sales season of the down garments in autumn and winter, T I � 5 and T a � 7; for sales off-season of the down garments in spring and summer, in order to save costs, T I � 7 and T a � 10.It is assumed that the demand disturbance of the down garments meets the uniform distribution, that is, c ∼ U(− 200, 200).We will apply the fuzzy neural network composed of five fuzzy rules to estimate the uncertainty Ω and set the initial values of π, c, and σ are all 0. Other parameters are set as follows: τ 1 � τ 2 � 1, η 1 � 2.5, and η 2 � η 3 � η 4 � 50.To verify the tracking performance of the adaptive inventory controller, the simulation experiments will be carried out under three customers' demands: step function, sine function, and random function.
e simulation results under step demand, sine demand, and random demand are shown in Figures 3-5, respectively.
As shown in Figure 3, the customers' demand is 15000 and the target inventory is 2000 at the beginning of the simulation, and then the actual inventory tracks the target inventory and is almost the same as the target inventory after 6 days.When a step change of the customers' demand from 15000 to 3000 occurs on the 180th day, the actual inventory begins to rise sharply, but the actual inventory tracks down the target inventory on the 187th day.As shown in Figures 4  and 5, both the actual inventories under the sine demand and the random demand track down the target inventories on the 5th day.
As a result, by adjusting 3 adaptive parameters real-time online, the designed adaptive inventory controller achieves fast and accurate tracking of the target inventory under different customers' demands and uncertain environment and ensures the robust stability of the production-inventory system of YBB.

Conclusions
Appropriate inventory can effectively enhance the vitality of enterprises.However, inventory level is often subject to the uncertain environment and cannot be consistent with the target inventory.In this paper, the fuzzy neural network has been used to estimate the uncertainty in the inventory control model.en we designed an adaptive control law consisting of 3 adaptive parameters which can be adjusted real-time online.Based on the designed adaptive control law, an adaptive inventory controller was proposed to implement the actual inventory closely tracking the target inventory.From the simulation results, the proposed adaptive inventory controller can accomplish the following: (1) robustly stable operation of the production-inventory system under uncertain environment, (2) the realtime tracking of dynamic target inventory under different demands, and (3) high tracking speed and accuracy.In this paper, we only studied the adaptive control of single inventory system.erefore, the adaptive control of multiechelon inventory system can be considered in future research.8 Complexity

Data Availability
e simulation data used to support the findings of this study are included within the manuscript.ese data are restricted by the Zhejiang China Apparel Network Technology Company Limited in order to protect trade secrets.Data can be available from http://www.efu.com.cn/forresearchers who meet the criteria for access to confidential data.

Figure 3 :
Figure 3: Simulation results under step demand.(a) Customers' demand.(b) Inventory curves.(c) Curves of adaptive parameter π j .(d) Curves of adaptive parameter c i j .(e) Curves of adaptive parameter σ i j .(f ) Error curve of I − I c .(g) Curve of E.

Figure 4 :
Figure 4: Simulation results under sine demand.(a) Customers' demand, (b) Inventory curves, (c) Curves of adaptive parameter π j .(d) Curves of adaptive parameter c i j .(e) Curves of adaptive parameter i j .(f ) Error curve of I − I c .(g) Curve of E.

Figure 5 :
Figure 5: Simulation results under random demand.(a) Customers' demand.(b) Inventory curves.(c) Curves of adaptive parameter π j .(d) Curves of adaptive parameter c i j .(e) Curves of adaptive parameter σ i j .(f ) Error curve of I − I c .(g) Curve of E.