Keywords

1 Introduction

Quality standards imposed by end consumers forces some small farmers to throw away big amounts of products. This fact negatively impacts on the environment and the small farmers economies. If the proportion of quality products (QP) obtained in each harvest could be increased, this problem would be eliminated or mitigated. A high level of collaboration is necessary to ensure the quality of the agri-food products [1].

Recent papers propose models to empower small farmers through modern retailers’ investments [2,3,4,5,6,7,8], but none of them considers the uncertainty of consumers’ demand, quantity harvested, proportion of QP obtained from harvest, nor its improvement with each modern retailers’ investment. If uncertainty is not considered, models will obtain solutions only applicable to situations in which all the data is known in advance. This paper aims to fill this gap by adapting the model [2] to the uncertain nature of these parameters. Methods to convert the fuzzy model into an equivalent crisp model [9] and a to select the best solution to implement in the AFSC [10] are employed.

The paper is structured as follows. Section 2 describes the problem addressed. Section 3 formulates the fuzzy model. Section 4 explains the methods used to solve the model and to select the solution to be implemented. In Sect. 5 these methods are applied. Conclusions and future research lines are drawn in Sect. 6.

2 Problem Description

The AFSC is responsible for the production and distribution of vegetables. It is comprised by small farmers (SF), farmer cooperatives (FC), modern retailers (MR), and consumer markets (CM). End consumers require vegetables with a minimum quality standard, however not all vegetables harvested by SF meet these standards. In fact, the quantity of harvest and the proportion of QP obtained in each harvest are uncertain. Once harvest is made, FCs classify the products into QP and non-quality products (NQP). FCs sell QP to MR, which are responsible of the QP distribution to CM. To reduce wastes, NQP are directly sold to CM at a very low price.

To increase the AFSC profits, more demand need to be covered with QP. For that, MR and SF can establish a collaboration program (CP). In this CP, MR would choose one or more SF and would give them funds with the objective to improve the quality of products. SF should use these funds to acquire new technologies, machineries and/or training. This will increase the proportion of QP to be harvested.

The CP sets three skill levels to which SF can belong according to the proportion of QP obtained in each harvest. When a MR funds one SF, the latter can improve the proportion of QP to be harvested and therefore SF can move up from one skill level to another. However, the improvement of the QP proportion is not known in advance to the fund application. MRs’ investments cannot exceed the available budget for the CP.

A fuzzy model for deciding the investments to carry out to maximize the AFSC profits is proposed. The quantity of harvest, the proportion of it being of quality, the improvement of such proportion with each investment, and the demand are uncertain.

3 Fuzzy Model Formulation

The nomenclature employed to formulate the model is exposed in Table 1, where v refers to vegetables, c to the vegetables quality, i to SF, j to FC, k to MR, m to CM, t to periods of time, and FCi to the set of SFs that belong to a particular FC j. The fuzzy model based on [2] can be presented as follows:

Table 1. Nomenclature
$$ \begin{aligned} \hbox{max} Z & = \mathop \sum \limits_{v} \mathop \sum \limits_{c} \mathop \sum \limits_{i} \mathop \sum \limits_{{j \in FC_{i} }} \mathop \sum \limits_{m} \mathop \sum \limits_{t} \left( {\mathop \sum \limits_{k} Q_{ijkm}^{vct} + qm_{ijm}^{vct} } \right) \cdot p_{ijm}^{vct} \\ & \quad \quad \quad \quad \quad - \mathop \sum \limits_{v} \mathop \sum \limits_{c} \mathop \sum \limits_{i} \mathop \sum \limits_{{j \in FC_{i} }} \mathop \sum \limits_{t} q_{ij}^{vct} \cdot \left( {dij_{ij}^{vt} + r_{ij}^{vt} } \right) \\ & \quad \quad \quad \quad \quad - \mathop \sum \limits_{v} \mathop \sum \limits_{c} \mathop \sum \limits_{i} \mathop \sum \limits_{{j \in FC_{i} }} \mathop \sum \limits_{k} \mathop \sum \limits_{t} qk_{ijk}^{vct} \cdot djk_{jk}^{vt} \\ & \quad \quad \quad \quad \quad - \mathop \sum \limits_{v} \mathop \sum \limits_{c} \mathop \sum \limits_{i} \mathop \sum \limits_{{j \in FC_{i} }} \mathop \sum \limits_{m} \mathop \sum \limits_{t} qm_{ijm}^{vct} \cdot djm_{jm}^{vt} \\ & \quad \quad \quad \quad \quad - \mathop \sum \limits_{v} \mathop \sum \limits_{c} \mathop \sum \limits_{i} \mathop \sum \limits_{{j \in FC_{i} }} \mathop \sum \limits_{k} \mathop \sum \limits_{m} \mathop \sum \limits_{t} Q_{ijkm}^{vct} \cdot dkm_{km}^{vt} \\ & \quad \quad \quad \quad \quad - \mathop \sum \limits_{v} \mathop \sum \limits_{t} \left( {\mathop \sum \limits_{i} w_{i}^{vt} + \mathop \sum \limits_{m} rd_{m}^{vt} } \right) \cdot pc^{vt} - \mathop \sum \limits_{i} \mathop \sum \limits_{{j \in FC_{i} }} \mathop \sum \limits_{t} F_{ij}^{t} \cdot h_{ij}^{t} \\ \end{aligned} $$
(1)

