The Coordination of Multi-Stage Discounts in a Dual Channel Fresh Agricultural Produce Supply Chain: Minimizing the Loss of Quantity and Quality

: This paper explores the coordination of the agricultural cooperative to supermarket or E-commerce supply chain, under the condition of quantity loss with a mixed decay function of exponential and logistical distribution. The nature of this process is analyzed, and the corresponding demand and supply functions with single- and multi-stage discount strategies are constructed re-spectively to create a working model. The optimal discount ratios for supermarkets and agricultural cooperatives in decentralized and centralized decision-making modes coupled with single- and multi-stage discounts are calculated respectively. Finally, a universal optimal strategy is designed, which can be applied to various quantity decay scenarios and makes the discount strategy more generalized. The results show that discounts can coordinate supply chains more effectively; not only is fresh agricultural produce sold before it starts to rot, but the benefit conflicts arising from both supermarkets vs. cooperatives and traditional vs. E-commerce channels are equilibrated. Further, multi-stage discounts are more effective than single-stage ones, but optimal discount ratios rely on the initial quantity of fresh agricultural produce in the supply chain; its market share in the traditional distribution channel; the potential market size; retail price; the price sensitivity coefficient of the channel; the cross-elasticity coefficient of prices between different channels; and the properties of the quantity loss.


