Optimization modeling of vegetable pricing replenishment strategy based on machine learning


  • Shuchang Zhou
  • Yan Dai




Neural network, regression tree method, dynamic prediction, Screen algorithm.


Fresh supermarkets are affected by commodity attributes and transaction time, and usually need to be replenished every day. It is of great significance to study the distribution law of sales volume of each category and single product, and to give replenishment and pricing strategies for the commercial supermarket to maximize its revenue. Based on the machine learning method, this paper analyzes the sales flow records of a supermarket in the past three years, obtains the sales rules of each category, and establishes a dynamic optimization model for subsequent pricing and replenishment decisions. The steps are as follows: Firstly, data preprocessing is carried out. Secondly, the kernel density estimation method is used to analyze the distribution law of the total sales volume of each category. With the help of correlation coefficient Screening feature selection method, neural network method and regression tree method, the first 33 single vegetable variables that have an important impact on the total sales volume of vegetables and meet the given constraints are comprehensively selected. Based on these 33 variables, the revenue function of single product sales, single product pricing, single product replenishment and single product wholesale price is constructed, so that the optimization problem of the revenue function is transformed into a constrained optimization problem of a quadratic function of the cost markup rate, and the specific pricing and replenishment strategy on July 1,2023 is obtained. The model established in this study can provide some new solutions to the vegetable pricing and replenishment strategy of supermarket.


Download data is not yet available.


Zhang Jin long, Wu Xiang, Xu Haoxuan. Joint Decision Model for Pricing and Replenishment of Deteriorating New Products [J]. Journal of Systems Engineering, 2018,33 (01): 79-89.

Lu Jing. Research on inventory control and dynamic pricing of fresh agricultural products [D]. Tian Jin University, 2019.

ZHOU Hai Jie. Ordering and pricing decisions for perishable products under partial loss sales [D]. Nanjing University of Aeronautics and Astronautics, 2021.

Miranda S. A qualitative and quantitative analysis of vegetable pricing in supermarket[J]. IOP Conference Series: Materials Science and Engineering,2017,215(1).

XU Wei chao. Review of correlation coefficient [J]. Journal of Guangdong University of Technology, 2012,29 (3): 12-17.

Helmy R ,Steven B ,Augie W , et al. Image encoding selection based on Pearson correlation coefficient for time series anomaly detection[J]. Alexandria Engineering Journal,2023,82.

Yang Liu. Solar power prediction algorithm based on improved BP neural network[J]. Computer Informatization and Mechanical System,2023,6(6).

Scientific Platform Serving for Statistics Professional 2021.SPSSPRO. (Version 1.0.11) [Online Application Software]. Retrieved from https://www.spsspro.com.

Zhou Zhihua. Machine learning [M]. Tsinghua University Press, 2016.

Yu Dong Ju. Research on quality and safety management system of vegetable supply chain [D].Shandong University, 2020.




How to Cite

Zhou, S., & Dai, Y. (2024). Optimization modeling of vegetable pricing replenishment strategy based on machine learning. Highlights in Science, Engineering and Technology, 82, 236-244. https://doi.org/10.54097/7e2eyv05