Subject to:

$$ \widetilde{s}_{i}^{vt} = \mathop \sum \limits_{{j \in FC_{i} }} \mathop \sum \limits_{c} q_{ij}^{vct} + w_{i}^{vt} \quad \forall i, v, t $$
(2)
$$ q_{ij}^{vct} \le \tilde{s}_{i}^{vt} \cdot\left( {\tilde{g}_{ij} + \widetilde{\beta } \cdot SL_{ij}^{t} } \right) \quad \forall i, j \in FC_{i} , v, c = 1, t $$
(3)
$$ q_{ij}^{vct} \le \tilde{s}_{i}^{vt} \cdot\left( {1 - \tilde{g}_{ij} - \tilde{\beta } \cdot SL_{ij}^{t} } \right) \quad \forall i, j \in FC_{i} , v, c = 2, t $$
(4)
$$ q_{ij}^{vct} = \mathop \sum \limits_{k} qk_{ijk}^{vct} \quad \forall i, j \in FC_{i} , v, c = 1, t $$
(5)
$$ q_{ij}^{vct} = \mathop \sum \limits_{k} qk_{ijk}^{vct} \quad \forall i, j \in FC_{i} , v, c = 2, t $$
(6)
$$ qm_{ijm}^{vct} = 0\quad \forall i, j \in FC_{i} , v, m, c = 1, t $$
(7)
$$ qm_{ijm}^{vct} = 0\quad \forall i, j \in FC_{i} , v, m, c = 1, t $$
(8)
$$ qk_{ijk}^{vct} = \mathop \sum \limits_{m} Q_{ijkm}^{vct} \quad \forall i, j \in FC_{i} , k, v, c, t $$
(9)
$$ Q_{ijkm}^{vct} \le qk_{ijk}^{vct} \quad \forall i,j \in FC_{i} ,k,m, v, c, t $$
(10)
$$ \mathop \sum \limits_{i} \mathop \sum \limits_{{j \in FC_{i} }} \mathop \sum \limits_{c} \left( {qm_{ijm}^{vct} + \mathop \sum \limits_{k} Q_{ijkm}^{vct} } \right) + rd_{m}^{vt} = \tilde{d}_{m}^{vt} \quad \quad \forall m,v,t $$
(11)
$$ \mathop \sum \limits_{i} \mathop \sum \limits_{{j \in FC_{i} }} \mathop \sum \limits_{t} F_{ij}^{t} \cdot h_{ij}^{t} \le CPB $$
(12)
$$ \left( {\tilde{g}_{ij} + \tilde{\beta } \cdot SL_{ij}^{t} } \right) \le 1 \quad \quad \forall i, j \in FC_{i} , t $$
(13)
$$ SL_{ij}^{t} = l_{ij} + \mathop \sum \limits_{{t_{2} = 0}}^{t} F_{ij}^{{t_{2} }} \quad \forall i, j \in FC_{i} , t $$
(14)
$$ SL_{ij}^{t} = L\quad \forall i, j \in FC_{i} , t $$
(15)
$$ \begin{array}{*{20}c} {F_{ij}^{t} , SL_{ij}^{t} } & {INTEGER} \\ {q_{ij}^{vct} ,qk_{ijk}^{vct} ,qm_{ijm}^{vct} ,Q_{ijkm}^{vct} ,w_{i}^{vt} ,rd_{m}^{vt} } & {CONTINUOUS} \\ \end{array} $$
(16)

