SciELO - Scientific Electronic Library Online

 
vol.27 número2Mechatronic Design of a Low-Cost Smart Wheelchair Controlled by Joystick and Voice CommandsComparing Wavelet Characterization Methods for the Classification of Upper Limb sEMG Signals índice de autoresíndice de assuntospesquisa de artigos
Home Pagelista alfabética de periódicos  

Serviços Personalizados

Journal

Artigo

Indicadores

Links relacionados

  • Não possue artigos similaresSimilares em SciELO

Compartilhar


Computación y Sistemas

versão On-line ISSN 2007-9737versão impressa ISSN 1405-5546

Comp. y Sist. vol.27 no.2 Ciudad de México Abr./Jun. 2023  Epub 18-Set-2023

https://doi.org/10.13053/cys-27-2-4382 

Articles

Impact of Bayesian Approach to Demand Management in Supply Chains for the Consumption of Dynamic Products

José Antonio Taquía Gutiérrez1  * 

11 Universidad de Lima, Instituto de Investigación Científica, Lima, Peru.


Abstract:

Bayesian approach was applied to the management of the supply chain in a dynamic food product portfolio for a company in the retail sector. We propose a quasi-experimental method considering pre and posttest and a control group. The sample size of 93 products, out of a population of 120 products from two categories: classic sauces and gourmet sauces. R and Python programming languages were used and libraries for random sampling of the a priori distribution of the products to obtain posterior values área presented on the research. Forecast accuracy increased with the Bayesian approach by 10%. Likewise, it was possible to reduce the coverage inventory from 2 to 1.2 months and the discrepancy between the values of the Bayesian estimate with the traditional method was possible to reach a 5% error in the variation.

Keywords: Supply chain; Bayesian approach; retail products; critical fractile; balanced operations

1 Introduction

Variability in demand management due to a lack of methods that incorporate uncertainty in management processes generates problems in companies that market their products in retail environments [1]. Among the problems that appear in a company due to not having balanced demand management in a supply chain for products that frequently change offerings are excess inventory or lost sales [2].

These two effects in this type of dynamic products are evidenced in an inefficient supply, which will have a direct impact on the opportunity cost due to missing products to respond to the market or otherwise a level of excess inventory that immobilizes monetary resources.

This is usually due to not incorporating the uncertainty that appears in any future projection in traditional demand management models. The contribution of this study is to show how the Bayesian approach helps to improve demand management in a supply chain of sausage products facing changes in pricing due to commercial offers that the company makes to increase demand.

Among the results of the research are shown tools that support this coordination process, seeking to balance inventories and increase visibility of consumption to plan and organize supply in growth scenarios. Demand management which is the main input to a sales and operation planning process to coordinate and balance the supply chain need to be challenged [3].

Constant change of offers is a commercial and marketing strategy, which is usual in modern supermarket channels specially on food categories as a process implemented to manage product demand. This commercial strategy needs to be aligned to supply chain reference models such as SCOR to increase efficiency [4]. Should be considered that food supply chains require a circular economy design, making greater the need to improve process coordination [5].

2. Literature Review

Since the conception of the concept of integrated supply chains, many academic advances have appeared as research topics in market-driven approaches and inter- and intra-firm integration and coordination [6].

Taking as reference studies of research opportunities in the field of sales and operations planning for supply chains, we can find three trends that highlight the performance of coordination, implementation, and contextualization [7, 8].

Some of these developments fall into discovering principles and theories that can be applied in a supply chain; identifying the relevance, opportunities and challenges of the operations discipline applied in a supply chain and novel academic applications of methods and concepts coming from other fields of study to the field of supply [9].

Different approaches are used to solve how to obtain a feasible scenario, optimizing resources and product allocations on a decision support basis [10, 11].

In this venue sales and operation planning is one of the most complex processes in an organization. The evolution of this integrated process has become a source of added value generation by building reference models that are replicated and implemented to the extent of maturity, as required by each business.

This process is usually a direct field of application of operations engineering concepts in the links between the market and purchasing management, passing through warehousing and distribution [12]. As a chain, warehouse and distribution centers generate inventories and levels of coordination that become very fine as companies manage portfolios of thousands of products per geographic location grows [13].