Introduction
In the last 20 years, the fresh agricultural produce supply chain has become a major field of study (see, for example, Clark and Hobbs, 2018 [9] ; Vernier et al., 2021 [28] ; Walker et al., 2016 [29] ). A broad range of subjects has been researched from the abstract, such as modeling (see Clark and Hobbs, 2018 [9] ; Magalhaes et al., 2021 [11] ; Siddh et al., 2017 [12] ), sustainability (Vernier et al., 2021 [28] ), propagation (Smith, 2011) [17] and operation (Nosratabadi et al., 2020 [20] ), to physical systems like retailer behavior (N. Xu et al., 2021 [32] ), pricing (Q. Xu et al., 2019) [31] ; Gaggero et al., 2021 [13] ), risk (Walker et al., 2016 [29] ), and contract (Zheng et al., 2017 [34] ). In China, agricultural cooperatives have developed rapidly in recent years, and they cooperate with supermarkets to provide a sustainable and stable quality of agricultural products to consumers. This new fresh agricultural produce supply chain works well, however, if and only if its operational steps are properly synchronized. It is a dualchannel supply chain that uses traditional and E-commerce channels. In the former, customers buy fresh agricultural produce from supermarkets, who buy it from agricultural cooperatives; in the latter, customers buy directly from agricultural cooperatives or supermarkets via the internet, which increases the convenience of their experience. After analyzing the literature, we found that these two channels often conflict with each other if the wholesale price is irrational (Siddh et al., 2017 [12] ; Liu et al., 2020 [10] ). Further, if the wholesale price is higher than a certain threshold, supermarkets will lose customers to Ecommerce; if the wholesale price is lower, customers are more likely to buy from supermarkets, which could lead to a loss of profit for agricultural cooperatives. These channels are therefore linked by the behaviors of both suppliers and consumers. More importantly, the quantity and quality of fresh agricultural produce necessarily changes over time, which can produce considerable losses (Magalhaes et al., 2021 [11] ; Siddh et al., 2017 [12] ; Smith 2011 [17] ) and result in a corresponding increase in price. Although this is a difficult problem to address, coordinating the supply chain is an important step in its solution.
Fresh agricultural produce is susceptible to dehydrolysis and rotting; the former causes a decrease in quantity and freshness, and the latter is detrimental to its quality (Siddh, et al., 2017 [12] ). Both events therefore result in a loss of the quality of the produce, which indirectly affects its saleable quantity (Magalhaes et al., 2020 [11] ) and the topological structure of the customer base (Smith, 2011) [17] . Futher, bacterial and viral contamination of the fresh agricultural produce can occur, which not only leads to a sharp decline in the quality of fresh agricultural produce, but also harms human health and lives. Because this kind of contamination is often invisible and difficult to predict, it can make supply chain management more difficult (Mitchell et al., 2020 [18] ). Although blockchain technology can reduce this hazard by marking rotten food (Kramer et al., 2021 [8] ; Saurabh et al., 2020 [21] ), this identification process has inherent risks (Kamilaris et al., 2019 [7] ) that work against supply chain coordination. This highlights the need for an effective mechanism to be designed. Many scientists (Clark and Hobbs, 2018 [9] ; Magalhaes et al., 2021 [11] ; Siddh et al., 2017 [12] ) have proven that written contracts are a feasible and reasonable coordination strategy for supply chains, as they specify price, quantity, quality, cost and risk as parameters to which all parties must adhere. Discounting prices is also an effective strategy with which to coordinate the supply chain, as proven by Gaggero et al. (2021 [13] ) and Tang et al.
(2018 [26] ). The results of this previous research can help to coordinate a more efficient fresh agricultural produce supply chain.
None of these results, however, are effective in all possible scenarios: i.e., they can only design an optimal discount strategy for a supply chain that satisfies certain conditions, and may need to be corrected if these conditions shift. Further, because the price of fresh agricultural produce reflects their freshness (determined by the time elapsed between picking and selling), a dynamic strategy with multiple discount stages should be designed; and because each category of food loses quantity and quality on a characteristic curve, a universal optimal price discount ratio is difficult to determine (Nosratabadi et al., 2020 [20] ). This paper analyzes a supply chain consisting of agricultural cooperatives and supermarkets, and considers traditional and E-commerce channels simultaneously. It also introduces the idea of a dual loss of quantity and quality in the distribution of fresh agricultural produce. First, a supply chain with quantity loss in mixed exponential and logistical distribution is examined. Then, an operating model with a single-stage discount is constructed, and the optimal discount ratios of supermarkets and agricultural cooperatives with decentralized and centralized decision-making processes are calculated respectively. The same analytical method is then applied to find the optimal discount ratios for multi-stage discounts. Other scenarios of quantity loss are subsequently analyzed, and universal optimal ratios for multi-stage discounts are obtained by inductive reasoning. This can help ascertain different quantity loss scenarios and dual-channel supply chain coordination.
The particular properties of fresh agricultural produce mean that their quantity and quality change over time. This can have two causes: physical or biochemical. Physical changes (such as dehydration or damage in transit) trigger exponential decay. If is the transitory quantity driven by physical change at time , Biochemical change is considered logistic decay, because bacteria and viruses spread from infected to healthy fresh agricultural produce. If the corresponding quantity is , then The former is defined as the loss of food quantity, and the latter as the loss of food quality. The nature of logistic decay means that the quantity decreases dynamically, as in Equation (1). Further, physical change, like dehydration and impact damage, is inevitable, and decreases the quantity of fresh agricultural produce over time. Although the dual loss of quality and quantity happen synchronously, the latter is caused by both physical and biochemical change, which are independent but parallel processes. This means that the quantity of a product at time is: (3) As mentioned, the quality loss of fresh agricultural produce can be divided into two aspects. One is physical (exponential) decay, defined by Equation (1); the other is deterioration, rot and contamination as an inverted S-curve, which satisfies and is defined by Equation (2): .
The supply chain operational system discussed by Tang (2019) is shown in Figure 1: The notations in this paper are: -the unit cost of a fresh agricultural produce at an agricultural cooperative; -the unit loss that occurs when products cannot be sold because of physical deterioration: i.e., the cost per unit of disposing of rotten food. Because fresh agricultural produces are worthless once they are no longer fresh, they must be disposed of. In this sense, although the scrap value of these rotten foods is zero, there are costs involved in their disposal, which means that ; -the price sensitive coefficient of a channel; -the cross-elasticity coefficient of prices between channels. A channel's price elasticity demand is generally higher than the cross-elasticity coefficient demand for prices between channels: i.e., ; -the quality guarantee period of fresh agricultural produce; -the cost fixed by a particular store; -the potential market size for fresh agricultural produce; -the quantity of an order supplied to a supermarket by an agriculture cooperative; -the wholesale price paid by a supermarket; -the coefficient of fresh agricultural produce quality to demand; -the market demand in the traditional sales channel; -the market demand in the E-commerce channel; -the supermarket price in the traditional channel; -the agricultural cooperative price in the E-commerce channel; -the price to discount ratio for supermarkets in the traditional channel; -the price to discount ratio for agricultural cooperatives in the E-commerce channel. Figure 1 describes the operational process of the fresh agricultural produce supply chain. After the fresh agricultural produce is picked, agricultural cooperatives store it in a warehouse or transport it to a supermarket. At time , the fresh products arrive at the supermarket, which then sells them to consumers. It may sell them at a discounted rate according to fresh agricultural produce characteristics or market demand. The supermarket decides when and how discounts should be applied. In the E-commerce channel, agricultural cooperatives may also apply discounts based on the same factors.
To analyze this problem, the operational process of the fresh agricultural produce supply chain should be identified (Ezzeddine et al., 2020 [1] ; Kollia et al., 2021 [4] ; Kurnia et al., 2016 [23] ). At the first step, because quantity is dependent on the behavior of agricultural cooperatives but independent of supermarkets, satisfies But at the second step, quantity is dependent on both agricultural cooperatives and supermarkets, so If the quantity of fresh agricultural produce at time is (5), it makes sense to apply a discount strategy to achieve market clearing. If a product falls below the acceptable sales quality, or if its supply far exceeds its demand, its value is 0; but it still incurs disposal costs. If a discount strategy is applied in time, this can be avoided. In this sense, having an effective discount strategy in place is important for both agricultural cooperatives and supermarkets.
An effective discount strategy should achieve both market clearing and supply chain coordination; the latter's primary objective is to obtain maximum profit based on the former. Second, agricultural cooperatives and supermarkets must balance their distribution with their discount strategy to ensure a reasonable profit. Third, the discount strategy should reduce the conflict between traditional and E-commerce channels to a negligible level (Tabrizi et al., 2018 [22] ).
The complexity of this problem is rooted mainly in the changeable properties of the quality and quantity of fresh agricultural produce, and the conflict within their supply chain. It is therefore necessary to clarify the operational process. In the traditional channel, agricultural cooperatives transport the fresh agricultural produce to supermarkets first in time interval , where is the initial point in time, and is the point of time at which the fresh agricultural produce reaches the supermarket's warehouse. No discount is applicable at this step because the fresh agricultural produce is not yet being sold.
In the second step, , the fresh agricultural produce must be sold by the supermarket before it begins to rot at deadline . The quantity and quality of fresh agricultural produce change dynamically with time, which causes the latter's demand function to alter correspondingly, and enhances the difficulty of supply chain management. If supply and demand are equal, market clearing occurs; similarly, only if a scientific coordination mechanism is designed and implemented will the dual-channel fresh agricultural produce supply chain be coordinated. This is a necessary condition of a healthy supply chain (Gaggero et al., 2021 [13] ; Xu et al., (2019 [31] ; Zheng et al., 2017) [34] . To focus on the first condition of equilibrium between the supply and demand of fresh agricultural produce, the demand function must first be identified. The characteristics of this supply chain give the corresponding demand function: Equation (6) describes the demand for fresh agricultural produce in the traditional channel. In this process, customers buy the fresh agricultural produce from a supermarket, which causes a dynamic demand change as Equation (6). This demand has four aspects: (a) the demand scale of the traditional channel, driven by the demand proportion of traditional commerce and market scale , i.e., the constant of the demand function of fresh agricultural produce; (b) sensitive demand , driven by retail price and a price sensitive coefficient in the traditional channel , which is accompanied by a negative linear correlation between sensitive demand and retail price; (c) cross-elasticity demand from E-commerce trading, which is affected by demand in the Ecommerce channel: if demand in E-commerce decreases in a negative linear correlation with the E-price , demand in the traditional channel will increase, and vice versa, and; (d) the demand arising from quantity loss , which increases as quantity decreases. Here the loss function has two parts: quantity loss in a certain time interval ; and quantity loss from time to current time , which is seen in the two fractions in square brackets in Equation (6).
In the E-commerce channel, agricultural cooperatives sell fresh agricultural produce directly to their customers via the internet. The sales behavior therefore begins at the initial point of time , which makes them independent of supermarkets. The corresponding demand function is: Similarly, the demand function of agricultural cooperatives has four aspects in the Ecommerce channel: (a) the demand scale of the E-commerce channel; (b) the sensitivity demand ; (c) the cross-elasticity demand in the traditional channel, and; (d) demand arising from quantity loss . In the E-commerce channel, fresh agricultural produce is sold directly to customers, so the time interval is , which means that satisfies the form defined in the square brackets in Equation (7). If the characteristics of the dual channel supply chain are reconsidered, two kinds of management emerge: decentralized and centralized decision-making (Zhai et al., 2021 [33] ; Zhu et al., 2018 [35] ). In the former, cooperatives and supermarkets make decisions independently, to maximize their own profits; in the latter, the two enterprises are regarded as a system, and make decisions that maximize the profits of the system as a whole. In this case, a rational profit distribution mechanism must be designed to prevent conflict between the two sides. If both decision-making modes maximize their impact, a scientific coordination mechanism can be designed. In decentralized decision-making, the supermarket's profit can be represented as: (8) It relies on demand in time interval , the cost , the loss arising from the quantity difference between supply and demand , and the disposal cost for unsaleable fresh agricultural produce. Similarly, the agricultural cooperative's profit can be represented as: The corresponding profit of the agricultural cooperative described in Equation (9) consists of the incomes from both the traditional channel and the E-commerce channel , and the cost of the loss arising from the quantity difference between supply and demand , and the disposal cost of unsaleable fresh agricultural produce . To design a discount strategy that coordinates the supply chain, it is necessary to analyze the operational process and the corresponding profits of the supply chain as a whole. To do this, the supply chain should be regarded as a system that obtains the corresponding profit in the centralized decision-making mode. When the operational process is considered, the profit of supply chain is: If Equations (8), (9) and (10) are combined, the differences of profit between decentralized and centralized decision-making modes in the supply chain are calculated in Equation (11). When the sum of the supermarket and agricultural cooperative's profits are compared with those of the fresh agricultural produce supply chain, Because there is no internal friction in the centralized decision-making mode, it is concluded that . This is an essential indicator that the supply chain can be coordinated.