The model aims to maximize the profits obtained by the whole AFSC (1). For that, profits obtained when selling QP or NQP, as well as costs related to production, distribution, penalties for rejecting demand or wasting products, and investments in the collaboration program are considered.

The product balance at SF is set in constraint (2). Constraints (3) and (4) state the distribution of harvested product between QP and NQP respectively. Constraints (5) to (8) define the product flow between FC, MR and CM, ensuring that QP are only distributed through MR and NQP are directly served to CM. Product balance at MR is set in constraints (9) and (10). Quantity of demand being served and/or rejected is determined in constraint (11). Constraint (12) ensures that investments in the CP do not exceed the available budget for that purpose. The inability to obtain more QP than the quantity of harvested products is defined in constraint (13). Current skill level for each SF is calculated in constraint (14) and constraint (15) forces it to be lower than or equal to the maximum skill level of the program. Finally, constraint (16) sets the definition of variables.

4 Solution Method

First, the methodology proposed by Jiménez et al. [9] to transform a fuzzy model into an equivalent auxiliary crisp model is employed. The auxiliary MILP crisp model is comprised by the same objective function and constraints that the fuzzy model except for constraints (24), (11) and (13) that are replaced by constraints (1723). We recommend readers to consult original source [9] for more information of this approach.

$$ \left[ {\frac{\alpha }{2}\cdot\left( {\frac{{s_{i}^{vt1} + s_{i}^{vt2} }}{2}} \right) + \left( {1 - \frac{\alpha }{2}} \right)\cdot\left( {\frac{{s_{i}^{vt2} + s_{i}^{vt3} }}{2}} \right)} \right] \ge \mathop \sum \limits_{{j \in FC_{i} }} \mathop \sum \limits_{c} q_{ij}^{vct} + w_{i}^{vt} \quad \forall i, v, t $$
(17)
$$ \left[ {\frac{\alpha }{2}\cdot\left( {\frac{{s_{i}^{vt2} + s_{i}^{vt3} }}{2}} \right) + \left( {1 - \frac{\alpha }{2}} \right)\cdot\left( {\frac{{s_{i}^{vt1} + s_{i}^{vt2} }}{2}} \right)} \right] \le \mathop \sum \limits_{{j \in FC_{i} }} \mathop \sum \limits_{c} q_{ij}^{vct} + w_{i}^{vt} \quad \forall i, v, t $$
(18)
$$ \begin{array}{*{20}c} {q_{ij}^{vct} \le \left[ {\alpha \cdot\left( {\frac{{s_{i}^{vt1} + s_{i}^{vt2} }}{2}} \right) + \left( {1 - \alpha } \right)\cdot\left( {\frac{{s_{i}^{vt2} + s_{i}^{vt3} }}{2}} \right)} \right] + \left( {\left[ {\alpha \cdot\left( {\frac{{g_{ij}^{1} + g_{ij}^{2} }}{2}} \right) + } \right.} \right.} \\ {\left. {\left. {\left( {1 - \alpha } \right)\cdot\left( {\frac{{g_{ij}^{2} + g_{ij}^{3} }}{2}} \right)} \right] + \left[ {\alpha \cdot\left( {\frac{{\beta^{1} + \beta^{2} }}{2}} \right) + \left( {1 - \alpha } \right)\cdot\left( {\frac{{\beta^{2} + \beta^{3} }}{2}} \right)} \right] \cdot SL_{ij}^{t} } \right)} \\ {\forall i, j \in FC_{i} ,v,c = 1, t} \\ \end{array} $$
(19)
$$ \begin{array}{*{20}c} {q_{ij}^{vct} \le \left[ {\alpha \cdot\left( {\frac{{s_{i}^{vt1} + s_{i}^{vt2} }}{2}} \right) + \left( {1 - \alpha } \right)\cdot\left( {\frac{{s_{i}^{vt2} + s_{i}^{vt3} }}{2}} \right)} \right] + \left( {1 - \left[ {\alpha \cdot\left( {\frac{{g_{ij}^{1} + g_{ij}^{2} }}{2}} \right) + } \right.} \right.} \\ {\left. {\left. {\left( {1 - \alpha } \right)\cdot\left( {\frac{{g_{ij}^{2} + g_{ij}^{3} }}{2}} \right)} \right] + \left[ {\alpha \cdot\left( {\frac{{\beta^{1} + \beta^{2} }}{2}} \right) + \left( {1 - \alpha } \right) \cdot \left( {\frac{{\beta^{2} + \beta^{3} }}{2}} \right)} \right] \cdot SL_{ij}^{t} } \right)} \\ {\forall i, j \in FC_{i} ,v,c = 2, t} \\ \end{array} $$
(20)
$$ \begin{array}{*{20}c} {\left[ {\alpha \cdot\left( {\frac{{g_{ij}^{2} + g_{ij}^{3} }}{2}} \right) + \left. {\left( {1 - \alpha } \right)\cdot\left( {\frac{{g_{ij}^{1} + g_{ij}^{2} }}{2}} \right)} \right] + \left[ {\alpha \cdot\left( {\frac{{\beta^{2} + \beta^{3} }}{2}} \right) + } \right.} \right.} \\ {\left. {\left( {1 - \alpha } \right)\cdot\left( {\frac{{\beta^{1} + \beta^{2} }}{2}} \right)} \right] \cdot SL_{ij}^{t} \le 1\quad \forall i, j \in FC_{i} , t} \\ \end{array} $$
(21)
$$ \begin{array}{*{20}c} {\mathop \sum \limits_{i} \mathop \sum \limits_{{j \in FC_{i} }} \mathop \sum \limits_{c} \left( {qm_{ijm}^{vct} + \mathop \sum \limits_{k} Q_{ijkm}^{vct} } \right) + rd_{m}^{vt} \le \left[ {\frac{\alpha }{2}\cdot\left( {\frac{{d_{m}^{vt1} + d_{m}^{vt2} }}{2}} \right) + } \right.} \\ {\left. {\left( {1 - \frac{\alpha }{2}} \right)\cdot\left( {\frac{{d_{m}^{vt2} + d_{m}^{vt3} }}{2}} \right)} \right] \quad \forall \; m,v,t} \\ \end{array} $$
(22)
$$ \begin{array}{*{20}c} {\mathop \sum \limits_{i} \mathop \sum \limits_{{j \in FC_{i} }} \mathop \sum \limits_{c} \left( {qm_{ijm}^{vct} + \mathop \sum \limits_{k} Q_{ijkm}^{vct} } \right) + rd_{m}^{vt} \ge \left[ {\frac{\alpha }{2}\cdot\left( {\frac{{d_{m}^{vt2} + d_{m}^{vt3} }}{2}} \right) + } \right.} \\ {\left. {\left( {1 - \frac{\alpha }{2}} \right)\cdot\left( {\frac{{d_{m}^{vt1} + d_{m}^{vt2} }}{2}} \right)} \right] \quad \forall m,v,t} \\ \end{array} $$
(23)