The link in the chain closest to the market is the demand management link, and much of the results in the supply process depend on its management which should be aligned to a strategic alignment [14] and enabled by integrated IT systems [15].

A study was conducted showing a Bayesian demand forecast method obtaining a mean absolute percentual error (MAPE) values in an interval between 28 - 58%, which after applying a tabu search algorithm obtained a MAPE of 13% [16].

The importance of the Bayesian approach in price allocation to reduce the inventory level without harming sales highlights usefulness on supply modelling [17].

3. Sample and Methods

The study population consists of the products of a Peruvian mass consumption sauce company that supplies the supermarket market nationwide. The population is divided into two categories. Classic sauces (85 products) and gourmet sauces (35 products). Sampling was proportional to the size of the number of products in each category. For sample selection we used Equations:

n=k2Npqe2(N1)+k2pq, (1)

n=22(120)0.50.50.052(1201)+220.50.5, (2)

where k: number of standard deviations used in a normal distribution,

e: error margin,

p: expected proportion of selecting a product that meets specifications,

q: complement of “p” (q=1-p),

N: Number of total products.

A stratified probability sampling proportional to the size of each category was applied as shown in Table 1, stratified factor = 93/120 =0.775.

Table 1 Proportional probability sampling 

Strata Size of each stratum Determination of strata size
Classic sauces 85 85*0.775 = 66
Gourmet sauces 35 35*0.775 = 28

Table 2 Control group 

Strata Sample strata Control group size
Classic sauces 66 33
Gourmet sauces 28 14
    Total 94 47

For the selection, we considered the similar type of presentation among the products, in addition to being marketed in the modern channel and with diverse offers to stimulate demand. A review was implemented with programming in R language of the differences between the pre-test and post-test values, which automated the obtaining of results. The tools used were R Shiny libraries, Python programming language for Bayesian processes and web programming to upload data

3.1 Inventory Reorder Period Variable

To balance future consumption behavior with inventory replenishment management, a discrete Poisson function was used to identify the probability that consumption cannot be covered. This probability is compared with the probability of being above or below the actual demand. Obtaining the inverse function of consumption in a function of minimization of the cost of supply management composed of the unit costs of storage, costs of lost sales and the cost of requesting replenishment.

Being “p” the monthly periodicity, we use a function of cost of requesting that has a constant part and a variable part according to the excess cost interpreted in the cost of storing and the cost of not having the product available at what we consider the optimal point of exposure to give a service to the estimated. This optimal point is called critical fraction and is determined based on an adequate quantity to meet future demand. With this logic, two scenarios appear.

Scenario 1: (p): probability that the estimated quantity will be greater than demand.

Scenario 2: (1-p): probability that estimated quantity is less than demand.

In scenario 1, the effect that appears is related to the presence of surplus inventory and has an impact on fixed capital.

Scenario 2 generates the effect of missing units, which is interpreted as customer dissatisfaction for not being supplied.

Of these two scenarios, the most favorable scenario for business growth is scenario 1 because it reduces the risk of generating customer dissatisfaction and desertion. In this scenario, if there is a surplus of a product, there are more outlets from the commercial point of view because marketing strategies can be implemented to reduce inventories with offers in the next campaigns for the excess inventory.

In both scenarios we find different costs, in scenario 1, we will have the logistic cost (cost of storing, distributing, and acquiring or manufacturing the products), because we will have more units than necessary to satisfy the demand. In scenario 2, the opportunity cost or lost sale appears, which would be equivalent to the margin lost by not having the product in inventory.

Considering the utility function with “D”: uncertain Demand and Q: Quantity expected to service variable “D” (3). We consider “Cu” as the cost to underestimate demand and “Co” as the cost to overestimate demand. The value of “p” represents scenario probability of occurrence:

p=CuCu+Co. (3)

In mass consumption sauces products, margins are not constant since products vary each season in their discounts. In general, we consider a product with a high margin with a range of probability of being above the demand “p” as a uniformly distributed behavior with values between 0.7 and 0.9. On figure 1 we showed an application created in this research.