Main Results
Nonlinearity and instability mean that there are always differences between demand and supply for fresh agricultural produces. Because there is a certain extent of conflict between agricultural cooperatives and supermarkets, and between traditional and E-commerce channels, it is necessary to coordinate the enterprises in the supply chain. Scientists (Gaggero et.al (2021) [13] , TANG et.al. (2018) [26] ) have proven that discounts can redistribute profits between the enterprises in a supply chain, and consequently make it work more efficiently. When the properties of the supply chain are considered, it is concluded that longer the discount time, the more competitive the supply. This can be expressed by an essential differential equation. If the interval of an independent variable is divided into several sub-intervals, the differential between demand and supply is small; if the subinterval is very small, the derivative is closer to the actual function, which means that the discount times should be long enough to be influential, but not so long that they ignore the corresponding costs and effects. First, the corresponding conclusion of the discount strategy is given (see Theorem 1). Theorem 1: There exist a positive integer and positive numbers and at the n th discount, where describes the profit coupled with quantity change in the E-commerce channel, and describes the profit coupled with quantity change in the traditional channel. If the decentralized decision-making mode is adopted, the optimal discount strategies for supermarkets and agricultural cooperatives are (12) and respectively. Under the same conditions, if the centralized decision-making mode is adopted, the optimal discount strategies for supermarkets and agricultural cooperatives are (14) and respectively. Theorem 1 gives the optimal strategy for each stage of discount, including the optimal discount ratios for supermarkets and agricultural cooperatives using decentralized and centralized decision-making modes respectively, if the quantity of fresh food loss satisfies Equation (4). Because transitory optimal discount ratios at discount stage are defined by Equations (12), (13), (14) and (15), the supply chain can be coordinated at an arbitrary stage. There are, however, other categories of fresh food quantity loss. In certain situations, the optimal discount strategy calculated in Theorem 1 will not fit, because the properties of the quantity loss have changed. This invokes the question: Is there a more general and clearer discount strategy that coordinates the fresh agricultural produce supply chain with all possible quantity loss scenarios? Although this seems impossible, an answer is given in Theorem 2.
Theorem 2: There exists a universal discount strategy for all scenarios of fresh agricultural produce decay. It has two categories-fixed term and drift term-which determine the optimal discount ratios. If the coordination mechanism of the decentralized decision-making mode is adopted, the fixed term of the discount ratio for supermarkets is (16) and the drift term is (17) The fixed term of the discount ratio for agricultural cooperatives can be generalized as (18) and the drift term as In the coordination mechanism of the centralized decision-making mode, the fixed term discounts for supermarkets and agricultural cooperatives are (20) and (21) respectively. Similarly, the drift term discounts for supermarkets and agricultural cooperatives are (22) and (23) respectively. Theorem 2 shows that, whatever the quantity of fresh agricultural produce loss, there is always a universal optimal discount ratio, relying on fitting for market clearing and supply chain coordination.

