Abstract
Pork supply prediction is a challenging task of significant importance for pig producers and administrators, as it aids decision-making and maintains the pork supply–demand balance. Previous studies failed to consider impact factors like the month-age transfer principle of pigs, epidemic factors, and the simultaneous import and export volumes of pork, leading to the absence of a quantitative prediction model for pork supply. In this background, we proposed a novel quantitative prediction model of pork supply that incorporates pork production and pork import/export volumes. First, a prediction model for pork production that takes into account the month-age transfer principle of pigs and epidemic factors was presented, along with a recursive model of the pig-herd system. A novel method based on a modified self-organizing migrating algorithm (MSOMA) was proposed for calculating the quantity of monthly newly retained sows (NRS). Furthermore, the pork-production prediction model considered the epidemic factor as a random disturbance term (RDT), and a prediction method based on MSOMA and a back-propagation neural network (MSOMA-BPNN) was introduced to predict such disturbance terms. Second, the proposed MSOMA-BPNN was employed to predict pork import and export volumes. The pork supply was subsequently determined based on the predicted pork production, as well as the pork import and export volumes. The proposed pork supply prediction model was applied to forecast China’s pork supply from 2010 to 2023. The results validate the high effectiveness and reliability of the proposed model, providing valuable insights for decision makers. The empirical results demonstrate that the proposed model is a promising and effective tool for predicting the pork supply. To our knowledge, this is a novel tool for pork supply prediction, considering the pig-herd system and pork import and export volumes from a systemic perspective. These features allow for consideration of the scientific formulation of a pig production plan, the establishment of early warning mechanisms to deal with epidemic situations and emergencies, and the regulation of pork supply and demand balance.
1. Introduction
China, the most populated country in the world, plays a major role in both consuming and producing pork. According to the national consumption structure, pork accounts for 63.45% of total meat consumption. The recent decrease in pork supply and the significant fluctuations in pork prices have garnered considerable attention from various stakeholders [1]. Specifically, the advent of COVID-19 in early 2020 and the emergence of African swine fever (ASF) in 2018 have substantially reduced pork production in recent years. For different stakeholders in the pork supply chain, farmers and pork processing enterprises face the risks of reduced production and rising raw material costs, but they also benefit from the income increase brought by the rise in pork prices. Retailers and consumers face the risk of rising purchase costs; the government needs to take measures to ensure a stable supply in the pork market, stabilize pork prices, and strive to maximize social welfare. Pork demand has remained relatively stable, resulting in an imbalance between supply and demand, causing higher and more volatile pork prices. Therefore, it is critical to make precise pork supply forecasts in order to ensure consistent production and availability of live pigs, as well as steady pork supply and prices. The forecasting of pork supply is not just a systemic concern for the entire swine industry but also a socio-economic concern linked to people’s well-being. Furthermore, ensuring a stable pork supply plays a crucial role in achieving food security, improving nutrition, and promoting the healthy and sustainable development of agricultural production and meat supply chains. A scientifically reliable pork supply prediction system also aligns with the zero-hunger goal proposed by the United Nations for Sustainable Development.
Recent research has yielded fruitful results in the study of live pigs, pork prices, and pork supply. In terms of the research on live pigs and pork prices, Hamulczuk and Stańko [2] suggested that pork prices in Poland are determined by the supply–demand balance and conducted an empirical analysis to support this claim. Alexakis et al. [3] highlighted the significant influence of pig production costs on pig price fluctuations. Ngarava and Mushunje [4] employed multiple linear regression analysis to examine the pricing strategies adopted by the pork industry in Zimbabwe. Pourmoayed and Nielsen [5] proposed a two-level Markov decision process utilizing the information on pork price, piglet price, and feed price and used a Bayesian method to analyze the optimal strategy in various price fluctuation scenarios. Zhu et al. [6] introduced a novel model to predict hog prices in China. However, the model does not take into account the impact of ASF outbreaks. Xiang et al. [7] used the back-propagation neural network (BPNN) model to predict short-term and medium-term fluctuations in pork prices. Sun et al. [8] utilized ARCH family and BVAR models to study pork price fluctuations in China during the ASF epidemic. Wang [9] developed an information technology-based short-term forecasting model for the price theory of agricultural products in the Chinese market.
In terms of the research on predicting pork supply, Jensen et al. [10] suggested in their research that the population size of breeding sows influences the production capacity of piglets. The breeding-sow inventory directly reflects pig producers’ previous investment decisions. Liang et al. [11] developed a prediction model for China’s annual live pig supply by considering five key factors. Wang et al. [12] referred to the research findings of Jensen et al. [10] and employed the principles of discrete population prediction modeling to establish a prediction model for a discrete pig population. This method faces challenges in addressing practical production issues. Nonetheless, it offers novel ideas and methodologies for further research on the pig-herd system. Jeremic et al. [13] employed the cobweb model to analyze the pork market in Serbia, and pork price was identified as a crucial factor affecting pork supply. Zhang and Wang [14] utilized a population prediction model to predict the pork supply in Heilongjiang Province of China. Accounting for the impact of ASF in 2018 and COVID-19 in early 2020 remains unknown in terms of the model’s predictive capability. Wang et al. [15] put forward a prediction model for pork supply, which incorporates an improved mayfly optimization algorithm and BPNN. The model directly forecasts the future pork supply based on historical data without considering the month-age transfer principle of pigs. This limitation hampers the formulation of effective future pig-production plans. With a specific emphasis on the matter concerning the quantity of newly retained sows (NRS), Song et al. [16] developed a prediction model for this matter using the pig month-age transfer principle and random disturbance terms. Their successful predictions established a solid groundwork for forecasting pork supply.
Although scholars have achieved fruitful research results, the previous studies on pork prediction still face the following challenges.
- The previous pork-prediction methods were investigated using the established research theories and methodologies, neglecting to account for the growth characteristics of pigs, namely, the principle of month-age transfer. As a result, they can only analyze the past changes in pigs and pork, lacking the ability to scientifically predict future pig numbers and pork supply at a specific time;
- To forecast the future pork supply, it is necessary to obtain the initial condition of different varieties of pigs within the pig herd during the preceding prediction stage, which serves as the foundation for recursion. The initial state information of the pig system includes the number of newborn piglets, sow herd, boar herd, and hog herd. However, there is no complete record of the initial condition of the pig herd in the statistical data, and the information is unknown, making it difficult to accurately predict the future pork supply;
- The method for determining the quantity of NRS is a key component of the proposed pork supply prediction model. Although a method for estimating the quantity of NRS has been given in the literature [16], the assumption that the quantity of NRS is proportional to pork prices has limitations. In fact, the quantity of NRS will not increase indefinitely with the increase in pork prices. Pig breeders are rational, and the government will take certain interventions and regulatory measures to improve this situation;
- There is a scarcity of quantitative studies on pork supply prediction, and the models that have been used so far fail to simultaneously consider the principle of month-age transfer of pigs, the influence of epidemic factors, and the pork import/export volume on pork supply.
Against this backdrop, we attempt to propose a new quantitative prediction method for pork supply. Given the remarkable success of metaheuristic algorithms in various domains, such as engineering optimization problems [17], medical research [18], and production scheduling [19], we aim to investigate the effectiveness of metaheuristic approaches for determining the model parameters of our proposed pork supply prediction model. The self-organizing migrating algorithm (SOMA) is a stochastic optimization algorithm introduced by Zelinka and Lampinen [20] that draws inspiration from the self-organizing characteristics exhibited by groups within a social setting. Numerous algorithm versions, including the discrete self-organizing migrating algorithm (DSOMA) [21], the hybrid self-organizing migrating algorithm (HSOMA) [22], and the self-adapting self-organizing migrating algorithm (SASOMA) [23], have demonstrated the higher optimization accuracy and faster convergence speed of SOMA. It has found applications in inventory-optimization problems [24], path planning [25,26], physics [27], and other fields, showing promising prospects. However, these versions of SOMA are not considered final. When confronted with complex optimization problems, SOMA still has the problems of unreasonable parameter setting, slow convergence speed, and poor solution quality. Moreover, many practical applications require algorithms to be more efficient and capable of solving problems faster and with more accuracy. Therefore, considering the specific problems at hand, this paper proposes a new version of SOMA called the modified self-organizing migrating algorithm (MSOMA) based on the SOMA team-to-team adaptive (SOMA T3A) [28], so as to make up for the drawbacks of SOMA T3A and promote the accuracy of the pork supply prediction model.
Expanding upon the analysis previously mentioned, this paper introduces an innovative prediction model of pork supply utilizing MSOMA. The primary novelty and contributions of this work are as follows.
- An innovative quantitative prediction model considering multiple influencing factors was proposed rather than the qualitative analysis in the existing research. The proposed model simultaneously considers the principle of a pig’s month-age transfer, epidemic factors, and the import and export volumes of pork;
- A nonlinear method for determining the quantity of NRS was proposed. This nonlinear method better considers the specific characteristics of production practice rather than simply setting a linear proportional relationship between the number of NRS and pork prices. The model parameters were estimated using MSOMA, which allowed for a precise estimation of the quantity of NRS;
- The proposed model takes into account the impact of epidemic factors on the pig-herd system and pork supply. The epidemic factor was introduced into the pork supply prediction model as random disturbance terms (RDTs), and a prediction method based on MSOMA and a back-propagation neural network (MSOMA-BPNN) was introduced to predict such RDTs;
- The import and export volume of pork is a major factor affecting the total pork supply, which is ignored in the previous research. The proposed pork supply prediction model considered the pork import and export volumes, and the proposed MSOMA-BPNN was employed to forecast these volumes;
- The proposed pork supply prediction model was employed to predict China’s pork supply, and the results verified the effectiveness and reliability of the proposed model. On this basis, China’s pork supply in 2023 was predicted, and the corresponding suggestions were provided in a targeted manner.
The remaining sections of this paper are structured as follows. Section 2 describes the pork supply prediction model. Section 3 provides forecasts for China’s pork supply, and Section 4 offers conclusions. Appendix B Table A8 contains a complete listing of frequently mentioned abbreviations and definitions pertinent to this paper.
2. Pork Supply Prediction Model
As a major global pork importer, China’s pork supply prediction should encompass both pork production and import/export volumes. This section presents the prediction model for pork production and the prediction model for pork import and export volumes. Finally, the prediction method and steps for pork supply are provided.
2.1. Pork-Production Prediction
In this subsection, first, the month-age recursive model of the pig-herd system is deduced. Second, since the core issue in pig-herd recursion is determining the quantity of NRS, a nonlinear model is designed to tackle this issue. An MSOMA-based approach is introduced to solve the model parameters. Third, the epidemic factor is introduced into the pork-production prediction model as RDTs, and a method for adjusting the RDTs is provided, along with a proposed model based on MSOMA-BPNN for the prediction of RDTs. Finally, the pork-production model, parameter settings, and data sources are presented.
2.1.1. Recursive Model of Pig-Herd System
In production practices, pigs undergo various growth phases throughout their life cycle. These stages are typically divided into months based on the pig’s age. Consequently, the month-age transfer of pigs is the procedure by which pigs transition from one growth stage to another. This paper uses the month age as the smallest time unit to accurately estimate the quantity of each category in the pig system.
According to the different roles and production functions, the pig herd is categorized into four groups, namely newborn piglets, sows, boars, and hogs. For the convenience of understanding and expression, we first provide the definitions of various categories of pigs in the pig-herd system as follows.
- Definitions:
Newborn piglets (NP)—Live piglets produced by breeding sows.
Sows—The retained female pigs for farrowing. Its maximum utilization age is 54 months of age.
Newly retained sows (NRS)—When newborn piglets reach one month of age, they are artificially kept as breeding sows based on market conditions.
Breeding sows (BS)—Sows grow to 12 months of age, acquire reproductive ability, and become breeding sows.
Boars—The male pigs that have not been castrated are used for mating with multiple sows in the pig herd. Its maximum utilization age is 54 months of age.
Breeding boars (BB)—The boars that can continue to breed normally after their first mating at 12 months of age.
Hogs—The pigs are kept from the pig herd to provide pork after slaughter.
Slaughtered hogs (SH)—6-month-age hogs that can be slaughtered to provide pork.
Based on the research [16], the concept of month-age transfer for pigs can be understood in the following ways: 0-month-age piglets mature into 1-month-age piglets after one month, further classified into 1-month-age NRSs, hogs, and boars. Six-month-age hogs are slaughtered in order to supply pork for the market. Twelve-month-age sows mature into BSs after a period of twelve months, whereas boars of the same age mature into BBs. Boars and sows that have reached the age of 54 months are removed from the system after 54 months. The process of month-age transfer for the pig herd is depicted in Figure 1.
Figure 1.
The month-age transfer of pigs.
Subsequently, the relationship between different categories of pigs and the recursive model for month-age transfer can be obtained. The mathematical description is as follows.
When the monthly pig count is based on the month, specifically the quantity of sows that are full r month age but younger than (r + 1) month age at time t is denoted as (t), and the reproductive interval for BSs is defined as [r1, r2]. Then, the minimum age r1 and maximum age r2 of BSs are typically 12 and 54 months, respectively.
First, the quantity of piglets at 1 month age and less than 2 month age z1(t) can be calculated using Equations (1)–(3).
where A represents the average number of piglets per litter produced by breeding sows; λ(t) represents the average number of litters per sow in the monthly breeding interval of t month; and hr(t) denotes the reproductive mode of BS at the r-month-age at the t-th month. z0(t) is the quantity of piglets aged below one month at the t-th month NP. D00 represents the sum of mortality and elimination rate (SMER) of NPs, and D0 represents the SMER for piglets younger than one month. The specific derivation process of Equations (1)–(3) can be found in Appendix A.
Second, the quantitative relationship between sows, boars, and hogs is as follows:
where (t) denotes the quantity of 1-month-age sows retained in NP; (t) denotes the quantity of 1-month-age boars retained in NP; (t) denotes the quantity of 1-month-age hogs retained in NP; and k represents the ratio coefficient of sows and boars retained in NP at the 1-month-age.
Finally, according to the age-recursive population model of the discrete population prediction model [14], the age-recursive pig-herd model is constructed as follows:
where (t + 1), (t + 1), and (t + 1), respectively, represent the quantity of sows, boars, and hogs at (r + 1) month age in the (t + 1)-th month. (t), (t), and (t), respectively, represent the quantity of sows, boars, and hogs at r month age in the t-th month. , , and , respectively, represent the SMER of r-month-age sows, boars, and hogs. r2, r3, and r4, respectively, represent the maximum age of sows, boars, and hogs. These formulas represent the quantity status of sows, boars, and hogs at r + 1 months of age after death and elimination from r months of age, namely, the process of month-age transfer.
Based on the age-recursive pig-herd model, accurately calculating the quantity of NRS emerges as the core challenge for pork-production prediction. After determining the quantity of NRS, the quantity of monthly BS is determined by applying the principle of month-age transfer. Finally, the monthly and annual pork productions are predicted using the formula for pig status. We will provide a method for determining the quantity of NRS in Section 2.1.2.
2.1.2. Method for Determining the Quantity of NRS
Given the limited availability of statistical data on the quantity of NRS, it is crucial to design a scientific and effective method for accurately determining this quantity to ensure precise pork-production prediction.
- Model Assumptions
According to the fundamental principles of market economics, the correlation between the quantity of NRSs and pork prices exhibits nonlinear characteristics. Therefore, the following hypothesis is posited:
Hypothesis:
Pork prices and the quantity of NRSs have a nonlinear relationship.
Subsequently, the relationship model between them can be expressed in Equation (10).
In Equation (10), for the t-th month of the T-th year, (t,T) is the quantity of NRSs, and P(t,T) is the pork price. a, b, c, and d are the model parameters, and the data on pork prices are available.
The nonlinear relationship between the quantity of NRSs and pork prices is consistent with the actual production situation, and its rationality and reasons are as follows.
(1) Nonlinear characteristics of market supply and demand.
Rapid response during the initial price increase: High pork prices allow farmers to reduce the payback period, and therefore, the replacement rate is higher. The growth in this stage may be relatively rapid, showing a quadratic acceleration characteristic.
Slow growth caused by market saturation: As the quantity of NRS increases, the market gradually approaches saturation. Even if pork prices continue to rise, the growth rate of NRS will slow down, as further increases in production may lead to oversupply.
Reverse adjustment under supersaturation: Pork prices do not continuously rise, and they actually decline after reaching a certain threshold. Low pork prices dampen people’s motivation to engage in pig farming, resulting in a reduction in the quantity of NRSs. This reverse adjustment is unique to the cubic term and reflects the nonlinear response of the market in an oversaturated state.
(2) Nonlinear changes in consumer behavior.
The rise in pork prices may lead to nonlinear changes in consumer behavior, such as when the price exceeds a certain threshold. Consumers may significantly reduce their pork consumption and instead seek alternatives, which will also affect the number of NRSs.
Consequently, using a cubic polynomial to describe the relationship between the quantity of NRS and pork prices can better capture the complexity of the real market, consider nonlinear characteristics such as consumer behavior, and provide more effective decision support for pig farmers and policymakers;
- 2.
- Parameter estimation method
Given that the statistical data include fundamental information on pork prices and BSs at the end of each year, a mathematical model for parameter estimation is formulated, with the objective function being the minimum sum of squared errors between the actual and predicted values of BSs over the years. By optimizing this objective function, the unknown parameters in Equation (10) are determined.
According to the principle of month-age transfer of pigs, the BSs at the end of the (T + 1)-th year are divided into three components. The first component consists of the BSs remaining from the previous year after accounting for one year of mortality and elimination. The second component corresponds to the NRSs from February to December of the T-th year that transition into breeding sows. The third component represents the NRSs from the first month of the (T + 1)-th year that develop into breeding sows. Therefore, the formula for the quantity of BSs at the end of the (T + 1)-th year is derived as
where is predicted values of BSs at the end of the (T + 1)-th year, ZN(T + 1) is the actual value of BSs at the end of the (T + 1)-th year, ZN(T) represents the quantity of BSs at the end of the T-th year, is the total yearly SMER of breeding sows, and represents the SMER of r-month-age sows.
Let Q(T + 1) be the error between the actual value and the predicted value and substitute Equation (10) into Equation (11). We can obtain a new model to solve the unknown parameters. The model aims to minimize the sum of squared errors between the actual and predicted values of the breeding sows, as illustrated in Equation (12).
Equation (12) is an unconstrained nonlinear optimization problem with many parameters and a complex solution. This paper presents a modified self-organizing migrating algorithm (MSOMA) for solving the parameters in Equation (12);
- 3.
- The solving method of parameter estimation model
In 2020, Diep et al. [28] introduced SOMA T3A, which achieves excellent performance in solving 100-dimensional problems. However, SOMA T3A still faces challenges, such as unreasonable parameter settings and slow convergence speed. To address these shortcomings of SOMA T3A, we propose a modified self-organized migrating algorithm (MSOMA), based on SOMA T3A. MSOMA mainly consists of four steps, namely initialization, self-organizing, combined migrating, and Gaussian jumping for the optimal individual, as shown in Figure 2. The flowchart of MSOMA is as follows:
Figure 2.
The flowchart of MSOMA.
MSOMA adopts a random initialization method [16], and its main operations are as follows.
- (1)
- Self-organizing
The way of organization determines which individuals are migrants and which individuals become possible leaders in the population. MSOMA follows the organization approach of SOMA T3A, namely, randomly choosing a subset of m individuals from the population, and then selecting the top n individuals from that subset to be migrants. The method employs a random selection process to choose a leader for each migrant. It begins by randomly selecting a small group of k individuals from the population, and subsequently designates the individual with the highest performance as the leader. The self-organizing process is depicted in Figure 3.
Figure 3.
The process of self-organizing.
The self-organizing process efficiently maintains a balance between the algorithm’s exploration and exploitation capabilities. For large values of m, n, and k, the algorithm focuses on searching in the vicinity of the current best solution, leading to local exploitation. Conversely, when their values are small, the algorithm emphasizes exploration;
- (2)
- Combined migration strategy.
In SOMA T3A, a single migration strategy is utilized, which reduces the likelihood of being stuck in the local optima. However, it results in slow convergence. Additionally, the migration step (Step) and the perturbation parameter (PRT) in SOMA T3A are dynamically adaptive, which improves the algorithm’s performance compared to fixed parameters. To maintain a proper balance between global and local search capabilities, a combined migration strategy is proposed, and adaptive adjustment methods for Step and PRT are given. The combined migration strategy consists of two migration strategies, and the two mutation strategies each have a 50% probability of being executed.
The first migration strategy is an improved form of the SOMA T3A migration strategy, and its migrating method is shown in Equation (13).
where is the individual after migration and is the individual to be migrated. xleader is the optimal individual selected from k individuals.
The value of Step determines the distance traveled by each migrating individual. To account for both exploration and exploitation throughout the iteration process, a calculation formula for adaptive dynamic adjustment of the Step value is proposed below:
where rand is a random number evenly distributed between [0, 1], runtime refers to the current runtime of a program’s execution, and Maxruntime is the maximum allowable duration for the program to run. The Step value decreases as the running time increases. In the initial phases of the iterative process, the algorithm exhibits a robust capacity for exploration, as evidenced by the substantial Step value. On the contrary, as the iteration progresses, the Step value diminishes, signifying a heightened capacity for exploitation.
PRTVector is a perturbation vector that determines the moving direction of the migrating individual with each movement. The value method for each dimension in PRTVector is as follows:
where the PRT value determines the value of each component in the disturbance vector PRTVector. In the initial iteration, the PRT value is relatively small, resulting in a high probability for each component of PRTVector to take the value zero, thereby enhancing the algorithm’s capability to search globally. As the iteration progresses, the PRT value becomes large, increasing the likelihood for each component in the PRTVector to take the value of one, thereby strengthening the algorithm’s local search ability. Hence, the improved method for calculating the PRT value attains a more optimal equilibrium between the algorithm’s exploration and exploitation capabilities.
The second migration strategy cancels the limitation of perturbation vector PRTVector on the migration direction and exhibits a relatively balanced capability for both global and local searches. The migration strategy is presented in Equation (16).
where is the individual after migration and is the individual to be migrated. xGbest is the global optimal individual in the population, and xj and xk are individuals selected from the population that are different from . D is the dimension of variables.
The calculation method of Step is shown in Equation (14). The second component of the migration strategy outlined in Equation (16) relies on the guidance of the optimal individual in the population, which accelerates the convergence speed of the algorithm. The third component demonstrates robust global exploration capabilities and mitigates the probability of the algorithm becoming stuck in local optimal solutions. As a result, the migration strategy maintains a relatively balanced capability for both global and local searches;
- (3)
- Gaussian jumping for the optimal individual
In SOMA T3A, the optimal individual xGbest remains unchanged during the t-th iteration, which easily leads to the algorithm being confined to a local extremum in the early stage of optimization and affects the algorithm’s performance. Therefore, to address this issue, we propose Gaussian jumping for the optimal individual xGbest, which generates 50 new individuals that obey the standard normal distribution near the optimal individual xGbest, as depicted in Equation (17).
where xGbest is the optimal individual in the population, and xnew_Gbest is the individual generated after Gaussian jumping.
The newly generated 50 individuals are compared with the xGbest, and the individual with the smallest fitness value is selected as the optimal individual and participates in the (t + 1)-th iteration. The Gaussian jumping of the optimal individual helps the algorithm escape from local optima and improves the solution quality of the algorithm when performing more detailed fine-tuning.
As an example of minimizing a problem, the pseudo-code of MSOMA is provided in Algorithm 1.
| Algorithm 1: The pseudo-code of MSOMA |
| 1: Start |
| 2: Randomly initialize the population and parameters, and evaluate the fitness function value of the individual; |
| 3: While runtime < Maxruntime do |
| 4: Update the values of Step and PRT with Equations (14) and (15), and generate a random number R between [0, 1]. |
| 5: Select m individuals randomly from the population; |
| 6: Select the best n Migrants out of m individuals; |
| 7: For i = 1to n Migrants |
| 8: Select k individuals randomly from the population; |
| 9: Select the leader from k individuals; |
| 10: If R < 0.5 |
| 11: Perform migrating strategy with Equation (13); |
| 12: else |
| 13: Perform migrating strategy with Equation (16); |
| 14: End |
| 15: Evaluate the fitness value and update the better position of the migrant; |
| 16: End For |
| 17: Perform Gaussian jumping of the optimal individual with Equation (17); |
| 18: End While |
| 19: Output the optimal result; |
| 20: End |
2.1.3. Prediction of RDTs Based on MSOMA-BPNN
To reduce the effects of epidemic-related factors on pork production, the prediction model incorporates RDTs and adjusts the SMER using RDTs to enhance the prediction accuracy.
- Adjustment method based on RDTs
Taking the adjustment of BS at the end of each year as an example, the adjustment method based on RDTs is described as follows.
The relative error between the actual value and the predicted value of BS at the end of each year is used as an RDT, as shown in Equation (18).
where Z(T) is the actual value of BS in the T-th year, is the predicted value of BS in the T-th year, and is the RDT of the T-th year.
The RDT is employed to adjust the SMER of monthly breeding sows. Since the SMER of BSs in each month is the average value, the mortality rate of BSs in the epidemic year is higher compared to the normal year, which easily leads to the high predicted breeding sows. Therefore, the prediction accuracy of the quantity of BSs can be improved by adjusting the sows through the RDT. The specific adjustment methods are outlined as follows.
During an epidemic outbreak, the mortality rate of BSs is high. So the SMER is increased, and the adjustment method is given in Equation (19).
Normal years have a low breeding-sow mortality rate, so we should reduce the SMER. The adjustment method is given in Equation (20).
where is the RDT in the T-th year.
Similarly, in the proposed prediction model, the SMER of hogs and the monthly average litter size of each breeding sow are also adjusted by the method of RDT;
- 2.
- RDTs prediction method using MSOMA-BPNN
Since the influence of the annual RDT on the quantity of pigs is unknown, a quantitative recursive formula cannot be derived. Therefore, the back-propagation neural network (BPNN) can be employed for predicting the RDT, and intelligent optimization algorithms, such as genetic algorithm [29], sparrow search algorithm [30], and improved cuckoo optimization algorithm [31], were used to optimize the weights and thresholds of BPNN to improve prediction accuracy. In this paper, MSOMA is employed to optimize the weights and thresholds of BPNN. For convenience of description, the algorithm for optimizing the weights and thresholds in BPNN with MSOMA is recorded as MSOMA-BPNN, and the MSOMA-BPNN model is used to predict the RDT. The theoretical derivation of BPNN can be referenced in the literature [15,32].
Referring to Equation (18), the value of RDT from the preceding T-year is obtained and subsequently utilized as the sample data for MSOMA-BPNN. The formula utilized to perform normalization on the sample data is:
where is the sample data for the T-th year, denotes the normalized sample data, and are the maximum and minimum values in the sample data, and l1 and l2 are the lower and upper bounds of the data processing interval, usually l1 = −0.8, l2 = 0.8. The normalized sample data, represented as a time series (T = 1, 2, …, n), can be forecasted using BPNN.
The process of using MSOMA-BPNN to predict RDTs is presented in Figure 4.
Figure 4.
The structure of MSOMA-BPNN for the prediction of RDTs.
As can be seen from Figure 4, the process of MSOMA-BPNN predicting RDT is as follows. First, the RDTs of the previous year are calculated according to Equation (18) and used as sample data. Next, the sample data are normalized using Equation (21). Third, the normalized sample data are fitted using MSOMA-BPNN, and the optimal BPNN weights and thresholds can be determined. Finally, the RDTs are predicted using the trained BPNN.
2.1.4. Pork-Production Prediction Model
According to the age-recursive pig-herd model described in Section 2.1.1, the quantity of monthly NRSs can be calculated according to pork prices, and then the quantity of monthly BSs can be determined. Consequently, the initial condition of other categories within the pig herd can be estimated, and finally, the pork production in each month of each year can be obtained. Considering the t-th month as the reference month, the initial states for different categories of pigs at each month-age in the t-th month are outlined in Table 1.
Table 1.
The initial states for different categories of pigs at each month-age in the t-th month.
Table 1.
The initial states for different categories of pigs at each month-age in the t-th month.
| NP | Sows herd |
| (22) | (23) |
| Boars herd | Hogs herd |
| (24) | (25) |
The hogs are all slaughtered at 6 months of age. Assuming that each hog produces c kilograms of meat, the pork production Z(t) in the t-th month is:
Assuming a prediction period of 12 months, since the newly retained sow is a 1-month-age sow, the breeding sow is a sow from 12 months to 54 months old, and the breeding boar is a boar from 12 months to 54 months old. In order to avoid duplicate calculations, the categories of the pig-herd system are classified as newborn piglets, sows, boars, and hogs. The newborn piglet is 1 month age, the sow and boar are within the age range of [1, 54], and the hog is within the age range of [1, 6]. According to the calculation method in references [33,34], using a three-dimensional matrix to represent the dimensions of each category (animal category, month age, time horizon), the dimension of the pig-herd model is (newborn piglets, 1, 12) + (sows, 54, 12) + (boars, 54, 12) + (hogs, 54, 12) = 1 × 12 + 54 × 12 + 54 × 12 + 6 × 12 = 1380.
So far, the formulas for the initial state of pigs have been derived based on the principle of the discrete population model and the perspective of system engineering.
2.2. Prediction Model of Pork Import and Export Volumes
China is a major global pork importer, and the import and export volumes of pork significantly influence the pork supply. Hence, predicting the pork supply necessitates considering pork imports and exports. The calculation method for annual pork production is shown in Equation (27).
Pork supply = Pork production + Pork import − Pork export
Taking the pork import and export volume over the years as a time series, the proposed MSOMA-BPNN can predict future pork import and export volumes. The annual pork supply can be determined by calculating the predicted pork production and pork import and pork export volumes according to Equation (27). Thus far, we have completed the prediction of pork supply.
2.3. Determination of Related Parameters
To predict the pork supply, we require specific parameters and fundamental data. Some parameters are indirectly determined through expert research and the relevant literature, while others are directly obtained by consulting statistical data. The determination methods for the parameters obtained indirectly are as follows.
- The SMER of pigs
Based on empirical evidence and expert opinion, the annual SMER of boars and sows is 40%. The SMER of pigs at each month age in the herd system is presented in Appendix B Table A1, Table A2 and Table A3. Note that the SMER provided by statistical data is the average level of normal years, whereas the mortality rate of live pigs increases during epidemic years. Consequently, the prediction model for pork supply employs the RDTs to adjust the SMER of live pigs, thereby enhancing prediction accuracy;
- 2.
- Average monthly litter size of each breeding sow
After reviewing the relevant literature and consulting experts [35,36,37], the range of monthly average litter size for sows is determined to be [1.6, 2.5]. In this paper, based on the monthly average litter size of each breeding sow (1.68), the quantity of SH is adjusted according to the RDTs so as to improve the quality of pork supply prediction;
- 3.
- The retention ratio of sows and boars
Expert consultation and data generally recommend that the ideal retention ratio of sows to boars in pig farms is 20:1, denoted as k = 20;
- 4.
- The average pork production of each slaughtered hog
In this paper, the pork production is based on the weight after slaughter. The calculation method for the average pork yield per slaughtered hog is shown in Equation (28).
where the annual pork production and the quantity of SHs can be obtained in the China Statistical Yearbook.
Average pork production of each slaughtered hog = pork production/SH
The parameters obtained directly are as follows. The statistical data on the BS stock at the end of each year, monthly pork prices, and average pork production of each SH in China are presented in Appendix B Table A4, Table A5 and Table A6 by consulting the China Statistical Yearbook [38] and the China Animal Husbandry and Veterinary Yearbook [39]. By referring to the General Administration of Customs of the People’s Republic of China [40], China’s pork import and export volumes from 2007 to 2022 are obtained, as shown in Appendix B Table A7.
2.4. The Steps of Pork Supply Prediction
The aforementioned analysis identifies the specific steps for pork supply prediction, and Figure 5 illustrates the framework.
Figure 5.
The framework of proposed pork supply prediction model.
- Input the relevant parameters into the model;
- The parameters a, b, c, and d in Equation (12) are solved by using the proposed MSOMA, and the calculation formula for the quantity of NRS can be obtained;
- Substitute the monthly pork prices into Equation (10) to obtain the quantity of NRSs in each year;
- According to the month-age transfer principle of sows in Equation (23), the quantity of monthly BSs for each year is calculated, and the RDT is predicted by the MSOMA-BPNN algorithm to adjust the quantity of monthly BS for each year;
- Determine the initial month and use it as a benchmark to estimate the quantity of monthly NP of each year using Equation (22);
- According to the quantity of monthly NRSs and the retention ratio of sows and boars, the quantity of monthly newly retained piglets can be obtained;
- Calculate the quantity of monthly SH for each year using the formula derived from Equation (25) and employ the MSOMA-BPNN algorithm to predict the RDT. Based on the RDT, adjust the SMER of hogs, as well as the monthly litter size of each breeding sow, to obtain the final number of SHs in each month;
- The historical data of the average pork production of each hog in each year is used as a time series, and MSOMA-BPNN is used to predict the average meat production of each hog. According to Equation (26), pork production can be obtained;
- In light of the import and export volumes of pork over the years, the future import and export volumes of pork are predicted using the proposed MSOMA-BPNN. On this basis, the future pork supply is predicted according to Equation (27).
3. Pork Supply Prediction for China
The effectiveness of the proposed pork supply prediction model is verified by predicting the pork supply in China, followed by a comprehensive and in-depth discussion and analysis of the results. Based on the prediction results, corresponding suggestions are provided.
3.1. Experiment Settings
The computational analyses were executed on a desktop computer equipped with a 2.40 GHz Core i5-1135G7 processor and 16 GB of RAM. MATLAB R2022a was employed for both execution and programming. In this paper, the relevant parameters of MSOMA are set to N = 1500, m = 50, n = 4, k = 100, and Njumps = 100. In MSOMA-BPNN, the mean square error (MSE) serves as the loss function, while the bipolar Sigmoid function is the activation function. In addition, we improve data quality and consistency by normalizing the data and reduce the possibility of overfitting in MSOMA-BPNN by adjusting the number of neurons and network layers in BPNN. The network is organized in a 3-5-1 configuration. When the algorithm reaches the maximum running duration, it ends the iteration. MSOMA-BPNN is executed 30 times, and the optimal result is output.
Relative error (RE) and mean relative error (MRE) were used as evaluation metrics to assess the performance of the prediction model [15]. The smaller the values of RE and MRE, the better the prediction performance.
3.2. Pork-Production Prediction for China
3.2.1. Estimation for the Quantity of NRS
The data for the quantity of BS and pork prices from 2005 to 2022 included in Appendix B Table A4 and Table A5 were substituted into Equation (12). The proposed MSOMA was utilized to solve the model parameters in Equation (12), so we can estimate the relationship between the quantity of NRS and pork prices.
The optimal parameters obtained by MSOMA are a = 0.0065934, b = −0.6354132, c = 17.9452315, and d = 57.4439554. Therefore, the relationship model between the quantity of NRS and pork prices is:
By substituting the data in Appendix B Table A4 and Table A5 into Equation (11), the predicted value of BS at the end of each year can be obtained. The values of RE and MRE between the actual value and predicted value were calculated, as presented in Table 2.
Table 2.
Prediction results of the quantity of BS at the end of each year from 2006 to 2022 in China.
In Table 2, the value of MRE is relatively large, with a value of 0.0613241. Table 2 reveals that the ASF in 2018 and the COVID-19 epidemic in 2020 led to large fluctuations in pork production. Since the impact of the epidemic on the quantity of pigs was not considered, the predicted pork production exhibited a significant relative error. In light of the fluctuations in the SMER of pigs during the epidemic year, RDTs were implemented to mitigate the epidemic’s effect on the accuracy of predictions.
First, the RE of the previous year in Table 2 was utilized as RDTs, and the proposed MSOMA-BPNN was used to predict the time series. Because the network structure of MSOMA-BPNN is 3-5-1, the predicted RDT is from 2009 to 2022. Table 3 displays the predicted results of BS at the end of each year and RDTs.
Table 3.
Prediction results for the quantity of BSs at the end of the year considering the principle of month-age transfer of pigs and the RDTs.
Table 3 reveals a close alignment between the predicted and statistical values of breeding sows, with a minimal MRE of 0.0162273 and a small deviation. This approach takes into account both the month-age transfer principle and the effect of epidemic variables on the quantity of breeding sows. As a result, the proposed approach has a high degree of accuracy. This strategy yields an effective model of the relationship between the quantity of NRS and pork prices. It is both feasible and reliable to predict the quantity of BS and pork production at the end of each year, guaranteeing the high reliability of the obtained results.
3.2.2. Prediction for the Monthly BSs
Following the prediction steps for pork supply, the quantity of monthly BSs and SHs for each year was calculated. Subsequently, the pork production was determined.
Substituting the pork prices in Appendix B Table A5 into Equation (29), we can obtain the quantity of NRS, as provided in Table 4.
Table 4.
The quantity of NRSs in China from January 2005 to December 2022 (Unit: 10,000 heads).
Subsequently, the quantity of monthly NRS from January 2005 to January 2021 in Table 4 was substituted into Equation (23), and the quantity of BSs of different months in the same month was summed up to obtain the quantity of BSs in each month from June 2009 to December 2022. Note that the NRSs in January 2005 will reach a 54-month age in June 2009, while those from January 2021 will reach a 12-month age in December 2021 and become breeding sows. This indicates that June 2009 is the earliest time point for calculating the quantity of breeding sows. Among them, the 54-month-age BSs are directly excluded due to their excessive age and weakened breeding function. The quantity of BSs at the end of the year was determined by the quantity of BSs in December of that year. The prediction results for the quantity of BSs in China from June 2009 to December 2022 are displayed in Table 5.
Table 5.
Prediction results for BS in China from June 2009 to December 2022 (Unit: 10,000 heads).
Considering the impact of the epidemic on the SMER of pigs, the RE values in Table 5 served as RDTs. According to the adjustment method of the SMER in Equations (19) and (20), the quantity of BSs in China from June 2009 to December 2022 was adjusted. Table 6 lists the quantity of monthly BSs after adjustment.
Table 6.
Prediction results for BS in China from June 2009 to December 2022 after adjustment (Unit: 10,000 heads).
It can be observed from Table 6 that the RE value of the quantity of BSs at the end of the year after adjustment is small, and the MRE value is 0.0475918, indicating the effectiveness of the prediction model for the quantity of monthly sows after considering the RDT. On this basis, improving the prediction accuracy of pork production in the next month is possible.
3.2.3. The Results of Pork Production Prediction
Following the steps for predicting pork production, the quantity of monthly NPs was calculated using Equation (22), and then the quantity of newly retained hogs and monthly SHs can be calculated using Equation (25). The results are presented in Table 7.
Table 7.
Prediction results for SHs in China from 2010 to 2022 (Unit: 10,000 heads).
Table 7 shows a small deviation, with an MRE value of 0.0642450 between the predicted and actual total annual SHs. However, due to the impact of epidemics, the predicted number of SHs is quite different from the actual value. As the epidemic’s impact weakens, pig production is expected to gradually return to normal in 2021. Consequently, the SMER of hogs will decrease, leading to an increase in the quantity of SHs. Therefore, the relative error in Table 7 was employed as an RDT to adjust the SMER of hogs. The adjusted number of monthly SHs is provided in Table 8.
Table 8.
Prediction results for SHs from 2010 to 2022 in China after adjusting the SMER of pigs (Unit: 10,000 heads).
From Table 8, it can be concluded that, after adjusting the SMER, the MRE value of the annual SHs is 0.054788. However, the prediction accuracy remains unsatisfactory. Therefore, the RE values in Table 8 were used as an RDT to adjust the average monthly litter size of each breeding sow in each year and then adjust the quantity of hog stocks in each month of each year, as shown in Table 9.
Table 9.
Prediction results for SHs in China from 2010 to 2022 after adjusting the monthly average litter size of BS (Unit: 10,000 heads).
According to Table 9, adjusting the monthly average litter size of each breeding sow significantly improved the prediction accuracy for the annual number of SHs, as evidenced by the MRE value between the predicted and actual values of 0.0050361, with minimal deviation. This improvement is attributed to the consideration of the impact of the epidemic on pig mortality and elimination rates, in addition to the average monthly litter size of each breeding sow. Thus, the proposed prediction model is highly reliable.
After predicting the quantity of SHs in Table 9, the monthly pork production and annual total pork production were calculated using Equation (26), as presented in Table 10. The MRE value between the predicted annual total pork production and the actual value of each year is 0.0050361, indicating a small deviation. This result affirms the scientific and effective nature of the proposed pork-production prediction model.
Table 10.
China’s pork-production prediction from 2010 to 2022 (Unit: 10,000 tons).
So far, the prediction of pork production in China from 2010 to 2022 has been successfully accomplished. The proposed prediction method, which considers the principle of pig month-age transfer and RDTs, provides better guidance for pig breeding and establishes a foundation for effectively regulating the balance of pork supply and demand.
3.2.4. Prediction of Pork Import and Export Volumes
The import and export volumes of pork in each year were predicted using MSOMA-BPNN according to the statistical data in Appendix B Table A7. With a network structure of 3-5-1 for the MSOMA-BPNN model, the predicted pork import and export volume spans from 2010 to 2022, and the corresponding results are presented in Table 11.
Table 11.
Prediction results of China’s pork import and export volumes (Unit: 10,000 tons).
From Table 11, it is evident that the MSOMA-BPNN prediction model performs well in forecasting pork import and export volumes. The MRE values in Table 11 are 7.03 × 10−6 and 1.82 × 10−15, respectively, and the deviation is very small, indicating that MSOMA-BPNN achieves a satisfactory prediction effect. With the trained MSOMA-BPNN model, the import and export volumes of pork in China for 2023 were predicted with high reliability.
3.2.5. Pork Supply Prediction
According to Equation (27), the prediction results of China’s pork supply from 2010 to 2022 are presented in Table 12.
Table 12.
Prediction of China’s pork supply from 2010 to 2022 (Unit: 10,000 tons).
Table 12 shows that the MRE value between the pork supply obtained by the proposed pork supply prediction model and the actual value is 0.0047224, indicating a small deviation and demonstrating the effectiveness of the pork supply prediction model. The proposed model is highly reliable for predicting China’s future pork supply. Expanding on this achievement, this model was implemented to predict the pork supply in China for the year 2023.
3.3. Pork-Production Prediction for China in 2023
The pork supply prediction model was employed to predict the pork supply in China in 2023.
As the 1-month-age hogs require six months to grow into SHs, those retained from July to December 2022 influence pork production from January to June 2023, while those retained from January to June 2023 influence pork production from July to December 2023. To predict pork production in 2023, it is necessary to calculate the quantity of NRSs, breeding sows, newly retained piglets, and SHs from July 2022 to June 2023. First, the pork prices from Appendix B Table A5 for January to June 2023 were substituted into Equation (29) to obtain the quantity of NRSs during that period. Second, the quantity of monthly BSs was calculated using Equation (23), with the results presented in Table 13. Given the impact of factors like disease outbreaks on breeding-sow numbers, an RDT was added to adjust the monthly breeding-sow quantities. The RE values in Table 5 were used as the time series of RDT. The RDT in 2023 was predicted by MSOMA-BPNN, and the predicted result is −0.1837956. Then, the SMER of the monthly BSs was adjusted, with the resulting adjusted breeding-sow numbers presented in Table 13.
Table 13.
The quantity of NRSs and BSs in China (Unit: 10,000 heads).
According to Equation (25) and the data in Table 13, the quantity of monthly SHs from January 2023 to December 2023 is presented in the second column of Table 14. Similarly, the RE values in Table 7 were used as the time series of RDT, and the RDT of hogs in 2023 was predicted by MSOMA-BPNN. The predicted RDT for hogs is 0.0504490, which is used to adjust the mortality and elimination rate of hogs. The resulting adjusted number of hogs is presented in the third column of Table 14. Since the average monthly litter size of each breeding sow affects the quantity of SHs, the RE values in Table 8 were used as a time series to predict the RDT of the average monthly litter size of each breeding sow in 2023. The predicted result is 0.1125191. According to the RDT, the quantity of SHs was adjusted, with the results presented in the fourth column of Table 14. Finally, the monthly pork supply was calculated based on the quantity of SH. According to the average pork production of each slaughtered hog in Appendix B Table A6, the average pork production of each slaughtered hog in 2023 was predicted, and the predicted result was 0.0793997. Equation (26) was then employed to calculate the pork production for each month in 2023, with a total annual pork production of 5421.13 thousand tons. So far, the prediction of pork production in 2023 has been completed.
Table 14.
Prediction results for the quantity of SHs and pork production.
Finally, according to China’s import and export pork volumes in Appendix B Table A7, MSOMA-BPNN was used to predict the import and export volume of pork in 2023. The predicted import volume of pork is 192.81 thousand tons, and the export volume is 2.13 thousand tons. Based on Equation (27), China’s pork supply in 2023 is 5611.81 thousand tons.
3.4. Managerial Implications
This work also provides valuable implications for decision makers.
- A novel prediction model for pork supply was proposed. The model not only considers the principle of month-age transfer of pigs but also takes into account epidemic factors and the import/export volumes of pork. The model demonstrates high prediction quality, reliability, and an ideal prediction effect for pork supply in China. The quantity status of various types of pigs in this model can offer a scientific foundation for farmers to develop appropriate breeding strategies, production plans, and related government policies to achieve a balance between pork supply and demand;
- The proposed pork supply prediction model incorporates the impact of epidemic factors on the quantity of live pigs and adjusts the SMER of live pigs using RDTs. The RDTs have no certain rules to follow. Therefore, integrating RDTs into the pork supply prediction model can greatly enhance the accuracy of the predictions, offering a novel approach to forecasting pork supply. Furthermore, the mortality and elimination rate of pigs at various growth stages significantly affect pork production. In order to enhance the survival rate of pigs, it is recommended that relevant authorities provide comprehensive training on scientific pig-breeding knowledge and skills for pig breeders. This will facilitate the adoption of advanced breeding techniques, thereby reducing pig mortality and elimination rates during growth, as well as minimizing losses resulting from sudden epidemics. Ultimately, this will contribute to the overall advancement of the pig industry. By analyzing the fluctuations in the predicted value of RDTs, the government can implement appropriate control measures and emergency-management protocols to mitigate the impact of epidemic factors on the pig sector;
- Seeking the “alternate to port” strategy is also a promising strategy to improve the pork supply system. Since the import and export volume of pork has a significant impact on the total pork supply, decision makers can encourage the diversification of pork import and export by finding “alternate to port”, for example, finding other diverse import sources to adjust the pork supply, optimizing the logistics network, flexibly adjusting the resource allocation of different ports or supply points to reduce costs, utilizing blockchain technology to improve the transparency and efficiency of the pork supply chain, tax reduction, subsidies, simplifying import and export procedures, etc.;
- A refined version of MSOMA was suggested to address the model parameters and enhance the optimization of the weights and thresholds of BPNN, hence enhancing the accuracy of the predictions. Managers can apply this algorithm to optimize and predict similar large-scale and complex problems. Additionally, managers can customize different meta-heuristic algorithms based on their specific requirements, enhancing the adaptability and quality of the algorithm for solving similar problems.
The managerial insights obtained in this work not only furnish policymakers and pig farms in China with practical guidelines but also offer suggestions for stakeholders in other epidemic-stricken nations.
4. Conclusions
This work presents a quantitative forecast model for pork supply based on MSOMA, which simultaneously incorporates the concept of month-age transfer, epidemic variables, and the impact of the pork import and export volume. First, the recursive model of the pig-herd system was constructed and derived. To tackle the fundamental concern of ascertaining the quantity of monthly NRSs, an innovative approach utilizing MSOMA was presented. Secondly, the epidemic factor was incorporated into the pork-production prediction model as RDTs. The RDTs adjustment method for pork-production prediction was provided, and MSOMA-BPNN was introduced to predict the RDTs. Third, considering the pork import and export volumes, the MSOMA-BPNN model was employed to predict the pork import and export volumes. The pork supply was then predicted according to the predicted pork production and pork import and export volumes. Finally, the proposed model was applied to forecast the pork supply in China. The results demonstrate the high accuracy and effectiveness of the proposed pork supply prediction model. Based on these findings, China’s pork supply in 2023 was predicted, and relevant management suggestions were given.
In future work, it is worthwhile to explore the establishment of a pork supply–demand balance regulation model. Additionally, the optimal combination of MSOMA parameters can be further explored. The proposed MSOMA can be applied to solve other similar problems and can also be tailored for specific problems to enhance the algorithm’s performance.
Author Contributions
H.S.: Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Resources, Software, Validation, Visualization, Writing—original draft, and Writing—review and editing. J.W.: Conceptualization, Formal analysis, Investigation, Methodology, Resources, and Validation. G.X.: Resources, Data curation, Software. Z.T.: Data curation, Visualization, and Software. F.X.: Validation and Visualization. H.D.: Resources, Software, Validation. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the National Social Science Fund of China, grant number 21BGL174.
Institutional Review Board Statement
Not applicable.
Data Availability Statement
Data will be made available on request.
Conflicts of Interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Appendix A
The specific process of deriving the quantity of piglets at 1 month of age and less than 2 months of age z1(t) is given in the following.
When the monthly pig count is based on the month, specifically the quantity of sows that are full r month age but younger than (r + 1) month age at time t is denoted as (t), and the reproductive interval for BS is defined as [r1, r2], then the minimum age r1 and maximum age r2 of BSs are typically 12 and 54 months, respectively. Let fr(t) represent the average number of piglets produced by each breeding sow in a month at the r month age at time t. Fr(t) represents the total quantity of piglets produced by BSs at the r month age at time t. We have the following relationship:
When r transfers from r1 to r2, sum Fr(t) and let
where z00(t) represents the total number of litters produced by all BSs during the breeding interval of r months.
Let
where hr(t) denotes the reproductive mode of BSs at the r month age at the t-th month; λ(t) represents the average number of litters per sow in the monthly breeding interval of t month; and A represents the average number of piglets per litter produced by breeding sows.
So, there is
The quantity of piglets aged below one month at the t-th month NPs z0(t) is
where D00 represents the sum of mortality and elimination rate (SMER) of NPs.
The quantity of piglets at 1 month of age and less than 2 months of age is
where D0 represents the SMER for piglets younger than one month.
Appendix B
Table A1.
The SMER of NPs at different month ages (%).
Table A1.
The SMER of NPs at different month ages (%).
| Month-Age | The SMER |
|---|---|
| 00-month-age | 15.00 |
| 0-month-age | 6.22 |
| 1-month-age | 5 |
Table A2.
The SMER of hogs at different month ages (%).
Table A2.
The SMER of hogs at different month ages (%).
| Month-Age | The SMER |
|---|---|
| 1-month-age | 5.00 |
| 2-month-age | 4.00 |
| 3-month-age | 3.075 |
| 4-month-age | 2.15 |
| 5-month-age | 1.225 |
| 6-month-age | 100 |
Table A3.
The SMER of sows/boars (%).
Table A3.
The SMER of sows/boars (%).
| Month-Age | The SMER | Month Old | The SMER |
|---|---|---|---|
| 1-month-age | 5.00 | 8 | 0.5 |
| 2-month-age | 4.00 | 9 | 1.30 |
| 3-month-age | 3.08 | 10 | 1.30 |
| 4-month-age | 2.15 | 11 | 1.30 |
| 5-month-age | 1.23 | 12–53 | 1.75 |
| 6-month-age | 1 | 54 | 100 |
| 7-month-age | 0.8 |
Table A4.
The quantity of BS in China from 2005 to the end of 2022 (Unit: 10,000 heads).
Table A4.
The quantity of BS in China from 2005 to the end of 2022 (Unit: 10,000 heads).
| Year | The Quantity of Breeding Sows | Year | The Quantity of Breeding Sows |
|---|---|---|---|
| 2005 | 4892.96 | 2014 | 4962.5 |
| 2006 | 4700 | 2015 | 4693 |
| 2007 | 4233.8 | 2016 | 4456.2 |
| 2008 | 4878.8 | 2017 | 4471.5 |
| 2009 | 4957.7 | 2018 | 4261 |
| 2010 | 4854.86 | 2019 | 3080.5 |
| 2011 | 4911.58 | 2020 | 4161.3 |
| 2012 | 5043.2 | 2021 | 4328.7 |
| 2013 | 5132.3 | 2022 | 4390 |
Table A5.
Monthly pork prices in China from 2005 to 2023 (Unit: CNY/kg).
Table A5.
Monthly pork prices in China from 2005 to 2023 (Unit: CNY/kg).
| Year | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sept | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 | 14.14 | 14.33 | 13.95 | 13.58 | 13.27 | 13.15 | 13.07 | 12.94 | 13 | 12.34 | 11.87 | 11.95 |
| 2006 | 12.43 | 12.18 | 11.66 | 11.13 | 10.71 | 10.58 | 11.06 | 12.01 | 12.82 | 12.99 | 13.35 | 14.4 |
| 2007 | 14.91 | 14.97 | 14.5 | 14.39 | 15.86 | 17.74 | 20.77 | 22.95 | 22.01 | 21.15 | 22.35 | 24.05 |
| 2008 | 25.53 | 26.07 | 25.68 | 25.68 | 24.7 | 24.09 | 23.57 | 23.18 | 22.58 | 20.85 | 19.45 | 20.34 |
| 2009 | 21.25 | 20.62 | 19.3 | 17.6 | 15.68 | 15.46 | 16.27 | 17.94 | 18.97 | 18.71 | 18.47 | 19.11 |
| 2010 | 19.31 | 18.67 | 17.32 | 16.21 | 16.09 | 16.04 | 17.54 | 19.3 | 20.11 | 20.42 | 21.33 | 21.94 |
| 2011 | 22.17 | 22.97 | 23.09 | 23.39 | 23.97 | 26.71 | 29.31 | 29.82 | 30.35 | 29.78 | 27.94 | 27.17 |
| 2012 | 27.83 | 27.36 | 25.79 | 24.36 | 23.31 | 22.78 | 22.61 | 22.94 | 23.8 | 23.92 | 23.76 | 24.82 |
| 2013 | 26.43 | 26.32 | 23.98 | 22.03 | 21.48 | 22.81 | 23.43 | 24.72 | 25.39 | 25.24 | 25.07 | 25.22 |
| 2014 | 24.37 | 22.98 | 21.49 | 19.7 | 20.86 | 21.69 | 21.91 | 23.23 | 23.9 | 23.6 | 23.17 | 22.88 |
| 2015 | 22.37 | 22.02 | 21.44 | 21.54 | 22.33 | 23.13 | 25.44 | 27.96 | 28.3 | 27.54 | 26.7 | 26.73 |
| 2016 | 27.66 | 28.86 | 28.97 | 30.2 | 30.97 | 31.29 | 30.24 | 29.7 | 29.6 | 28.42 | 27.93 | 28.21 |
| 2017 | 28.95 | 28.57 | 27.41 | 26.59 | 25.23 | 24.11 | 24 | 24.38 | 24.92 | 24.77 | 24.55 | 25.11 |
| 2018 | 25.46 | 24.98 | 22.63 | 20.78 | 19.52 | 19.83 | 20.4 | 21.96 | 23.24 | 23.55 | 23.52 | 23.69 |
| 2019 | 23.16 | 22.55 | 23.61 | 24.58 | 24.71 | 25.62 | 28.04 | 33.95 | 42 | 50.49 | 54.91 | 51.09 |
| 2020 | 53.8 | 58.89 | 57.23 | 52.96 | 47.63 | 47.88 | 53.94 | 56.03 | 54.79 | 49.91 | 46.3 | 49.63 |
| 2021 | 53.63 | 50.89 | 45.77 | 39.54 | 33.35 | 27.01 | 26.19 | 25.43 | 23.24 | 22.4 | 27.45 | 28.41 |
| 2022 | 26.74 | 25.27 | 22.96 | 22.91 | 24.96 | 26.55 | 33.52 | 33.88 | 35.83 | 39.69 | 39.83 | 35.92 |
| 2023 | 29.80 | 27.11 | 26.59 | 24.82 | 24.32 | 23.85 |
Table A6.
Average pork production of each slaughtered hog in China.
Table A6.
Average pork production of each slaughtered hog in China.
| Year | Pork Production (Unit: 10,000 Tons) | Slaughtered-Hog Volume (Unit: 10,000 Heads) | Average Pork Production of Each Slaughtered Hog (Unit: Tons/Head) |
|---|---|---|---|
| 2005 | 5010.61 | 66098.6 | 0.0758051 |
| 2006 | 4650.45 | 61207.26 | 0.0759787 |
| 2007 | 4287.82 | 56508.27 | 0.0758795 |
| 2008 | 4620.5 | 61016.6 | 0.0757253 |
| 2009 | 4890.76 | 64538.61 | 0.0757804 |
| 2010 | 5071.24 | 66686.43 | 0.0760461 |
| 2011 | 5053.13 | 66326.1 | 0.0761861 |
| 2012 | 5342.7 | 69789.5 | 0.0765545 |
| 2013 | 5493 | 71557.3 | 0.0767637 |
| 2014 | 5671.4 | 73510.4 | 0.0771510 |
| 2015 | 5486.5 | 70825 | 0.0774656 |
| 2016 | 5299.1 | 70073.9 | 0.0756216 |
| 2017 | 5451.8 | 70202.1 | 0.0776586 |
| 2018 | 5403.7 | 69382.4 | 0.0778829 |
| 2019 | 4255.3 | 54419.2 | 0.0781948 |
| 2020 | 4113.3 | 52704.1 | 0.0780452 |
| 2021 | 5295.9 | 67128 | 0.0788926 |
| 2022 | 5541 | 69995 | 0.0791628 |
Table A7.
China’s pork import and export volumes from 2007 to 2022 (Unit: 10,000 tons).
Table A7.
China’s pork import and export volumes from 2007 to 2022 (Unit: 10,000 tons).
| Year | Import Volume | Export Volume | Year | Import Volume | Export Volume | Year |
|---|---|---|---|---|---|---|
| 2007 | 8.6 | 13.36 | 2015 | 77.75 | 7.15 | 2015 |
| 2008 | 37.33 | 8.22 | 2016 | 162.02 | 4.85 | 2016 |
| 2009 | 13.5 | 7.97 | 2017 | 121.68 | 5.13 | 2017 |
| 2010 | 19.95 | 11.01 | 2018 | 120.1 | 4.18 | 2018 |
| 2011 | 46.77 | 8.07 | 2019 | 210.83 | 2.69 | 2019 |
| 2012 | 52.23 | 6.62 | 2020 | 439 | 1.1 | 2020 |
| 2013 | 58.33 | 7.34 | 2021 | 371.06 | 1.81 | 2021 |
| 2014 | 56.43 | 9.15 | 2022 | 175.79 | 2.74 | 2022 |
Table A8.
The relevant definitions of abbreviations.
Table A8.
The relevant definitions of abbreviations.
| Definition | Abbreviation |
|---|---|
| Newborn piglets | NP |
| Newly retained sows | NRS |
| Breeding sows | BS |
| Breeding boars | BB |
| Slaughtered hogs | SH |
| Modified self-organizing migrating algorithm | MSOMA |
| Back-propagation neural network | BPNN |
| Modified self-organizing migrating algorithm and back-propagation neural network | MSOMA-BPNN |
| Random disturbance term | RDT |
| African swine fever | ASF |
| The sum of mortality and elimination rate | SMER |
| Relative error | RE |
| Mean relative error | MRE |
References
- Pang, J.; Yin, J.; Lu, G.C.; Li, S.M. Supply and Demand Changes, Pig Epidemic Shocks, and Pork Price Fluctuations: An Empirical Study Based on an SVAR Model. Sustainability 2023, 15, 13130. [Google Scholar] [CrossRef]
- Hamulczuk, M.; Stańko, S. Factors affecting changes in prices and farmers’ incomes on the Polish pig market. Probl. Agric. Econ./Zagadnienia Ekon. Rolnej 2014, 4, 135–157. [Google Scholar] [CrossRef]
- Alexakis, C.; Bagnarosa, G.; Dowling, M. Do cointegrated commodities bubble together? The case of hog, corn, and soybean. Financ. Res. Lett. 2017, 23, 96–102. [Google Scholar] [CrossRef]
- Ngarava, S.; Mushunje, A. Pricing Strategies in Pork-based Agribusinesses: Evidence from Zimbabwe. S. Afr. Bus. Rev. 2019, 23, 24. [Google Scholar] [CrossRef]
- Pourmoayed, R.; Nielsen, L.R. Optimizing pig marketing decisions under price fluctuations. Ann. Oper. Res. 2022, 314, 617–644. [Google Scholar] [CrossRef]
- Zhu, H.M.; Xu, R.; Deng, H.Y. A novel STL-based hybrid model for forecasting hog price in China. Comput. Electron. Agr. 2022, 198, 15. [Google Scholar] [CrossRef]
- Xiang, C.L.; Hu, M.L.; Du, Y.; Zheng, R.Z.; Gao, J.L.; Wang, C.; Gu, L.C. Pork price forecasting based on public opinion and policy impact. J. Nonlinear Convex A 2022, 23, 1967–1978. [Google Scholar]
- Sun, D.; Chen, L.; Bu, R. Study on the Volatility of Pork Price in China under the African Swine Fever Epidemic-Based on ARCH Family and BVAR Model. Chin. J. Eng. Math. 2022, 39, 545–558. [Google Scholar]
- Wang, Y.J. Agricultural products price prediction based on improved RBF neural network model. Appl. Artif. Intell. 2023, 37, 22. [Google Scholar] [CrossRef]
- Jensen, H.H.; Johnson, S.R.; Shin, S.H.; Skold, K.D. CARD Livestock Model Documentation: Poultry; Technical Report 88-TR3; Iowa State University: Ames, IA, USA, 1989. [Google Scholar]
- Liang, X.Z.; Liu, X.L.; Yang, F.M. Prediction model on Chinese annual live hog supply and its application. J. Syst. Sci. Complex. 2015, 28, 409–423. [Google Scholar] [CrossRef]
- Wang, F.; Wang, Y.; Sun, T. Research on pork supply quantity prediction model. Heilongjiang Anim. Sci. Vet. Med. 2017, 6, 47–49. [Google Scholar]
- Jeremic, M.; Lovre, K.; Matkovski, B. Serbian Pork Market Analysis. Ekon. Poljopr. 2018, 65, 1449–1460. [Google Scholar]
- Zhang, F.; Wang, F.L. Prediction of pork supply via the calculation of pig population based on population prediction model. Int. J. Agr. Biol. Eng. 2020, 13, 208–217. [Google Scholar] [CrossRef]
- Wang, J.; Zhang, H.; Song, H.; Zhang, P.; Bei, J. Prediction of Pork Supply Based on Improved Mayfly Optimization Algorithm and BP Neural Network. Sustainability 2022, 14, 16559. [Google Scholar] [CrossRef]
- Song, H.H.; Zhang, H.Y.; Yang, J.N.; Wang, J.Q. Forecasting Model for the Number of Breeding Sows Based on Pig’s Months of Age Transfer and Improved Flower Pollination Algorithm-Back Propagation Neural Network. Appl. Intell. 2024, 54, 5826–5858. [Google Scholar] [CrossRef]
- Jiang, R.Y.; Shankaran, R.; Wang, S.Y.; Chao, T. A proportional, integral and derivative differential evolution algorithm for global optimization. Expert. Syst. Appl. 2022, 206, 117669. [Google Scholar] [CrossRef]
- Li, X.L.; Zhu, Y.Y.; Zhao, W.M.; Shi, R.; Wang, Z.J.; Pan, H.F.; Wang, D.G. Machine learning algorithm to predict the in-hospital mortality in critically ill patients with chronic kidney disease. Ren. Fail. 2023, 45, 2212790. [Google Scholar] [CrossRef]
- Sun, K.X.; Zheng, D.B.; Song, H.H.; Cheng, Z.W.; Lang, X.D.; Yuan, W.D.; Wang, J.Q. Hybrid genetic algorithm with variable neighborhood search for flexible job shop scheduling problem in a machining system. Expert. Syst. Appl. 2023, 215, 18. [Google Scholar] [CrossRef]
- Zelinka, I.; Lampinen, J. SOMA–self-organizing migrating algorithm mendel. In Proceedings of the 6th International Conference on Soft Computing, Brno, Czech Republic, 7–9 June 2000; pp. 177–187. [Google Scholar]
- Davendra, D.; Senkerik, R.; Zelinka, I.; Pluhacek, M.; Bialic-Davendra, M. Utilising the chaos-induced discrete self organising migrating algorithm to solve the lot-streaming flowshop scheduling problem with setup time. Soft Comput. 2014, 18, 669–681. [Google Scholar] [CrossRef]
- Lin, Z.Y.; Wang, L.J. Hybrid self-organizing migrating algorithm based on estimation of distribution. In Proceedings of the International Conference on Mechatronics, Electronic, Industrial and Control Engineering; Atlantis Press: Amsterdam, The Netherlands, 2015; pp. 250–254. [Google Scholar] [CrossRef]
- Skanderova, L.; Fabian, T.; Zelinka, I. Self-adapting self-organizing migrating algorithm. Swarm Evol. Comput. 2019, 51, 13. [Google Scholar] [CrossRef]
- Rahman, M.S.; Duary, A.; Shaikh, A.A.; Bhunia, A.K. An application of real coded Self-organizing Migrating Genetic Algorithm on a two-warehouse inventory problem with Type-2 interval valued inventory costs via mean bounds optimization technique. Appl. Soft Comput. 2022, 124, 24. [Google Scholar] [CrossRef]
- Diep, Q.B.; Truong, T.C.; Das, S.; Zelinka, I. Self-Organizing Migrating Algorithm with narrowing search space strategy for robot path planning. Appl. Soft Comput. 2022, 116, 17. [Google Scholar] [CrossRef]
- Cickova, Z.; Brezina, I.; Pekar, J. Solving the Real-life Vehicle Routing Problem with Time Windows Using Self Organizing Migrating Algorithm. Ekon. Cas. 2013, 61, 497–513. [Google Scholar]
- Qi, H.; Niu, C.Y.; Jia, T.; Wang, D.L.; Ruan, L.M. Multiparameter estimation in nonhomogeneous participating slab by using self-organizing migrating algorithms. J. Quant. Spectrosc. Ra 2015, 157, 153–169. [Google Scholar] [CrossRef]
- Diep, Q.B.; Zelinka, I.; Das, S.; Senkerik, R. SOMA T3A for Solving the 100-Digit Challenge. In Swarm, Evolutionary, and Memetic Computing and Fuzzy and Neural Computing; Springer: Cham, Switzerland, 2020. [Google Scholar]
- Lu, M.; Fang, S.; Li, G.; Wang, W.; Tan, X.; Wu, W. Optimization of adsorption performance of cerium-loaded intercalated bentonite by CCD-RSM and GA-BPNN and its application in simultaneous removal of phosphorus and ammonia nitrogen. Chemosphere 2023, 336, 139241. [Google Scholar] [CrossRef]
- Li, M.H.; Gu, Y.L.; Ge, S.K.; Zhang, Y.F.; Mou, C.; Zhu, H.C.; Wei, G.F. Classification and identification of mixed gases based on the combination of semiconductor sensor array with SSA-BP neural network. Meas. Sci. Technol. 2023, 34, 8. [Google Scholar] [CrossRef]
- Chen, Y.X.; Huang, Y.K.; Liu, H.; Liu, Y.S.; Zhang, T. Ultimate bearing capacity prediction method and sensitivity analysis of PBL. Eng. Appl. Artif. Intel. 2023, 123, 19. [Google Scholar] [CrossRef]
- Wang, L.; Zeng, Y.; Chen, T. Back propagation neural network with adaptive differential evolution algorithm for time series forecasting. Expert. Syst. Appl. 2015, 42, 855–863. [Google Scholar] [CrossRef]
- Huirne, R.B.M.; Dijkhuizen, A.A.; Giesen, G.W.J. The economic optimisation of sow replacement decisions by stochastic dynamic programming. J. Agr. Econ. 2010, 39, 426–438. [Google Scholar] [CrossRef]
- Cabrera, V.E.; Vries, A.D.; Hildebrand, P.E. Prediction of Nitrogen Excretion in Dairy Farms Located in North Florida: A Comparison of Three Models. J. Dairy. Sci. 2006, 89, 1830–1841. [Google Scholar] [CrossRef]
- He, Y. The Investigation and Analysis on the Difference of Sow Farrowing Level in a Pig Farm. Master’s Thesis, Hunan Agricultural University, Changsha, China, 2013. [Google Scholar]
- Huang, Y.; Sun, H.; Shu, D. The Effect of Litter Number and Mating Season on Litter Size of Different Breed Pigs. Acta Agric. Univ. Jiangxiensis 2000, 22, 106–109. [Google Scholar]
- Ye, R.; Lv, M.; Li, A.; Yin, A.; Luo, W.; Gu, W. Reproductive performance and correlation regression analysis of different parity sows. Anim. Husb. Vet. Med. 2006, 38, 20–22. [Google Scholar]
- China Statistical Yearbook. Available online: http://www.stats.gov.cn/sj/ndsj/ (accessed on 28 April 2023).
- China Animal Husbandry and Veterinary Yearbook. Available online: https://www.shujuku.org/china-animal-husbandry-and-veterinary-yearbook.html (accessed on 20 May 2023).
- General Administration of Customs of the People’s Republic of China. Available online: http://www.customs.gov.cn (accessed on 1 June 2023).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).