The grade of feasibility for a particular solution is represented by α that is ranged from 0 to 1. All the fuzzy parameters follow triangular membership functions: \( \tilde{s}_{ij}^{v} = \left( {s_{ij}^{v1} ,s_{ij}^{v2} ,s_{ij}^{v3} } \right) \), \( \tilde{g}_{ij} = \left( {g_{ij}^{1} ,g_{ij}^{2} ,g_{ij}^{3} } \right) \), \( \tilde{d}_{m}^{vt} = \left( {d_{m}^{vt1} ,d_{m}^{vt2} ,d_{m}^{vt3} } \right) \), \( \tilde{\beta } = \left( {\beta^{1} ,\beta^{2} ,\beta^{3} } \right) \).

To select the final solution to be implemented in the AFSC, an interactive resolution method proposed by Peidro et al. [10] is followed. This method is comprised by three steps: (i) to solve the equivalent auxiliary crisp model for different values of α, (ii) to determine the satisfaction of decision maker for each α solution, and (iii) to select the α solution that better balances its feasibility and the decision maker satisfaction. For more detailed information of this approach, see [10].

5 Implementation and Evaluation

The model was implemented in MPL® 5.0.6.114 and solved by using GurobiTM 7.0.2 Solver. A Microsoft Access Database is used to import input data and save decision variables values. The computer used for solving the model has an Intel® Xeon® CPU E5-2640 v2 with two 2.00 GHz processors, with an installed memory RAM of 32.0 GB and a 64-bits operating system.

The instance employed for solving the model is the extracted from [2] for the scenario with 120 periods of time and balanced demand-supply except for the fuzzy parameters. Data for \( s_{i}^{vt} \), \( d_{m}^{vt} \), \( g_{ij} \), \( \beta \) [2] are used as the central values for the \( \tilde{s}_{i}^{vt} \), \( \tilde{d}_{m}^{vt} \), \( \tilde{g}_{ij} \), and \( \tilde{\beta } \) membership functions. The lower and upper limits for all functions are obtained by decreasing and increasing the central value by 10%.