The Single-Stage Discount Approach
In the supply chain operational process there exists a discount point at which, because of conflict between demand and supply, the supply chain sells fresh agricultural produce at full price if , but a discount is required if .
If the single-stage discount strategy is used (in which the discount ratios of supermarkets and agricultural cooperatives are denoted as and respectively), the corresponding prices should be and respectively, after the discount. Because the discount strategy is implemented, the demand function changes accordingly. If and no discount strategy is implemented, the demand function would not change; but if , the agricultural cooperative and supermarkets change their prices from and to and respectively; according to the theory of balance between supply and demand, the demand function must be changed. The properties of demand for fresh agricultural produce mean that the demand function can be regarded as a linear transformation of the original demand function. This means that in the traditional channel, if , The demand function consists of two parts: trend ; and intercept . The element is defined in Equation (6). It is the adjustment effect for a change in market demand caused by the dynamic quantity of fresh agricultural produce in the traditional supply chain channel, and describes the decay properties of the initial When , the demand function shifts because the retail prices change from and to and respectively. If prices and form a linear scale with prices and respectively, then the demand function shifts accordingly, as seen in Figure 2.  In the E-commerce channel, transport is not necessary: customers buy fresh produce directly from agricultural cooperatives, so quantity change can only occur when the fresh agricultural produce is picked. In this case, if , and if , In the traditional supply chain, the demand function is divided into two categories: Equation (26) describes the first step before the discount is applied; and Equation (27) maps the changes to supply price and demand quantity afterwards (Liu et al., 2020 [10] ; Zhang et al., 2017 [30] ). It is concluded that the common intercept exists in both traditional and E-commerce channels, but the trend terms are different. The trend of the former channel is , and that of the latter is , where is defined in Equation (7) as the adjustment effect of the dynamic supply quantity in the E-commerce channel of the supply chain.
(1) Price discounts in the decentralized decision-making mode To coordinate discounts, the profits of the supply chain and its enterprises must be analyzed. Without loss of generality, , i.e., the fresh agricultural produce are distributed immediately after they are picked, and a price discount coordination process can be specified in the decentralized decision-making mode. First, the supermarket would determine the retail price of the fresh produce based on market demand after it is delivered from the agricultural cooperative. If the retail price, discount price, market demand, purchase price and quantity of the fresh produce is fixed, the corresponding profit of the supermarket is (28) As shown in Equation (28), the supermarket's profit has two parts: one is independent of quantity change and the other is dependent on it. The former occurs in two steps (non-discount and discount), which are integral to profit density functions on time-scale and on time-scale respectively. The latter is integral to the quantity decay function in these two sequential steps, i.e., the product of dynamic prices driven by quantity loss from both physical change and decay; and the integral quantity decay function of quantity change due to physical loss, and the operator of quantity change due to quality loss. To simplify this, the profit coupled with quantity change is denoted as , i.e., The properties of the discount process mean that the agricultural cooperative's profit is As with that of the supermarket, the profit of the agricultural cooperative has two sub-profits. The characteristics of the operation process, mean that the wholesale process in time interval and the corresponding profit driven by quantity loss index should be considered, and can be described in terms of quantity loss caused by physical decay and quality decay respectively. This means that The optimal discount ratios of these two enterprises are important to coordinate the supply chain, they can be decided by taking the partial derivative of to Equation Similarly, the optimal discount ratio for agricultural cooperatives can be found by calculating the partial derivative of Equation (30) based on the condition of the secondorder partial derivative of . Further, Here, ，and if , the optimal discount ratio is obtained, which satisfies Although there are differences between them, the optimal discount ratios and consist of two aspects: the trend term of the last part of Equations (36) and (37), and the constant term of the rest of these two equations. There is a decay effect in the trend term described by the integral demand function, which reflects the price and decay property coupled with dynamic quantity change. Further, the decay effects of discount ratios, which rely on the dynamic demand quantity of fresh agricultural produce, are determined by functions and respectively. This shows that discount ratios depend on the operational process of the traditional supply chain channel. It can also be concluded that, if , a minimum profit would be achieved, which is not desirable.

