1. Introduction
As the largest livestock breeding country in the world, China’s livestock output has been growing. However, with the growth in living standards, the per capita meat consumption in China continues to increase [
1]. The per capita beef consumption in China increased from 1.5 kg in 2014 to 2.3 kg in 2020, and the per capita mutton consumption also increased from 1.0 kg in 2014 to 1.2 kg in 2020 [
2], so domestic livestock products such as beef and mutton have been unable to meet domestic consumers’ demands [
3]. For example, China is not only the largest mutton producer, but the largest mutton consumer [
4]. Mutton has great potential in the consumption market, and mutton consumption in China will continue to increase in the future [
5,
6], but as shown in
Figure 1 the domestic supply of mutton is insufficient. The main problem of China’s mutton market is how to promote market balance [
7]. The imbalance between supply and demand causes unstable livestock prices and affects the profits of livestock farmers. When the price increases, some farmers will expand their scale of livestock to gain more profits. However, if they increase their scale blindly, it may lead to losses rather than profits [
8]. Obviously, this is due to the inappropriate strategies of farmers. Therefore, our goal was to find the best breeding strategy for farmers and achieve a balance between supply and demand for market stability. The strategy research of breeding mode is a very important topic. With the spread of major animal diseases, some scholars have studied the dynamic model of animal diseases [
9,
10], but its internal mechanism is more complicated, so comprehensive research by means of dynamics and economics is needed.
On the research of optimal breeding scale, Abakumov studied the single-species harvesting model in 1993, established objective functions with no cost and cost to find the optimal scale and got the result of optimal harvesting strategies [
11]. Khaltar extended the cost objective function and the zero-cost optimization model of livestock, added the employment cost and studied the labor recruitment model of cattle farm [
12,
13]. Besides, he determined the structure of optimal impulsive control for optimal processes with impulse control. These articles got the optimal sale rate and breeding scale by using Pontryagin’s maximum principle, but they all ignored the change of price and the effect of price on livestock scale. Pontryagin’s maximum principle is widely used in various practical problems, for example, for the outbreak of the novel coronavirus (COVID-19) that swept across the world [
14,
15]. Pontryagin’s maximum principle was used to study how to control the spread of COVID-19 [
16]. Therefore, in this paper, combined with the dynamic price, we also used Pontryagin’s maximum principle to solve the problem.
When studying single-species models, many domestic and foreign scholars have found that prices cannot be used as the constants in practice and have worked out several forms of prices. Clark and Chen regarded price as a dynamic change of supply; they put forward price algebraic models [
17,
18]. Then, numerous articles [
19,
20,
21,
22] studied those models. However, the price in algebraic form did not conform to the market rules, and market price increases when there is more demand than offer, according to classical economic theory, so according to the effect between demand and supply on prices, Shone put forward a differential price model
where
is the demand function,
is the supply function and
is a positive parameter relative to the speed of varying price [
23]. Combining linear demand functions, nonlinear demand functions and actual supply functions, the authors of [
24,
25,
26,
27,
28,
29,
30] and others have studied various forms of price differential models and conducted a series of dynamics studies and practical applications. We refer to the price model
in [
25], and then consider the interaction between price and breeding quantity in combination with farmers’ behavior, which has not been considered in previous studies.
In this paper, thinking about the interaction between price and breeding quantity, we use mathematical methods to study how to formulate optimal breeding strategies for livestock farmers to achieve maximum profits and balance between supply and demand. Mathematical methods have the potential to analyze the mechanisms of livestock growth and the changing of prices, and can put forward quantitative optimal breeding strategies. The organization of this paper is as follows. In
Section 2, we set up a price model regulated by supply and demand and two livestock models according to the behavior of livestock farmers. In
Section 3, we propose four optimal breeding strategies based on the previously studied models by applying Pontryagin’s maximum principle. The existence of strategies are proved, and two specific examples are given in
Section 4. Finally, in
Section 5, there are some conclusions about breeding strategies.
2. Mathematical Model
In this section, the model without price adjustment and the model with price adjustment are put forward. First, we give the most basic livestock model. Denote
to be the total number of livestock animals on farms at time
t. Since the total number of livestock animals is limited by many factors—breeding environment, breeding feed, breeding technology, etc.—a logistic model should be considered for modeling
N.
where
r is the intrinsic growth rate,
K is the maximum breeding amount of livestock,
is the supply function and
indicates the number of livestock animals put into the market at time
t.
According to economics, when supply and demand are in balance, the price is constant, but when supply and demand are not in balance, the price regulated by supply and demand is changing. It is assumed that the demand function is
. Based on the facts that mutton is non-essential and demand decreases when the price rises,
is a monotonically decreasing function of price and satisfies
, where
D is the maximum demand. In our model,
takes the form of
, where
b is the price adjustment coefficient,
e is the average weight of livestock when it is put on the market and
is the proportional coefficient (see for reference, [
30]). Combining the supply function
, the price model is
In the face of dynamic prices, livestock farmers may not regulate their breeding scale with price, or they may regulate their breeding scale with price by adjusting their own pastures’ productivity or buying and selling young livestock. Therefore, we need to establish the different livestock models based on different behaviors.
2.1. The Model without Price Adjustment
When the price is changing, livestock farmers may not regulate their breeding scale with price, which means that
N is not affected by the price
p. Therefore, the model is
where
is the sale rate of livestock on farms to the market and
is the total number of livestock animals put on the market from the farms. In other words,
is also the supply, so
. The analysis of the system (
3) is as follows. The positively invariant set, the existence of positive equilibrium and stability of equilibrium are given.
Theorem 1. For , the solution of the system is positive and bounded, if the initial conditions of the system are and being non-negative. The positively invariant set and attraction domain of the system are Theorem 2. There are two equilibriums in the system (3): , . The equilibrium B is positive if each parameter of the system satisfies (a) or (b), where - (a)
if ,
- (b)
or if .
Theorem 3. The equilibrium A of the model (3) is unstable, and the equilibrium B is globally asymptotically stable. The proofs of the above theorems are given in
Appendix A. Since the equilibrium
A has no practical significance, our study only focuses on the equilibrium
B in the following.
2.2. The Model with Price Adjustment
When the price changes, livestock farmers will respond in two ways. If livestock farmers regulate their breeding scale by adjusting their own farms’ productivity or buying and selling young livestock, there will be a direct impact on the breeding scale, and this direct effect will be caused by the subjective perceptions of livestock farmers. If the price increases, livestock farmers will expand the breeding scale in order to gain more profits, and if the price decreases, livestock farmers will reduce the breeding scale in order to reduce losses [
8]. This shows that the adjustment of price is proportional to
N, so we express this impact in the form of
, where
is adjustment coefficient of livestock impacted by price and
is the balanced price determined by farms. In
Section 3, we calculate the optimal value of
in order to provide livestock farmers with the optimal breeding strategy. The model is
All parameters of system (
4) have the same meanings as those of system (
3). In the following, the positively invariant set, the existence and stability of positive equilibrium are given.
Theorem 4. The solutions of model (4) with non-negative initial conditions remain non-negative and bounded for all time . The positively invariant set and attraction domain of the system are Theorem 5. There is a positive equilibrium of the system (4), if each parameter of the system satisfies Theorem 6. The equilibrium of the model (4) is locally asymptotically stable. The proofs of the above theorems are given in
Appendix B.
3. Optimal Breeding Strategy
In this section, four optimal breeding strategies under each mode are obtained. One of the breeding strategies is to consider how the livestock scale should be adjusted when the price is constant. When the price changes, the other three strategies are formulated according to the three behaviors of livestock farmers: not adjusting the scale of livestock with the price, adjusting livestock productivity and buying or selling young livestock with the price. Based on previously studied models, and the specific income and expenditure situation, the profit function under each mode is established. The generalized profit function is
According to cost–benefit theory, the profit function is the difference between the benefit and the cost. In breeding, we assume that the main revenue is from the sale of livestock, e is the average weight of livestock put on the market, and the price of an animal is , so the income is . The cost of breeding includes the costs of materials, services, labor and land. We suppose these costs are averaged as C (each animal per unit time). represents other expenses or income. T is the set terminal time, which suggests that our study considers the optimal breeding strategy in the time period 0 to T.
Our goal is to maximum the profit function (
5) and achieve the optimal scale of breeding by regulating the growth and the sale rate of livestock. When livestock farmers adopt different behaviors, the optimal sale rate
, the optimal adjustment rate
, the final balance price
p and the optimal breeding scale
N are obtained by using Pontryagin’s maximum principle. Under the optimal breeding strategy, the supply–demand equilibrium is also reached.
3.1. Optimal Breeding Strategy with Constant Price
Assuming that the price of livestock is constant without being regulated by supply and demand, the optimal breeding strategy is given. Without other expenses or income, so
, the payment function in this time period is:
subject to
Our goal is to find
to maximize the above profit function, namely,
where
U is the control set.
Theorem 7. The optimal control formula is If , the optimal strategy is If , the optimal strategy is to use the maximum sale rate. If , the optimal strategy is not to sell livestock.
Proof. The Pontryagin maximization principle [
31] is used to solve the necessary conditions for optimal breeding results. According to the principle of maximization, solving the optimal control problem is equivalent to solving the problem of maximizing Hamiltonian. The Hamiltonian is constructed as
where
is an adjoint variable, which satisfies
Obviously,
H is linear with respect to the control variable
, and the control is of bang–bang type [
32], so the coefficient of
H with respect to
is defined as
The optimal control solution under uncertainty is discussed as follows. If
,
Make it simultaneous with the equation that the right end of the state equation is equal to 0, and get the optimal breeding scale:
at the same time, the sale rate is
because
, so we get
□
3.2. Optimal Breeding Strategy under the Model without Price Adjustment
In this case, we consider that when the price changes, the livestock farmers do not adjust the scale of livestock with the price, and then formulate the optimal breeding strategy. Since prices fluctuate under the effect of supply and demand, it is necessary to control the sale rate of livestock and control the scale of breeding in order to obtain maximum profit and maintain market stability. Like same profit function (
6), in the constant price model, this profit function is
satisfying the equation of state:
with initial conditions
The same goal is to find
to maximize the above profit function, namely:
where if
,
, if
,
.
U is determined by Theorem 2.
Theorem 8. The optimal breeding formula iswhere If , the optimal strategy is If , the optimal strategy is to use the maximum sale rate. If , the optimal strategy is not to sell livestock.
Proof. According to the maximization principle [
31], the Hamiltonian is constructed as
where
are adjoint variables. They satisfy
Obviously,
H is linear with respect to the control variable
, and the control is of bang–bang type [
32], so the coefficient of
H with respect to
is defined as
The optimal control solution under uncertainty is discussed. If
,
Due to the influence of linear control, the final state of the system is
Thus, the optimal control variable satisfies
The equation for solving
can be obtained from the above equation:
one real root and two complex roots are obtained from the solving process, which is conducted by using Maple software, but two complex roots are meaningless. Therefore, the optimal breeding result is
where the set intermediate quantity
satisfies
If
, the optimal breeding results (
13) is effective. □
3.3. Optimal Breeding Strategy under the Model with Price Adjustment
In the model (
4), we have assumed that the direct effect of price on the livestock scale is
. Since we consider whether
incur costs, there are two kinds of profit functions. If breeding is the mode of self-sufficiency, which means that livestock farms regulate their own productivity to achieve
, the profit function does not consider the cost of
. If breeding is the mode of outsourcing young livestock, which means that the livestock farm needs to buy or sell young livestock from other livestock farms to achieve
, the profit function needs to consider the cost of
. In the following, the optimal breeding strategies of the two modes are obtained.
3.3.1. The Mode of Self-Sufficiency
In the mode of self-sufficiency, farmers want to make higher profits by regulating productivity with prices,
is determined by the productivity of the farm itself and income increases with
, which is explained specifically in
Section 4.2. Therefore,
is not available as a control variable; only the sale rate
is used as the control variable.
, and the profit function is
It satisfies the equation of state:
with initial conditions
The same goal is to find
to maximize the above profit function, namely:
where
U is determined by Theorem 5.
Theorem 9. The optimal control formula iswhere satisfies If , the optimal strategy is If , the optimal strategy is to use the maximum sale rate. is decided by U. If , the optimal strategy is not to sale livestock.
Proof. According to the maximization principle [
31], the Hamiltonian is constructed as
where
are adjoint variables. They satisfy
Obviously,
H is linear with respect to the control variable
, and the control is of bang–bang type [
32], so the coefficient of
H with respect to
is defined as
The optimal control solution under uncertainty is discussed. If
,
Due to the influence of linear control, the final state of the system is
Thus, the optimal control variable satisfies
From the above equations, we can get the optimal breeding result:
where the set intermediate quantity
satisfies
If
, the optimal breeding results (
17) is effective. □
3.3.2. The Mode of Outsourcing Young Livestock
In the mode of outsourcing young livestock, livestock farms need to buy and sell young livestock, because the productivity of farms is not enough to adjust the scale. The buying and selling cost of young livestock is
, where
is the price of each young animal.
and
are all considered as control variables. The livestock farmers hope to adjust the scale to maximize profits through the changes of prices, but they may have to spend some money, and they need to decide whether to adjust or not, so the adjustment coefficient
should be used as the control variable.
, and the payment function is
satisfying the equation of state:
with initial conditions
In this mode, the goal is to find a set of
to maximize the above profit function, namely,
where
Theorem 10. The optimal control formula is If , the optimal strategy is where is decided by U. If , the optimal strategy is and the optimal result is the result (13). Proof. According to the maximization principle [
31], the Hamiltonian is constructed as
where
are adjoint variables. They satisfy
Obviously,
H is linear with respect to the control variable
and
, and the control is of bang–bang type [
32], so the coefficient of
H with respect to
and
is defined as
The optimal control solution under uncertainty is discussed. If
,
,
Due to the influence of linear control, the final state of the system is
Thus, the optimal control variable satisfies
From the above equation, the optimal breeding result can be obtained as
If the above-mentioned
is within the control set of
U, the optimal breeding results (
21) are effective. □
5. Conclusions
The main problems of the livestock market in China are how to develop production, promote market balance and ensure consumer demand [
7]. In order to achieve the balance of supply and demand and maximize the profits of breeding, we studied the livestock model under dynamic pricing and found the optimal breeding strategy. First of all, we set up a price model regulated by supply and demand. Combined with the price model and behaviors of farmers, we built a model of livestock not directly affected by price and a model of livestock directly affected by price, where the effect of price on the livestock is
, which is caused by livestock farmers regulating their farm productivity or buying and selling young livestock. We performed a simple analysis of the models, obtaining the conditions for the existence of a positive equilibrium, and discussed the stability of that equilibrium.
Secondly, according to the revenue and expenditure of each model, we established four objective profit functions. We set and as control variables and obtained the necessary conditions for the optimal control solutions of the four systems by applying the Pontryagin maximization principle. Further, in order to explain the existence of the optimal breeding strategy of each system, we graphically showed the effects of and on profits. The results show that the profit can be maximized by adjusting and .
Finally, to show that which optimal strategies should be chosen in practical applications, we set two groups of parameters to simulate the changes in livestock and price for two cases: demand less than supply and demand more than supply. The optimal strategies results were calculated for four modes in both cases, and the optimal strategy was found by comparing the profit under four optimal breeding strategies. The analysis of the optimal breeding strategy of the examples led to these conclusions:
When the price is constant, if supply and demand do not affect the price at this time, the optimal control strategy under the constant price model can be used, but if they have an effect, this strategy is not reasonable;
The effect of price on the livestock (i.e., ) can promote a faster balance between supply and demand;
To get more profits, the livestock farmers should adjust the farm productivity reasonably, which is a key factor in breeding; The methods of adjusting the farm productivity include adjusting the proportion of female livestock, adjusting the breeding capacity of livestock, adjusting the construction of forage production base and adjusting the industrial support [
7];
For a specific instance, it is necessary to calculate the optimal strategy results under different behavior patterns, so we can go on to choose the most suitable strategy by comparing the optimal profits.
To sum up, the above points are the findings obtained during our research, and the most important result of this paper is that we have got four strategies to maximize profits and balance supply and demand under different prices and different behaviors of farmers, namely, Theorems 7–10. For a specific problem, we can calculate the profit results of the four strategies. Therefore, for farmers, they need to integrate their personal situations and compare the profits under the four strategies, i.e., (
8), (
12), (
16) and (
20), so as to ensure that the adopted strategy is the best.
Through research, we solved how to choose the optimal breeding strategy and adopt the most effective method to balance the supply and demand of the market and maximize the profits of livestock farmers. Next, we should consider infectious diseases, dynamic costs and other factors in the model, which will have a certain impact on profits and livestock scale, and further affect the optimal breeding strategy.