Abstract
The purpose of this article is to verify the possibility of using artificial neural networks (ANN) in business management processes, primarily in the area of supply chain management. The author has designed several neural network models featuring different architectures to optimize the level of the company's inventory. The results of the research show that ANN can be used for managing a company's order cycle and lead to reduced levels of goods purchased and storage costs. Optimal neural networks show suitable results for subsequent prediction of the amount of items to be ordered and for achieving reduced inventory purchase and keeping costs down.
1. Introduction
In today's highly competitive economic environment, characterized by low profit margins, high requirements for product quality and short delivery times, commercial companies are forced to take every opportunity to optimize their business processes.
Inventory management is considered one of the most important functions of manufacturing and trading companies and can have an impact on the overall performance of the business. Very often it is necessary to consider the trade-off between the cost of storage and the high cost of losses resulting from low levels of inventory and an inability to satisfy the customer. The best solution is effective inventory management, which ensures a good level of services without excessively large levels of stock that disproportionately increase storage costs.
The purpose of this article is to examine suitable methods of artificial neural networks (ANN) and their application in business processes, especially in inventory management. It discusses the construction of an ANN model. The designed model can be used for inventory level optimization to improve the ordering system and inventory management. The methods used in this paper are primarily ANN and ANN-based modelling. Sales data of a wholesale trade fastening-materials company are used for analysis and prediction.
The aim is to detect whether ANN methods are suitable tools to enhance a company's ordering system and, if so, in what architecture.
The theory of inventory management is probably one of the most researched areas of manufacture and trade. Although almost all major manufacturing and trading companies and many small- and medium-sized companies try to apply scientific methods to manage their inventory better, the use of these methods is often limited to a few basic tools [1].
The paper introduces the efficacy and applicability of ANN modelling and forecasting in the context of supply chain management, especially inventory management. Within the research, several types of neural networks are created. Each neural network is then verified; based on this, the most effective architecture of the neural network is determined.
The task of inventory management models is to appropriately regulate levels of inventory, mostly with regard to the cost of storage and ordering. So far, however, a universally suitable model for inventory management has not been developed, so in each specific situation, the optimal solution for the inventory model must be found as a derivative of existing models.
2. Literature Review
The first mathematical model for inventory management, the Economic Order Quantity (EOQ) model, was introduced in 1913 by Ford W. Harris [2]. It was designed for the purpose of production planning. The EOQ is a one-product deterministic dynamic model and is essentially very simple: periodically replenished inventory with a constant level of supply. The aim of the EOQ model is to find the size of production or purchase supply to make the company's activities the most economically advantageous. It is necessary to balance acquisition costs with the cost of storage.
The EOQ model is often modified for different methods of entering required input data, e.g., if there is a need to respect the rebate (quantity discounts depending on the volume of the ordered quantity in the supply) or to consider other initial assumptions of the model.
The study of miscellaneous model situations, focusing on simulating conditions, searching for results and optimal solutions are among the most important contemporary trends [3, 4]. Over the years, countless studies have looked for the optimum result for inventory management or similar issues from supply chain management [5, 6].
Many inventory models have been constructed with different input assumptions [7–15] within the supply chain.
Ioana et al. [16] presented a new concept for fuzzy logic in economic processes. Zhang [17] investigated the estimated technical efficiency score's sensitivity through different methods including the stochastic distance function frontier.
ANN models have been successfully used to solve the demand forecasting and production scheduling problem. Gaafar and Choueiki [18] applied a neural network model to a lot-sizing problem as a part of material requirements planning (MRP) for the case of deterministic time-varying demand.
A paper introduced by Megala and Jawahar [19] deals with a dynamic lot-sizing problem including capacity constraint and discount price structure. Two meta-heuristics – genetic algorithm and Hopfield neural network – are established for the dynamic lot-sizing problem. In recent years many other global publications have dealt with the lot-sizing problem, which has recently been solved by heuristics [20–25].
An ANN structure was also used by Hamzaçebi [26] and compared with traditional statistical methods. The results from the modelled ANN utilized for time-series forecasting proved that the proposed ANN model comes with significantly lower prediction error than other methods.
Research presented by Hachicha [27] also utilized an ANN and worked with the lot-sizing problem in supply chains by applying a metamodelling simulation. The supply chain, which is also a subject of Hachicha's research, is handled in a make-to-order environment (no possibility of keeping stock and limited production capacity). The model is designed for multi-product, multi-stage and multi-location production planning with capacity constraints and stochastic parameters such as lot arrival orders, transit time, set-up time, processing time and so on. In practical applications the results confirm the effectiveness, flexibility and usability of the ANN method.
Paul and Azaeem [28] developed another ANN-based model that determines the optimum level of a finished goods inventory. Inputs to this model are product demand, setup, holding, and material costs, where data originated from a manufacturing industry. The results indicated that the model can be used for a finished goods inventory level forecasting in response to the model input parameters. In general, the constructed model can be applied for finished goods inventory optimization in any manufacturing enterprise.
In research by He [29], a fast convergent Back Propagation (BP) neural network model for inventory level prediction is introduced. The paper predicts the inventory level of an automotive parts company by applying the improved BP neural network model. The results of the research show that the improved algorithm not only exceeds the standard algorithm but also outperforms some of the other improved BP algorithms.
The mentioned scientific publications often deal with the application of neural networks in determining the size of supplies for manufacturing companies. Some of the authors admit insufficient consideration of the need to minimize the costs associated with delivering the goods. Here possibilities for further research appear, while making use of neural networks to determine the size of the supply in the trading business as well as the relevant costs.
3. ANN Model
The aim of the research is to use ANN methods to design the ordering cycle of a company. This paper presents an ANN model that can be used to optimize inventory levels and thereby improve inventory management and the ordering system of the company.
Input, output and test data were provided by an existing company: a wholesale retailer of fastening materials. The company buys from an Asian supplier and, as a part of a supply chain, has to account for a replenishment delivery time of approximately 60 working days from the date of the order. The collected data are from the company's recent history and cover one month's sales of the type of the company's goods with highest turnover.
The model is constructed for deterministic demand and non-deteriorating goods. Backlogging is not permitted.
The objective function of the ANN model can be demonstrated as:
As input parameters of the model, the following variables are used:
the current demand, IDact≥0,
the demand in the next three months, ID3≥0,
the demand in the three months after the three-month ordering cycle, ID33≥0,
the current inventory level, II≥0,
the purchasing cost per unit of item, IP>0,
the procurement cost per unit of item, IT>0.
As output data, the amount ordered was designated OQ>0.
MS Office Excel was used for data analysis, pre-processing and standardization; MathWorks MATLAB Neural Network Tool was used for neural network forecasting.
In this study, an ANN model was developed to determine the optimal amount of goods to be ordered to optimize the current quantity of goods in stock. To construct the ANN model, the selection of input and output parameters is crucial. For this model, six of the most important factors, which influence decision-making for the ordered quantity, were chosen as input variables. They include the current demand (monthly), demand in the next three months, demand in the three months after the three-month ordering cycle, the current value of stock, the purchase price per unit of goods, and procurement cost per unit of goods. As a unit of goods, 1,000 pieces of specific goods are taken. The model's output parameter is then the optimal quantity purchased. The representation of inputs and outputs can be seen in Figure 1.