If
, this is not an optimal solution; is the basic condition for the supply chain to operate normally. With this in mind, the equilibrium condition of supply and demand in supermarkets is: The balance of supply and demand equilibrates the dual channels of the fresh agricultural produce supply chain, and the scientific coordination mechanism defined by the discount ratios and ensures rational profit distribution based on maximizing market clearing and profit in the system as a whole. These two conditions ensure that discount ratios are always at an optimal trajectory, which stabilizes the supply chain, as shown in Figure 3.

Figure 3. Attractor stability
If perturbation from the environment is added, the equilibrium between the supply and demand of fresh agricultural produce is broken, because the discount strategy can stimulate demand growth to fill it; there must be a "potential difference" attractor that pulls the deviation back to the optimal trajectory. Further, in decentralized decision-making, because two enterprises make decisions independently, there are several non-synchronous behaviors occur and entangle together in the operational process, which affects the efficiency of the supply chain.
(2) Price discount in the centralized decision-making mode In centralized decision-making, agricultural cooperatives and supermarkets are regarded as a whole, in which optimal prices are calculated by resolving a corresponding optimal model. Because of the relationship between market demand and system supply, and the operational properties of this supply chain, the supermarket's retail price, the online price set by agricultural cooperatives, the supermarket's discount ratio , and the agricultural cooperative's discount ratio must be determined.
) )( ) Equation (42) shows that the supply chain profit has two parts: the drift term and the constant term. The constant term is , but the drift term is more complex. It relies on the behavior of agricultural cooperatives and supermarkets, which is determined by the price sensitive coefficient of the channel; the price cross-elasticity coefficient of the between channels; the effective coefficient of food quality to demand; corresponding discount ratios; and the quantity loss index respectively. The optimal discount ratios of both and are determined by the point of time of the discount; prices and ; the sensitive coefficient of the price of a channel ; the cross-elasticity coefficient of prices between channels ; and the effective coefficient of food quality to demand . A comparison of the optimal discount ratios in the centralized decision-making mode described in Equations (44) and (45) with those in the decentralized decision-making mode, described in Equations (37) and (36), shows that the latter is larger than the former. This is because there are much fewer internal conflicts in centralized decision-making, which makes the supply chain more effective. Further, in the centralized decision-making mode, resources, such as information, inventory and equipment, can be shared in collaborative planning, forecasting and replenishment (CPFR), which greatly improves operational efficiency [12] [20] . There are, however, gaps in profit between decentralized and centralized decision-making modes, and strategies should be introduced to improve the capability of the latter.