Fig. 1 Fractil cost web model. (https://analitical.shinyapps.io/appEnFractil//uri]) 

For the analysis of the behavior of the inverse function of the supply management cost, we will generate three project scenarios where the demand can be one, two or three times the average demand of the product obtained by the Bayesian sampler. With these three “period” values we can find a curve that relates the value of inventory management as a function of replenishment periodicity.

Using the inverse function C(p)=a/p+c*p+b where parameters a, b and c are solved with the equations generated at each replenishment time:

P(1period):Value1=a+b+c, (4)

P(2periods):Value2=a/2+b+2c, (5)

P(3periods):Value3=a/3+b+3c. (6)

To obtain the minimum cost we derive the function C(p)=a/p+c*p+b and obtain:

d(C(p)dp=ap2+c=0, (7)

P0=ac. (8)

We consider that the mean value of the future demand is the result of a Gaussian process (GP) and considered as a prior probability distribution which works in a continuous space of random functions.

To obtain this independent variable (the mean of the future demand estimate), a NUTS (Not U Turn Sampler) was used, which describes how data sequences are generated in a random space. NUTS is a Hamiltonian Monte Carlo method.

This algorithm avoids the random walk part, which is often considered slow to converge. Instead of doing a random walk, NUTS performs jumps of length x. Each hop is duplicated as the algorithm continues to run. This happens until the path reaches a point where it is equivalent to repeat the sequence from the starting point

The determination of the estimated future average demand generates an appropriate replenishment periodicity which in turn generates an inventory coverage level. The coverage level is obtained by calculating the total inventory for the products at that periodicity. It can be interpreted as the required quantity of product until the next replenishment

3.2 Discrepancy

It is the ratio according to the parameters obtained with the information of the system and serves to generate the random function that establishes the risk obtained with different levels of value of the future estimate.

In any supply process, consensus is required in view of the uncertainty of future scenarios, which is why the contribution of the Bayesian approach can also be found in the probability functions obtained with the validations of experts in the organization (usually considered as demand managers).

4. Results and Discussion

The design used with pre-test and post-test and control group was applied with experimental groups 1 and 2. Both categories were of the functional type and include gourmet products as well as other more special categories. The experimental groups are compared in the pre-test to evaluate their equivalence and in the post-test to evaluate if there is an effect that differentiates the control group, to which a Bayesian approach was applied. In the post-test, the difference between the experimental groups is measured. To test the specific hypotheses, scenario comparison tests with confidence intervals were applied to establish by means of a paired t-test whether the values of both scenarios reject the null hypothesis expressed as:

Ho: The mean of the parameters of both scenarios are similar.

Ha: The mean of the parameters of the two are different.

4.1 Testing the General Hypothesis

With the operationalization of the variables, it is possible to measure the impact of the Bayesian approach in the demand management of a supply chain of dynamic products because the a priori information of any commercial process is enriched with the progress of the estimation periods, gathering in a quantitative way the contribution of the quality of the information in the analysis of differences.

In the comparison of the pretest between the two experimental groups, the following can be observed. The p-value (0.003) of the significance level indicates that the decision is to reject the null hypothesis because there is a difference between the experimental groups. An application developed with the described logic can be seen in the following figures.

Scenario A (figure 5) of over estimation for a quantity of 2500 units, a probability of error of 30% and difference between expert consensus of 1600 units: In this case, the value placed as the future estimate is rejected because the probability of error being low, should not be such a wide difference between panel and calculation.

Fig. 2 Logistic function 

Fig. 3 Posterior distribution 

Fig. 4 Sample sequence to obtain posterior distribution 

Fig. 5 Bayesian web model 

Estimation scenario B (figure 6) for a quantity of 6000 units with a probability of error of 40% and a difference between expert consensus of 1000 units. In this case the acceptance of the scenario tends to consider that in the 40% probability of error there is sufficient margin to consider that the calculation of the estimated future value has support.

Table 3 Estimation of the paired difference 

Mean St. Desv. Standard error of the mean 95% CI for the difference _µ
0.0941 0.0752 0.0238 (0.0403; 0.1479)

Fig. 6 Scenario A 

For a third estimation scenario C (figure 7) again of 6000 units and a probability of error of 40% with a difference between experts of 4500 units: The difference with the probability of acceptance is very clear, so the logic is interpreted as an error in the recording of the estimated future value, making it very noticeable the need to review the reason for this difference.

Fig. 7 Scenario B 

Fig. 8 Scenario C 

The results reported in [16], show MAPE values in a range of 17 to 20%, reducing this value after applying a tabu search algorithm, to 13%. In agreement with those obtained in our proposed Bayesian forecasting method with values between 10 - 20% in MAPE which makes the described method robust.

On the other hand, the reorder period indicator of 1.2 months obtained with our method does not reach the value obtained in [17], where a value of 0.5 periods is obtained.

This reason is due to the number of categories that the authors analyze and as they mention with a very intense mass consumption turnover.

In the Bayesian sampler of the present work, it was established in a value of 5% to 10% and the difference between the real and posterior value is justified by the size of the lots with which they work.

The values obtained in the Bayesian method are more in agreement with those reported in the case study with the Poisson distribution [18].

The study found that with the critical fraction technique, the coverage points for the products analyzed is 1.2 periods in inventory. The various inventory levels with a higher periodicity increase the costs of supply management.

5. Conclusion

Incremental improvement in demand management improvement of dynamic products could be obtained using the 10% Bayesian approach for the sampled products.

In relation to the objective of measuring the impact on the expected consumption, the value in the demand management of a supply chain of dynamic products such as classic sauces studied in the present work can be obtained by the behavior of the improvement in the accuracy metric that has an average in the period of the study between 70 and 80% and reduced the difference between the values of the measurement on the actual future and on the estimated future to a value of five percentage points, compared to the category of products that did not receive the effect of the Bayesian approach and presented an average accuracy between 55 and 60%.

In relation to the specific objective of determining the impact on the reorder period, the periodicity of inventory coverage was reduced by 15% for the control group products because of the Bayesian technique, which allows having an ideal level of inventories without affecting the demand, which is equivalent to reducing the inventory without exposing it to depletion.

Finally, regarding measuring the impact of this approach on the discrepancy, it was established that the use of the tools presented in this work improved the quality of the estimate by having discrepancies of less than 5% in the consensus between operations and the commercial área.

Acknowledgments

This paper has received the support from the Universidad de Lima - Scientific Research Institute (http://www.ulima.edu.pe/en/scientific-research).

References

1. Gaspars-Wieloch, H. (2017). Newsvendor problem under complete uncertainty: a case of innovative products. Central European journal of operations research, Vol. 25, No. 3, pp. 561–585. DOI 10.1007/s10100-016-0458-3. [ Links ]

2. Hulthén, H., Näslund, D., Norrman, A. (2016). Framework for measuring performance of the sales and operations planning process. International Journal of Physical Distribution & Logistics Management; Bradford, Vol. 46, No. 9, pp. 809–835. DOI: 10.1108/IJPDLM-05-2016-0139. [ Links ]

3. Fildes, R., Goodwin, P. (2021). Stability in the inefficient use of forecasting systems: A case study in a supply chain company. International Journal of Forecasting, Vol. 37, No. 2, pp. 1031-1046. DOI: 10.1016/j.ijforecast.2020.11.004. [ Links ]

4. Moazzam, M., Akhtar, P., Garnevska, E., Marr, N. E. (2018). Measuring agri-food supply chain performance and risk through a new analytical framework: A case study of New Zealand dairy. Production Planning & Control, Vol. 29, No. 15, pp. 1258–1274. DOI: 10.1080/09537287.2018.1522847. [ Links ]

5. Van Engelenhoven, T., Kassahun, A., Tekinerdogan, B. (2021). Circular business processes in the state-of-the-practice: a survey study. Sustainability, Vol. 13, No. 23, pp. 13307. DOI: 10.3390/su132313307. [ Links ]

6. Errassafi, M., Abbar, H., Benabbou, Z. (2019). The mediating effect of internal integration on the relationship between supply chain integration and operational performance: Evidence from Moroccan manufacturing companies. Journal of Industrial Engineering and Management, Vol. 12, No. 2, pp. 254–273. DOI: 10.3926/jiem.2794. [ Links ]

7. Kreuter, T., Scavarda, L. F., Thomé, A. M. T., Hellingrath, B., Seeling, M. X. (2021). Empirical and theoretical perspectives in sales and operations planning. Review of Managerial Science, Vol. 16, pp. 1–36, DOI: 10.1007/s11846-021-00455-y. [ Links ]

8. Azzamouri, A., Baptiste, P., Dessevre, G., Pellerin, R. (2021). Demand driven material requirements planning (DDMRP): A systematic review and classification. Journal of Industrial Engineering and Management, Vol. 14, No. 3, pp. 439–456. DOI: 10.3926/jiem.3331. [ Links ]

9. Manders, J. H., Caniëls, M. C., Ghijsen, P. W.Th. (2017). Supply chain flexibility: A systematic literature review and identification of directions for future research. International Journal of Logistics Management, Vol. 28, No. 4, pp. 964–1026. DOI: 10.1108/IJLM-07-2016-0176. [ Links ]

10. Aiassi, R., Sajadi, S. M., Hadji-Molana, S. M., Zamani-Babgohari, A. (2020). Designing a stochastic multi-objective simulation-based optimization model for sales and operations planning in built-to-order environment with uncertain distant outsourcing. Simulation Modelling Practice and Theory, Vol. 104. DOI: /10.1016/j.simpat.2020.102103. [ Links ]

11. Valencia Cárdenas, M., Díaz-Serna, F. J., Correa-Morales, J. C. (2016). Multi-product inventory modeling with demand forecasting and Bayesian optimization. DYNA, Vol. 83, No. 198, pp. 235–243. DOI: 10.15446/dyna.v83n198.51310. [ Links ]

12. Gallego-García, S., García-García, M. (2020). Predictive sales and operations planning based on a statistical treatment of demand to increase efficiency: A supply chain simulation case study. Applied Sciences, Vol. 11, No. 1, pp. 233, DOI: 10.3390/app11010233. [ Links ]

13. Seeling, M. X., Scavarda, L. F., Thomé, A. M. T. (2019). A sales and operations planning application in the Brazilian subsidiary of a multinational chemical company. Brazilian Journal of Operations & Production Management, Vol. 16, No. 3, pp. 424–435. DOI: 10.14488/BJOPM.2019.v16.n3.a6. [ Links ]

14. Goh, S. H., Eldridge, S. (2019). Sales and Operations Planning: The effect of coordination mechanisms on supply chain performance. International Journal of Production Economics, Vol. 214, pp. 80–94, DOI: 10.1016/j.ijpe.2019.03.027. [ Links ]

15. Roscoe, S., Subramanian, N., Prifti, R., Wu, L. (2020). Stakeholder engagement in a sustainable sales and operations planning process. Business Strategy and the Environment, Vol. 29, No. 8, pp. 3526–3541. DOI: 10.1002/bse.2594. [ Links ]

16. Valencia Cárdenas, M., Correa Morales, J. C., Díaz Serna, F. J., Ramírez Agudelo, S. (2014). Bayesian modeling application and optimization to demand forecasting. Ingeniería y Desarrollo, Tomo 32, No. 2, pp. 179–199. [ Links ]

17. Liu, J., Pang, Z., Qi, L. (2020). Dynamic pricing and inventory management with demand learning: A bayesian approach. Computers & operations research, Vol. 124, pp. 105078. DOI: 10.1016/j.cor.2020.105078. [ Links ]

18. Prak, D., Teunter, R., Babai, M. Z., Boylan, J. E., Syntetos, A. (2021). Robust compound Poisson parameter estimation for inventory control. Omega, Vol. 104, pp. 102481, DOI: 10.1016/j.omega.2021.102481. [ Links ]

Received: October 22, 2022; Accepted: March 20, 2023

* Corresponding author: José Antonio Taquía Gutiérrez, e-mail: jtaquia@ulima.edu.pe

Creative Commons License This is an open-access article distributed under the terms of the Creative Commons Attribution License