Neural network's inputs and output diagram
For the design and construction of the neural network model, the following steps need to be taken: the collection of input, output and sample datasets, and designing, training and verification of the neural network. After obtaining the sample dataset, the data are pre-processed to input-output patterns. Input and output data are standardized to values from interval <0;1> to obtain a consistent result using ANN.
Outputs, i.e., the quantity ordered, were modified to ensure optimal behaviour of the stock. This meant securing adequate safety stock (100 units) and preventing an excessive, uneconomic number of units in stock.
A total of 29 input-output dataset pairs were obtained from the company. The dataset was randomly divided into two groups of data at a ratio of 79%/21% to the data for the learning phase of the network, i.e., training data, and the data for testing the network and verifying its reliability.
A feed-forward backpropagation network model with six inputs, one hidden layer and one output was used, while the determination of an optimal number of neurons in the hidden layer will be one of the tasks of subsequent research. The previous research, which has not been published yet, shows that for that type of tasks, the TRAINGDX training function and the TANSIG transfer function are best suited. The maximum number of validation checks is set to 1,000, and the maximum number of training epochs is also set to 1,000.
There are 24 training patterns, which are used as source data for network learning. After the network learning, the value of the determination coefficient (R2) is calculated, which determines the performance of the network in the training phase. Values of indicator R2 range between 0 and 1; the closer the coefficient is to 1, the more accurate the neural network is considered.
After reaching a sufficiently high coefficient of determination (R2), verification of the learned neural network was carried out. A sample of six input values was used and the outputs of the neural network were compared with original outputs of the sample dataset, i.e., with the actual ordered quantity. Evaluation of the neural network in the phase of testing took place via an error measure, the mean squared error (MSE). MSE is the average squared difference between outputs and targets. Lower values are better, zero means no error.
4. Results and Discussion
To find an optimum construction of the ANN with the most appropriate architecture, nine neural networks were compiled, trained and tested with the TRAINGDX learning function and TANSIG transfer function, which in the previous research were identified as the most suitable for the purpose. The number of neurons in the hidden layer was the subject of the current research. Evaluation of the optimal neural network was governed by the MSE value. Neural networks with a lower value of MSE and an R2 value closer to 1 were considered preferable. The results of the analysis and testing are provided in Table 1.
Values of R2 and MSE for neural networks architectures
From Table 1 it can be derived that the lowest MSE values (0.017)—and thus the best performance—was that of a neural network with 12 hidden neurons, while the greatest reliability of the network ranges around that number of neurons in the hidden layer. Conversely, the biggest error (0.105) is that of the neural network with 11 hidden neurons. Therefore, a neural network with architecture 6-12-1 is chosen as the optimal model for the subsequent prediction and design of the company's ordering system.
Table 2 shows the actual outputs of the neural network that have been transferred from the standardized output to real values of order quantity. The first row shows the values of the original sample dataset intended for testing, i.e., the actual ordered quantity. The second row provides outputs from the engineered neural network with 11 hidden neurons, which showed the highest error rate. In the third row there are outputs of the neural network with 12 neurons in the hidden layer, i.e., the determined optimal neural network.
Sample of neural networks outputs
As can be seen from the table 2, the differences between the outputs of individual models of the ANN are not very noticeable, but in some cases the proposed order quantity is disadvantageous for the company. In the third and fifth case, the ordered quantity proposed by the neural network with 11 hidden neurons would be insufficient for the company; it would probably not be able to meet demand, which could lead to a reduction in income and the loss of some customers.
As an ordering system the fixed-time period system is proposed as the most effective ordering structure according to Sanders [30]. The interval between the moments for detecting inventory and setting the order should be determined. For the company under study it is set to three months, in other words, the company will order four times a year as it has done previously.
Table 3 shows the cost per order and storage costs from 2011 to 2014 in financial units (FU). The table contains both the company's actual cost for the goods (reality), and the cost it would incur if it used the proposed ANN model with optimal architecture for decision making (proposal).
Costs related to real and proposed quantity
The table shows that in almost all years there have been marked cost savings for acquiring and holding goods. This is achieved by optimizing the goods ordered in accordance with the expected demand, leading to optimizing the volume of goods held in stock and consequently the storage cost. The cost savings would have only not occurred in 2013. In that year the volume of the company's goods in stock declined too much, often far below the level of safety stock. The company's inability to meet orders is a more dangerous situation than the high cost of goods, and the proposed volume of purchase is still more convenient. In 2014, the company tried to avoid shortages of goods in stock and ordered in larger volumes, which resulted in very high costs both of ordering and storage. Here, the difference between the proposal and the reality is the greatest.
For the ordering cycle, the fixed-time period system is considered. Inventory is monitored in a three-month interval and orders are made according to the actual state of the inventory. Figure 2 shows a comparison of the inventory level based on real values using the proposed model. The diagram clearly shows a more even distribution of the inventory level for values indicated in the model, primarily for 2014. Likewise, the diagram shows that in reality the inventory dropped below the value of 100 units many times, which could mean the company is not able to satisfy its orders.

Comparison of inventory level in reality and according to proposal
A comparison of the proposed model and other known methods could be a part of another research project. For now, we can say that the proposed model appears to be more effective than the basic EOQ model. The EOQ model does not work with variable demand within one year.
5. Conclusion
The article examines the possibilities of applying ANN in a company's ordering system. Within the research, the author has developed nine ANN models with different architectures to optimize the order size as a function of the current demand, demand in the next three months, three-month delay demand, current inventory status, purchase cost and procurement costs. The author has used real data of a fasteners wholesaler.
The optimum ANN architecture network found is 6-12-1, i.e., six inputs, 12 neurons in a hidden layer and one output. The performance of the neural network model was evaluated by the coefficient of determination (R2) and the mean squared error.
The ANN model developed can be used to optimize a company's order cycle. Based on the predicted demand and the model designed, it is possible to set up the optimum volume of goods to order and thus improve the inventory management policy in a company for cost of purchasing and storage.
Footnotes
6. Acknowledgements
This paper was supported by grant FP-S-15-2787 ‘Effective Use of ICT and Quantitative Methods for Business Processes Optimization’ from the Internal Grant Agency at Brno University of Technology