Market Clearing in Multi-Stage Discounts
The quality of fresh agricultural produce deteriorates over time, which means that several stages of discount are necessary. This is because as the quantity and quality of fresh agricultural produce declines, the price elasticity coefficient becomes smaller, and the demand function correspondingly becomes concave. The graph of the demand function is described approximately in Figure 3.  Figure 3 shows the properties of the demand function and the way the effects of discounts vary at different times. As discounts increase, supply matches demand more closely.
Multi-stage discounts follow a process: Once the quality or quantity reaches a certain low threshold, the corresponding price discount ratio must be introduced to compensate for the loss that occurs because of the mismatch between supply and demand, and to distribute profit rationally between supermarkets and agricultural cooperatives.
Here, is the discount stage, and represent the supermarket and cooperative respectively. In the operational properties of the fresh agricultural produce supply chain, discount behaviors always occur after time , after which the multi-stage discount process can be analyzed. First, if the first discount time , the corresponding process is as described in Figure 4. Because the price in one discount stage must differ from that in another, the corresponding demand function of the dual-channel supply chain relies on the order of the discount stage. According to the properties of the multi-stage discount strategy in the supply chain, the price in time interval should be or before the discount stage , so, the corresponding demand function at the stage is determined by the discount ratio at the previous stage. Generally, is smaller than to ensure both market clearing and fair profit distribution. According to the properties of multi-stage discounts in the fresh agricultural produce supply chain, the demand function of the supermarket in the discount stage is: Similarly, the demand function of the E-commerce channel in the discount stage of the agricultural cooperative is: Equations (46) and (47) show that in each time interval of the discount, the demand is deterministic due to the deterministic price. When the new discount ratio is introduced at time , however, the demand shifts from what is decided by discount ratio to the ratio decided by , according to Equation (46) or (47). This means that demand is a piecewise function, and the points at time are all discontinuity points of the second kind. As previously analyzed, the discount ratio is an attenuation function with multiple discount times , to which the demand function adjusts correspondingly.
Further, because of the anchoring effect, the discount works quickly if and only if its stages occur over a short period. In this case, the state at the next stage is dependent on that of the one that precedes it. To study the multi-stage discount strategy in supply chain coordination, this property must be thoroughly understood. The demand in different stages of this discount process can be regarded as a martingale process (Jin-you strategy (Hu et al., 2019 [6] ), where (48) with , i.e., . Each discount stage can then be analyzed independently, and based on this the multi-stage discount strategy can be understood as a whole. As previously explained, there are two kinds of decision-making. Decentralized decision-making is similar to the single-stage discount process to a certain extent. At some stage, however, the demand function is different because the price changes, so, the total profit is the sum of the profits at each stage of discount. In this case, the supermarket's profit becomes: (49) Equations (49) and (28) differ slightly, because each discount stage is independent of discount time but dependent on demand, and demand satisfies the property of the martingale strategy in Equation (48)   discount becomes , and the profit at each stage can be calculated by Equation (49). According to a similar process and method and considering its dynamic nature, the agricultural cooperative's profit would be: (50) As discussed, the corresponding constraint conditions for equilibrium between supply and demand in the traditional channel must be addressed. In dynamic coordination terms, the supply chain is coordinated as a whole if it is coordinated at each stage using certain strategies. Regardless of coordinative strategies, however, market clearing is crucial for the supply chain to obtain maximum profit, which requires that i.e., if and only if the supply of fresh agricultural produce matches demand, there is no internal conflict in the supply chain. If demand is expanded at the n th discount stage, then (51) where describes the profit coupled with the quantity change in the traditional channel, and describes the profit coupled with the quantity change in the E-commerce channel.
According to the same method, the corresponding constraint conditions for equilibrium between supply and demand in the E-commerce supply chain channel are i.e., , 1, 2,... Qw Qc Qc  Equations (51) and (52) show that the equilibrium between supply and demand is important to the sale of fresh agricultural produce. Because the produce must be fresh, the demand functions vary at different stages, and this equilibrium is broken. It is not necessary for supply to be equal to demand at every stage, but the total demand must be equal to the total supply in all stages as a whole. This means that the respective conditions under both decentralized and centralized decision-making modes are complex. The equilibrium in the operational process as a whole can be understood as a degenerate distribution in the equilibrium at each stage of discount. Although this degeneration is not strictly correct (because the local equilibrium in sequential small time-scales in accordance with discount stages is a sufficient but not essential condition), it is a reasonable alternative method.
The coordination of the supply chain with multi-stage discounts is analyzed In section 5.2.

Optimal Discount Ratios in Multi-Stage Discount Strategies
it into the profit function of the cooperative, then take the first order partial derivative to , we have (55) It can also be seen that and .
According to the analysis method used in , the optimal price discount ratio of a fresh agricultural produce from an agricultural cooperative in the E-commerce channel is: Similarly, if is inserted into the reverse function of response function , the optimal discount ratio in the traditional channel is: In the decentralized decision-making mode in this dual channel supply chain, agricultural cooperatives and supermarkets work independently to pursue their own optimal profits. Because of this, the analytical solution for the optimal price discount ratio of the agricultural cooperative, and the discount ratio of the supermarket maximize both market clearing and the profits of each party. An analytical process that combines Equations (56) and (57) should therefore be applied to ascertain the optimal profits for agricultural cooperatives and supermarkets respectively: Similarly, the profit of the supply chain as a whole would then be: Take the first and second partial derivatives of for Equation (60), the second Hesse matrix of to and would be: where , and .
Because in matrix S, the second Hesse matrix of to and is a negative definite matrix, which means that is a joint concave function of and . The quantity of fresh agricultural produce in the supply chain is therefore: (62) In the centralized decision-making mode, although the steps of the multi-stage discount are relatively complex, the basic principle is the same as in the single-stage discount process. If the optimal quantity of fresh agricultural produce is inserted into the supply chain profit function in the centralized decision-making mode, the derivative can be as- It has been proven that the profit produced in centralized decision-making is greater than or equal to that of decentralized decision-making. Accordingly, the corresponding discount ratios are also more reliable (Tran 2018 [27] ).
Although centralized decision-making is better at coordinating the supply chain and ensuring market clearance, the synchronization between supermarket and agricultural cooperative must be strictly controlled. As a result, decentralized decision-making is often introduced (Neubert et al., 2018 [2] ; Singh et al., 2015 [24] ; Stranieri et al., 2018 [25] ).

Other Scenarios and Comparisons
Although there are several kinds of quantity loss, this paper examines the case of dual decay with quality and quantity loss. This hypothesis, however, is not strictly correct, because other scenarios can occur under certain conditions (Belkhatir et al., 2020 [14] ; Suhail et al., 2020 [19] ). For example, what strategy should be used if the quantity loss is not what Equation (3) defines, or if a demand disruption occurs, or if a series of substitutes for fresh agricultural produces are considered synchronously? What interests the authors of this paper is not just the coordination strategy in the particular case defined in this paper, but a universal coordination strategy for all possible cases. All scenarios can be described by several specific parameters, and if they are taken as fixed constants, the scenario becomes deterministic (Inoue et al., 2020 [3] ; Tominac et al., 2020 [15] ; Tominac et al., 2021 [16] ). To draw a universal conclusion for discount coordination, other scenarios should be discussed. Because this is too complex to analyze in the scope of this paper, we examined a coordination strategy for the different kinds of quantity loss of fresh agricultural produce. A simple case of quantity loss that satisfies exponential distribution is discussed in the following paragraph.
(1) The discount strategy for quantity loss that satisfies exponential distribution : This is a degenerate distribution of the model constructed in this paper that ignores quantity loss arising from decay. Using the same analysis method and process, the optimal discount ratio of the agricultural cooperative in a singlestage discount strategy is considered. The optimal discount ratios of and in the decentralized decision-making mode would then be (66) and (67) respectively. Similarly, in the centralized decision-making mode, the optimal discount ra- and (69) respectively. In the multi-stage discount strategy, the optimal discount ratios of and in decentralized decision-making would be (70) and (71) respectively. In the centralized decision-making mode, the optimal discount ratios of and would be (72) and (73) respectively. In the optimal discount trajectory of agricultural cooperatives and supermarkets, similarities exist between single-and multi-stage discount scenarios with regard to  T  T  T  T  T   r  r  F  r  F  r  r   T  T  T  T  T   r  F  r  F  r   q  q  c  U  p  T T  p  T T  p  (2) Comparing quantity loss scenarios: Three scenarios of quantity loss can be considered: (1) where the logistical function arises from quality evolution and the exponential function arises from quantity evolution; (2) where the exponential function is driven by quantity evolution; and (3), where the logistical function is driven by quantity evolution or quality evolution. If these scenarios are compared, it is apparent that a discount contract is an effective way to ensure market clearance and supply chain coordination with maximal profit. The duration, size, and point of time of discounts are crucial in this strategy. In this paper, discount size has been discussed by considering the loss of both quality and quantity.
(3) A universal coordination strategy for multi-stage discounts: By analyzing other quantity losses with diverse decay functions, and comparing the corresponding results of the transitory optimal discount ratios of supermarkets and agricultural cooperatives, a hypothesis can be proposed: There is a universal law that can coordinate supply chains in all scenarios. If this is true, all supply chains coupled with diverse scenarios could be coordinated in a discount strategy that uses certain discount ratios. The main idea of the coordination strategy would be the same in all scenarios, but the corresponding parameters of discount ratios and times would vary. The next subsection will attempt to find this universal law.
It can also be concluded that the discount size in the centralized decision-making mode relies on fixed and drift terms, regardless of which loss function arises from exponential, logistical, mixed, or other types of distribution. For a multi-stage discount strategy, the fixed term of the supermarket's discount ratio is while the drift term relies on the distribution properties of quantity and quality loss. After generalizing the results of the corresponding distribution, the drift term of the supermarket's discount ratio is: Equations (74) and (75) show that for supermarkets, if centralized decision-making is invoked the fixed term is independent of the distribution of quantity decay, but the drift term is. Further, whatever the distribution of quantity decay, the discount ratio in the multi-stage discount strategy will be determined by this fixed term, even if no quantity loss occurs. The fixed term of this discount ratio is decided by the unit cost of fresh agricultural produce from the agricultural cooperative; the price set by the supermarket in the traditional channel; the potential market size; the price sensitive coefficient of the channel price cross-elasticity coefficient between channels; and the market share in the traditional channel, which is described in Equation (74). There are, however, distinctions between scenarios that are driven by the properties of quantity decay and supply chain operation. The former is decided by the characteristics of the fresh agricultural produce, and the latter is controlled by supermarket prices in the traditional channel; the price sensitive coefficient of a channel price cross-elasticity coefficient between channels; and the time effective management (including planning, organization, control and coordination) increases its benefits. A question then arises: How can all families obtain reasonable profits under the condition of maximized cooperative payment? This problem can be described as a dynamic stochastic cooperative game model, which is complex to resolve. A solution can be obtained without losing accuracy, by solving two sequential problems: first, a corresponding optimal model of profit under certain constraints should be constructed (this should be a multi-objective optimization model, but whatever category of model is used, a corresponding optimal solution should be obtained); second, a reasonable profit distribution mechanism should be designed, to make sure all families are compensated fairly.
Because the first question is an optimization problem, no matter how complicated it is it can be solved by invoking a fitness algorithm. The objective function of an agricultural cooperative is multi-faceted: maximum profit, sustainable production, and a healthy relationship with other enterprises in the supply chain are all considerations. The objective of an agricultural family is, however, relative simple: maximum payment. A rational payment distribution can be determined by constructing a dynamic Shapley distribution vector, if the optimal payment of the cooperative and all possible coalitions are calculated. Because this problem is relatively simple, it was omitted from this paper.

Conclusion
The structure of a fresh agricultural produce supply chain is extremely complex. Three kinds of coordination are involved in its operation: that between the agricultural cooperative and the supermarket; that between traditional and E-commerce channels; and that between families in a cooperative. The former two focus on the conflict between the supermarket and the agricultural cooperative in the two channels, and the latter involves conflict within the cooperative. To resolve these conflicts, coordination between enterprises is key. After analysis, it can be concluded that the application of discounts is an effective coordination strategy. Further, the coordination of discounts in the centralized decision-making mode is more effective than under the decentralized mode. The paper then studied a scientific discount parameter.
According to supply chain operation and coordination, the supermarket encourages demand through discounts, and the agricultural cooperative gives discounts to promote the E-commerce channel but surrenders part of its profits to the supermarket in the traditional channel. Because the quantity of fresh agricultural produce decreases with time, however, and because market demand is determined by supply, the price, including the corresponding discount ratio, is difficult to ascertain. This paper introduced a multi-stage discount strategy, and calculated each discount ratio coupled with its corresponding stage. If the quantity decays as in Equations (1) and (2), corresponds to the loss of quantity and quality respectively, and if the decentralized decision-making mode is introduced, the optimal discount for the supermarket is described in Equation (71), and the discount for the agricultural cooperative in Equation (70). If centralized decision-making is used but all other conditions remain the same, the optimal discounts for the supermarket and agricultural cooperative are decided by Equations (72) and (73) respectively. The centralized decision-making mode is superior to the decentralized mode in terms of coordination effect.
There are, however, other kinds of quantity loss in fresh agricultural produce that have diverse functions determined by the product's physical properties and biochemical characteristics. This paper discussed the loss function of exponential and logistical decay, and found that, whatever the nature of quantity loss, there is a universal function that describes the discount ratio. It then divided the discount behaviors into two aspects: fixed term (which is independent of changes to quantity and quality ); and drift term (which is dependent on these changes). In the decentralized decision-making mode, the fixed term of supermarket discounts is given in Equation (78), and the drift term in Equation (80); and the fixed term of the agricultural cooperative discount is given in Equation (79), and the drift term in Equation (81). In the centralized decision-making mode, the fixed term of supermarket discounts is given in Equation (74), and the drift term in Equation (75); and the fixed term of agricultural cooperative discounts are given in Equation (76), and the drift term in Equation (77).
If this universal conclusion is analyzed, it is found that, regardless of what kind of quantity loss occurs, whether decentralized or centralized decision-making is selected, or whether the supermarket's or agricultural cooperative's discount ratio is considered, the fixed term discount relies on the market share in the traditional channel; the potential market size; the retail price; the price sensitive coefficient of the channel; and the crosselasticity coefficient of prices between channels. The drift term discount relies on the initial quantity of fresh agricultural produce in the supply chain; the retail price; the price sensitive coefficient of the channel cross-elasticity coefficient of price between different channels, and property of quantity loss.

Supply Chain Coordination and Discount Times
In the mapping between profit and discount time , it can be concluded from the demand equations (46) and (47), and the profit equations (60) and (65), that there is a positive correlation between and , such that the profit is positively correlated with the discount time . This is because long discount times decrease the difference between demand and supply, which in turn decreases the cost of disposing of a superfluous supply of fresh agricultural produce. Unfortunately, the discount cost cannont be analyzed using the demand equations (46) and (47), or the profit equations (60) and (65), which makes the positive correlation between and unacceptable. Each discount can produce some degree of cost or loss, and this should be added to the profit equations. The mapping between profit and discount time is therefore very complex, and probably a non-negative correlation. Further, if the discount times is too large, consumers could play a larger role in setting prices in the supply chain, and each more discount would increase the difficulty of management of supply chain, thereby decreasing the profits of the supermarket and/or agricultural cooperative. For this reason, moderate discount times should be considered.
The dynamic discount ratio and at discount stage are given as discussed, which raises another, more interesting, question: How long should discount stages be to yield maximum profit, supply chain coordination and market clearing? To ascertain this, the profits of the agricultural cooperative, supermarket and supply chain should be considered, and the relationship between profit and discount time should be analyzed. Discount time is therefore an important parameter in the discount coordination strategy, and it will be studied in the authors' next paper.