The model has been solved for different grades of feasibility \( \alpha \). To evaluate each solution, two parameters have been selected: the total profits obtained by the whole AFSC \( ({\text{P}}) \) and the total quantity of quality products sold \( \left( {QPS} \right) \). As a second step, the decision maker specifies the aspiration level \( G \) and the tolerance threshold \( tt \) that is willing to accept for each evaluation parameter. This information is employed for identifying the membership function (24) that characterizes the satisfaction of the decision maker with each parameter result.

$$ \mu_{{\widetilde{G}}} \left( z \right) = \left\{ {\begin{array}{*{20}l} 0 \hfill & { if\,z \le G - tt} \hfill \\ {\lambda \in \left[ {0,1} \right] } \hfill & { if\,G - tt \le z \le G} \hfill \\ 1 \hfill & { if\,z \ge G} \hfill \\ \end{array} } \right. $$
(24)

In this case, the decision maker indicates that the aspiration level for \( P \) is 85,000 € although he would tolerate profits from 75,000 €. Similarly, the decision maker aspirate to sell 360,000 kg of QP although he would accept to sell at least 260,000 kg of QP. Using this data, the satisfaction grade for each parameter \( \left( {\mu_{P} } \right.\;{\text{and}}\;\left. {\mu_{QPS} } \right) \) and are calculated per solution (24). The global satisfaction level \( \Lambda \) for each \( \alpha \) solution is determined as a weighted sum of the satisfaction of both evaluation parameters.

The satisfaction of a solution usually increases as the feasibility of the solution decreases. Thus, the solution that better balances the satisfaction degree and the feasibility degree will be selected for its implementation in the AFSC. To determine such balance, an acceptation index \( {\rm K} \) is calculated for each solution as a weighted sum of the acceptation grade of the feasibility grade \( \gamma_{\alpha } \) and the acceptation grade of the satisfaction grade \( \gamma_{\Lambda } \). The acceptation grades for \( \alpha \) and \( \Lambda \) are also determined by the membership function (24). The decision maker determines that the aspiration level for \( \alpha \) is 0.7 although he would tolerate a \( \alpha \) from 0.5. Similarly, he will tolerate \( \Lambda \) from 0.2 but sets the aspiration level for the \( \Lambda \) is 0.6. Results of the application of this interactive resolution method [10] are presented in Table 2.

Table 2. Interactive resolution method results.

The solution obtained with a grade of feasibility equal to 0.6 will be implemented in the AFSC as it has the most elevated acceptation index. In this solution, the MR invest to improve the quantity of QP in 90% of famers. Some farmers receive just one fund whereas other receive up to three funds. However, only the 67% of the budget for the CP is used. With these investments, the profits of the whole AFSC increases in a one per cent and the 85% of demand is fulfilled with QP. Thus, the presented model let MR know the number of funds to give to maximize the profits of the whole AFSC, and the specific farmers to which funds need to be given.

The solved model counted with 16,441 constraints and 12,000 variables, of which 9,840 were continuous variables and 2,160 were integer variables. The optimal solution has been found for all the \( \alpha \) scenarios with an average resolution time of 1.44 s.

6 Conclusions

A model for empowering small-farmers through funds obtained by modern retailers’ investments is proposed. It is considered that the quantity of harvest, the proportion of QP to be obtained from harvest, the improvement of this proportion through the collaboration program and the demand are uncertain parameters. A method to transform the fuzzy model into an equivalent crisp model [9] and an interactive resolution method [10] to select the solution to implement in the AFSC are employed.

To better represent the real behavior of AFSC, the proposed model could be extended by considering more sources of uncertainty existing in AFSC (e.g. economic data) [11]. In addition, the model could be adjusted to represent some real behaviors of consumers. For example, some consumers may not be willing to buy NQP although there is not enough QP to fulfill their demand. In such cases, some demand can be rejected while some NQP can be wasted. The model could also be extended by considering the perishability aspect of the products causing the loss of a proportion of QP and NQP along the entire AFSC. Finally, more realistic managerial and regulatory factors of AFSC as well as other aspects related with the consumers’ behavior could be considered to better adjust the proposed model to real AFSC behavior.