1 Introduction

Growing environmental, social, and ethical concerns and increased awareness of the effects of food production and consumption on the natural environment have led to increased pressure from consumer organizations, environmental advocacy groups, and policymakers on agri-food companies to deal with the sustainability of their supply chains (Allaoui et al., 2018).

Increasing awareness of the threats to human life motivates efforts to achieve sustainability in production and modify consumption patterns. However, the movement toward sustainability has limitations due to human behavior, economic needs, and restrictions on organizations' economic systems (Osranek, 2016). On the other hand, the increased globalization and complexity of the supply chain have caused management to take into account inter-organizational dependencies and sustainability challenges, such as minimizing consumption and preserving the environment, protecting workers' rights, and ensuring that all companies within the supply chain act responsibly. Corporate management decision-making and development strategy should consider sustainability factors, including environmental and social issues, due to their destructive effects on the global supply chain and production network (Awasthi et al., 2018).

Research has focused on improving companies individually and being virtually indifferent to the entire supply chain. Although considerable research has been conducted to assess economic performance, only some studies have examined the three dimensions of sustainability and agri-food supplier decision-making, followed by a prescriptive decision-making model. Most strenuous efforts for supply chain sustainability modeling have been summarized in closed-loop and reverse logistics issues. Most studies have optimized traditional economic factors such as revenue generation or cost minimization. They have provided cost- or revenue-based assessments, and in most of these studies, environmental factors have played a weak role (Xie, 2015). Some research works began to fill this gap. However, they are limited by sustainable supply chain complexities. The supply chain network design becomes challenging when traditional economic models are combined with sustainability metrics. One of the significant challenges is the wide range of influencing factors that need to be considered. Most of them cannot be summarized and evaluated in the one-step optimization problem. Therefore, economic growth, environmental protection, social conditions, and interdisciplinary knowledge must establish a synergistic relationship. Although some efforts have recognized the agri-food supply chain characteristics, only some works have provided a holistic framework (Allaoui et al., 2018).

Network design for agri-food supply chains becomes challenging when sustainability is embraced in the traditional economic-oriented models. One of the main challenges in this context is the broad range of influencing factors associated with sustainability that need to be considered, many of which could not be fully integrated or measured in single-step optimization problems. As a result, synergies must be created between economic growth, environmental protection, and social conditions, with a multidisciplinary scientific and technical approach. Although some work has been done to identify sustainability attributes in the agro-food supply chain, more efforts have yet to be made to develop a holistic framework. This paper intends to address this gap and provide a multi-objective model for the agri-food supply chain with environmental-social-economic considerations. After an overview of operations research methods for sustainable supply chain network design, this study proposes a hybrid method based on multi-criteria decision-making and optimization techniques in operations research.

The remainder of this study is structured as follows. Section 2 provides a systematic literature review of operational research tools and methods for sustainable supply chain design. In Sect. 3, the research supply chain conceptual model is proposed. It also presents criteria for selecting suppliers, potential transformer sites, and key distribution hubs. Section 4 presents a case study of an agri-food supply chain to understand our proposed approach better. The research results are also discussed in this section. Finally, the research conclusions and directions for future studies are provided in Sect. 5.

2 Literature review

In the early twenty-first century, companies have found the necessity to take a holistic view of business operations, especially Supply chain management, after outsourcing key activities due to globalization, using experiences from negotiating with stakeholders, reverse logistics, corporate social responsibility, and IT development. Although the environmental aspect of sustainability has been one of the critical elements of the triple bottom line of sustainability and an intermediary for issues such as climate change and increased energy consumption, researchers and managers often use the term sustainability interchangeably. While the environmental issue has been a starting point for a sustainable supply chain, it is now expanding daily as one of the triple bottom line (economic, environmental, and social) concepts with the same value as other concepts (Carter & Easton, 2011). Research shows that sustainable supply chain management is moving toward balancing financial goals, social performance, and ecological concerns (Seuring & Müller, 2008). A traditional supply chain aims to balance benefits across all stakeholders, improve operational efficiency across facilities, and maximize the profitability of processes and operations. However, addressing environmental concerns, social responsibilities, and economic issues is a priority in the sustainable supply chain. Figure 1 shows the conceptual model of sustainable supply chain management.

Fig. 1
figure 1

Conceptual model of sustainable supply chain management (Chen, 2004)

As shown in Fig. 1, the scope of sustainable supply chain management is not limited to economic, social, and environmental objectives but includes their integration across multiple supply chain operations (Chen, 2004).

As part of this study, along with the economic, environmental, and social dimensions, minimizing the delivery time of a product to the customer is one of the main objectives and concerns of the companies. The study proposes a four-objective model that incorporates sustainability dimensions to reduce the product delivery time to the customer, thereby increasing customer satisfaction and market share.

For integrating external factors and internal processes, the sustainable supply chain management operations in Delpazir Food Company should focus on balancing the following four objectives:

  1. (1)

    Maximize profits or minimize costs

  2. (2)

    Minimize environmental impacts

  3. (3)

    Satisfy social needs

  4. (4)

    Minimize product delivery time to the customer

Allaoui et al. (2018) presented a hybrid and two-step model for solving a sustainable supply chain problem to achieve a sub-optimality in three dimensions of sustainability. In the first stage, they selected partners using a combination of the analytic hierarchy process (AHP) and the ordered weighted averaging (OWA) methods and then used the results in a multi-objective optimization model to optimize the supply chain network design. In their study, the criteria used in the triple bottom line of sustainability are carbon footprints, water footprints, number of job opportunities, and the total cost of the supply chain design. Cheraghalipour et al. (2018) presented a sustainable citrus closed-loop supply chain model to minimize costs and maximize customer demand response in both forward and backward parts of the chain. The Multi-Objective Keshtel Algorithm (MOKA) method was used for the first time to solve this model, and the results of solving this model were compared with NSGA-II, MOSA, and NRGA methods. The study results were compared with a case study of the citrus closed-loop supply chain in northern Iran to ensure its applicability, showing the model's acceptability and solution method. Sazvar et al. (2018) presented a linear multi-objective model to design a sustainable supply chain network of perishable food, considering the economic, social, and environmental dimensions. They used the ε-constraint method to solve this model. The indicators used in their model include minimizing costs, reducing environmental impacts, and in the social dimension, enhancing consumer health. Fathi et al. (2019) designed a Closed Loop Supply Chain Network Considering the Uncertainty in the Quality of Returning Products. The primary purpose of this study is to use a two-stage stochastic programming model and maximize expected earnings for all of the quality status scenarios in which the target function is a combination of revenue from the sale of products and recycled materials and components Recovered, in addition to fixed costs for centers, processes, logistics, and transportation. Due to the complexity of the model, the problem was used with the Lp-shape and CPLEX algorithms, and the GAMS software was used to solve the problem. Based on the research results, the substantive response introduced by CPLEX for the C3 to C6 test questions is significantly far from the optimal responses obtained by the L-Shape method.

Rahimi and Ghezavati (2018) also designed a closed-loop sustainable supply chain under uncertainty by presenting a multi-period MOMILP model. This model considers the random demand for the returned product and the investment rate. A two-stage stochastic programming model is applied to solve the uncertainty. Puji et al. (2017) proposed a multi-objective mathematical model for designing a green closed-loop supply chain network. They sought a balance between the environmental impacts of industrialization and profit maximization as an economic indicator. In their study, the carbon footprint is considered an ecological indicator. Recycling products is regarded as one of the vital choices for achieving economic benefits by considering environmental protection measures in many industries. Insufficient investment and supply chain inefficiency play a significant role in increasing the time between recycling and reuse, which prevents the reuse of recycled products. Soleimani et al. (2017) designed a green closed-loop sustainable supply chain network in fuzzy conditions. This modeling considers suppliers, plants, distribution sites, consumers, storage and warehousing facilities, and return and recycling sites. For recycling, they adopted three levels: product recycling, component recycling, and raw material recycling site. In designing this supply chain network, they considered environmental requirements, increased profit optimization, reduced lost job opportunities, and maximized customer response. They employed genetic algorithms through different scenarios with different aspects to solve this model. The obtained results demonstrated this model's applicability and the solution method's development.

The issue under study is the design of a supply chain network for Delpazir Food Company (Fig. 2). In some research, a supply chain network may be designed for products that have not yet been produced or where there is no production site for these products. In this study, the network design has been done by considering the triple-bottom-line sustainability goals, namely economic, environmental and social, to achieve Delpazir's sustainability strategy and stakeholders' satisfaction. In this multi-tire and multi-product network, raw materials are first produced on farms and agro-industrial companies, which are the same as suppliers, then transferred to transformer sites, which are the same production plants and corporate subsidiaries, and finally sent to customers, who are the same as retail distributors, through wholesale distribution sites.

Fig. 2
figure 2

Agri-food supply chain network under investigation

The following assumptions are made:

  • The model is multi-Stage and multi-product.

  • Product flow exists only between successive facilities, which is impossible between similar facilities.

  • The location and number of raw material suppliers, transformer sites, distributor sites, and customers are fixed.

  • Parameters such as production capacity, costs, demand, carriers' capacity, and product delivery times are considered definitively.

  • The quality of raw materials and products is the same.

  • The locations of potential production and distribution sites are identified.

3 Proposed supply chain conceptual model

This research presents a mathematical model for Delpazir's network design problem in supply chains. This model is a forward network with four levels: farms and agri-industrial companies as suppliers, transformer sites as producers, wholesale distribution sites as distributors, and retail distribution sites as customers. The model has four objective functions: (1) minimizing the total cost, (2) minimizing the environmental footprints, (3) maximizing the job opportunities created, and (4) minimizing product delivery time.

The total cost objective function consists of transportation costs, including the cost of transferring raw materials from suppliers to transformer sites, the cost of transferring from the intermediate transformers to the final transformer, the cost of moving from transformer sites to distributor sites, and also from distribution sites to customer sites, the cost of construction, maintenance, and closure of transformer and distribution sites, the cost of the capacity change of transformer and distribution sites, the cost of production, and the cost of procuring raw materials.

In the second objective function, we try to minimize environmental footprints that adversely impact the environment. From infrastructures to vehicle operations, facilities and transportation between facilities significantly impact environmental pollution. As it has been observed in the literature, most research has focused on minimizing carbon footprint as an objective function, but in this study, in addition to minimizing carbon footprints, nitrous oxide caused by in-house operations has also been considered:

  1. 1.

    Footprints of carbon and nitrous oxide due to product transfer from transformer sites to distributor sites.

  2. 2.

    Footprints of carbon and nitrous oxide due to product transfer from intermediate transformers to final transformer sites.

  3. 3.

    Footprints of carbon and nitrous oxide due to the transfer of raw materials from suppliers to transformer sites.

  4. 4.

    Footprints of carbon and nitrous oxide due to product transfer from transformer sites to distributor sites.

  5. 5.

    Footprints of carbon and nitrous oxide caused by the construction, maintenance, and closure of transformer sites.

  6. 6.

    Footprints of carbon and nitrous oxide caused by the construction, maintenance, and closure of distributor sites.

  7. 7.

    Footprints of carbon and nitrous oxide caused by the production of any product using the specific type of energy in the final transformer sites.

  8. 8.

    Footprints of carbon and nitrous oxide caused by the production of any product using the specified type of energy in the intermediate transformer sites.

  9. 9.

    Footprints of carbon and nitrous oxide caused by the production of any raw materials using a specific type of energy in raw material suppliers.

This study seeks to minimize water consumption as one of the critical substances in nature, which determines many events in the coming years and is one of the current super-challenges in Iran. In the parameters used in water consumption in this objective function, we have:

  1. 1.

    Water consumption to produce a final product unit in the product transformer using a specified type of energy.

  2. 2.

    Water consumption to produce an intermediate product unit in the product transformer site using a specific type of energy.

  3. 3.

    Constant water consumption due to the construction, maintenance, and closure of transformer sites.

  4. 4.

    Constant water consumption due to the construction, maintenance, and closure of distributor sites.

  5. 5.

    Water consumption to produce raw materials by the manufacturer.

The third objective function seeks to maximize the social effects of the supply chain, including fixed and variable job opportunities created during the establishment or construction of a production unit, as well as provide lost job opportunities due to the closure or non-establishment of these facilities in Delpazir's supply chain. The fourth objective function seeks to minimize product delivery time as one of the supply chain resilience criteria.

3.1 Criteria for selecting suppliers, potential transformer sites, and central distribution hubs

Several supplier selection criteria have been collected and categorized from articles and research work, and the industry experts and specialists' views have been collected through the Delphi technique. After identifying the appropriate criteria for supplier selection, these criteria have been weighed through the best–worst method (BWM) technique. Finally, these suppliers are ranked using the complex proportional assessment method. This ranking is used in the mathematical supply chain network model as the input for the number of suppliers.

In multi-attribute decision-making (MADM) methods, multiple alternatives are evaluated according to several criteria to select the best alternative. Based on the best–worst method proposed by Rezaei (2016), the best and worst criteria are identified by the decision-maker. A pairwise comparison is made between these two (best and worst) criteria and other criteria. Then, a minimax problem is formulated and solved to determine the weight of the different criteria. This method also considers a formula for calculating the inconsistency rate to check the validity of the comparisons. Some of the salient features of the best–worst method compared to other multi-attribute decision-making methods are:

  1. 1.

    The best–worst method requires less comparative data.

  2. 2.

    The best–worst method leads to a more robust comparison, i.e., it provides more reliable solutions.

    • The best–worst method Steps

      • Step 1Determine a set of decision criteria: in this step, a set of criteria is defined as \(\left\{ {C_{1} .C_{2} .C_{3} . \ldots .C_{n} } \right\}\), which is needed to make a decision.

      • Step 2Determine the best (most important, most desirable) and the worst (least important and least desirable) criteria: the decision-maker defines the best and worst. No comparisons are made at this stage.

      • Step 3—Determine the preference of the best criterion over all the other criteria regarding a number between 1 and 9: the Best-to-Others (BO) vector is displayed as:

        $$A_{B} = (a_{B1} ,a_{B2} , \ldots ,a_{Bn} )$$

        where aBj represents the preference of the best criterion (B) over the criterion j so that aBB = 1.

      • Step 4—Determine the preference of all criteria over the worst criterion with a number between 1 and 9: the Others-to-Worst (OW) vector is displayed as:

        $$A_{W} = (a_{1W} ,a_{2W} , \ldots ,a_{nW} )^{{\text{T}}}$$

        where ajW represents the preference of the criterion j over the worst criterion W, so that aWW = 1.

      • Step 5Find the optimal weights \(\left( {w_{1}^{*} .w_{2}^{*} . \ldots .w_{n}^{*} } \right)\): the pairs \(\frac{{W_{B} }}{{ W_{j} }}\) = aBj and \(\frac{{W_{j} }}{{W_{w} }}\) = ajw are formed to determine the optimal weight of each criterion. Then, a solution must be found to satisfy all js conditions to maximize absolute differences |\(\frac{{W_{j} }}{{W_{w} }}\)ajw | and |\(\frac{{W_{j} }}{{W_{w} }}\)ajw | for all minimized js. Given the non-negative and total weights, the model can be formulated as Eq. (1).

        $$\begin{aligned} &{\text{minmax}}_{j} \left\{ {\left| {\frac{{W_{j} }}{{W_{w} }} - a_{jw} } \right|,\left| {\frac{{W_{j} }}{{W_{w} }} - a_{jw} } \right|} \right\} \hfill \\ &{\text{s}}{\text{.t}}{.} \hfill \\ \sum_{j = 0} w_{j} = 1 \hfill \\ w_{j} \ge 0,{\text{ for all}}\;j \hfill \\ \end{aligned}$$
        (1)

        The above model can also be converted into the following model:

        $$\begin{aligned} &{\text{Min}}\xi \hfill \\ {\text{s.t.}} \hfill \\ \left| {\frac{{W_{B} }}{{W_{j} }} - a_{Bw} } \right| \le \xi {;}\quad {\text{for all}}\;j \hfill \\ &\left| {\frac{{W_{j} }}{{W_{w} }} - a_{jw} } \right| \le \xi ;\quad {\text{for all}}\;j \hfill \\ \sum_{j = 0} w_{j} = 1 \hfill \\ w_{j} \ge 0,{\text{ for all}}\;j \hfill \\ \end{aligned}$$
        (2)

        The above function's linear model is also presented as follows:

        $$\begin{aligned} &{\text{Min}} \zeta \hfill \\ {\text{s}}.{\text{t}}. \hfill \\ & \left| {w_{B} - a_{Bj} *w_{j} } \right| \le \xi ;{\text{ for all}}\;j \hfill \\ \left| {w_{j} - a_{jw} *w_{w} } \right| \le \xi ;{\text{ for all}}\;j \hfill \\ \sum_{j = 0} w_{j} = 1 \hfill \\ w_{j} \ge 0,{\text{ for all}}\;j \hfill \\ \end{aligned}$$
        (3)

In this study, the criteria weights are obtained using a linear model. The optimal values of \(\left( {w_{1}^{*}\cdot w_{2}^{*} \cdot \ldots\cdot w_{n}^{*} } \right)\) and \(\zeta^{*}\) are obtained by solving the above model.

The Complex Proportional Assessment method was developed by Zavadskas et al. (1994). The steps of the complex proportional assessment method are presented below.

  • Formation of the decision matrix

  • Calculate the criteria weights: in this step, the criteria weights must be determined by one of the weighting methods, such as the best–worst method.

  • Normalization of the decision matrix: in this step, the decision matrix of the complex proportional assessment method must be normalized.

    $$d_{ij} = \frac{{q_{i} }}{{\sum_{1}^{n} x_{ij} }} x_{ij}$$
    (4)
  • Calculate the sum of normalized values: in this step, the sum of the normalized values of the positive and negative criteria must be calculated separately for each alternative.

    $$s_{j}^{ + } = \sum_{{z_{j} = + }} d_{ij}$$
    (5)
    $$s_{j}^{ - } = \sum_{{z_{j} = - }} d_{ij}$$
    (6)
  • Final ranking of the alternatives: in this step, we rank alternatives according to the following relation: the calculation of the complex proportional assessment index. The higher the Qi value, the better the alternative rank in the prioritization. The alternative with the highest value is the ideal solution.

    $$Q_{i} = s_{j}^{ + } + \frac{{s_{min}^{ - } * \sum_{j = 1}^{n} s_{j}^{ - } }}{{s_{j}^{ - } * \sum_{j = 1}^{n} \frac{{s_{min}^{ - } }}{{s_{j}^{ - } }}}}$$
    (7)
  • The final step is to determine the best alternative among the criteria. As the rank of each alternative increases or decreases, its utility degree also increases or decreases. Alternatives with the best ranking in terms of criteria are determined with Nj's highest utility degree, where \(N_{j}\) equals 100%. The total utility degree of each criterion is calculated from 0 to 100%, among which the best and worst alternatives are determined. The utility degree \(\left( {N_{j} } \right)\) of each alternative Aj is calculated based on the following formula:

    $$N_{j} = \frac{{Q_{j} }}{{Q_{max} }}*100$$
    (8)

3.2 The proposed mathematical programming model

Index notations:

Supplier set

s = 1,2,….,S

Product transformer sites

j = 1,2,….,J

Middle (intermediate) product transformers

jʹ = 1,2,….,J

Distributor sites

d = 1,2,…, D

Customers

c = 1,2,…, C

Product set

p = 1,2,…, P

Raw material set

\(m^{\prime}\) = 1,2,…, Mʹ

Middle (intermediate) goods

m = 1,2,…, M

Transport mode

h = 1,2,…, H

Energy type

e = 1,2,…, E

Period

t = 1,2,…, T

Capacity level

\(\alpha = 1.2.3\)

Cities to which the product is shipped from the distributor

f = 1,2,…, F

Parameters:

ODpdfct

Product order by customer c in period t;

NM\(m^{\prime}m\)

Number of units of raw material \(m^{\prime}\) required to make one unit of component m;

NMmp

Number of units of raw materials m to produce a unit of product \(P\);

SC\(m^{\prime}st\)

Supplier capacity S to provide raw materials \(m^{\prime}\) in period t;

CLTjαt

Lower bound on the capacity of transformer site j using capacity α in period t;

CLDdαt

Lower bound on the capacity of distributor site d using capacity α in period t;

CUTjαet

Upper bound on the capacity of transformer site j using capacity α in period t;

CUDdαet

Upper bound on the capacity of distributor site d using capacity α in period t;

CITjαt

The initial capacity of transformer site j at the beginning of the first period (t = 1);

CIDdαt

The initial capacity of distributor site d at the beginning of the first period (t = 1);

ISTjαet

The initial state of transformer site j using capacity α at the beginning of the first period (opening = 1, closure = 0);

ISDdαet

The initial state of distributor site d using capacity α at the beginning of the first period (opening = 1, closure = 0);

FCOTjαet

Fixed cost of opening (establishing or constructing) per unit of product in transformer site j using capacity α and energy type e in period t;

FCODdαet

Fixed cost of opening (establishing or constructing) per unit of product in distributor site d using capacity α and energy type e in period t;

FCMTjαet

Fixed cost of maintaining per unit of product in transformer site j using capacity α and energy type e in period t;

FCMDdαet

Fixed cost of maintaining per unit of product in distributor site d using capacity α and energy type e in period t;

FCCTjαet

Fixed cost of closing per unit of product in transformer site j using capacity α and energy type e in period t;

FCCDdαet

Fixed cost of closing per unit of product in distributor site d using capacity α and energy type e in period t;

FCICTjαt

Fixed cost of increasing per unit of production capacity in transformer site j using capacity α in period t;

FCICDdαt

Fixed cost of increasing per unit of production capacity in distributor site d using capacity α in period t;

FCMCTjαt

Fixed cost of maintaining per unit of production capacity in transformer site j using capacity α in period t;

FCMCDdαt

Fixed cost of maintaining per unit of production capacity in distributor site d using capacity α in period t;

FCDCTjαt

Fixed cost of decreasing per unit of production capacity in transformer site j using capacity α in period t;

FCDCDdαt

Fixed cost of decreasing per unit of production capacity in distributor site d using capacity α in period t;

TCST \(m^{\prime}sj^{\prime}ht\)

Transportation cost of one unit of raw material \(m^{\prime}\) from the supplier s to transformer jʹ using transport mode h in period t;

TCTTmj\(^{\prime}\)jht

Transportation cost of one unit of middle goods m from transformer jʹ to transformer j using transport mode h in period t;

TCTDpjdht

Transportation cost of one unit of product p from transformer j to distributor d using transport mode h in period t;

TCDCpdfcht

Transportation cost of one unit of product p from distributor d to customer c using transport mode h in period t;

CPPpjαet

The production cost of one unit of product p in transformer site j using capacity α and energy type e in period t;

CPMmjʹαet

The production cost of one unit of middle goods m in transformer site jʹ using capacity α and energy type e in period t;

PCM \(m^{\prime}st\)

The procurement cost of one unit of raw material \(m^{\prime}\) from supplier s in period t;

ETST \(m^{\prime}sj^{\prime}ht\)

Carbon emissions caused by transporting one unit of raw material \(m^{\prime}\) from supplier s to transformer jʹ using transport mode h in period t;

NETST \(m^{\prime}sj^{\prime}ht\)

Nitrous emissions caused by transporting one unit of raw material \(m^{\prime}\) from supplier s to transformer jʹ using transport mode h in period t;

\(ETTT_{{mj^{\prime}jht}}\)

Carbon emission caused by transporting one unit of middle goods m from transformer jʹ to transformer j using transport mode h in period t;

\(NETTT_{{mj^{\prime}jht}}\)

Nitrous emission caused by transporting one unit of middle goods m from transformer jʹ to transformer j using transport mode h in period t;

ETTDpjdht

Carbon emission caused by transporting one unit of product p from transformer j to distributor d using transport mode h in period t;

NETTDpjdht

Nitrous emission caused by transporting one unit of product p from transformer j to distributor d using transport mode h in period t;

ETDCpdfcht

Carbon emission caused by transporting one unit of product p from distributor d to customer c using transport mode h in period t;

NETDCpdfcht

Nitrous emission caused by transporting one unit of product p from distributor d to customer c using transport mode h in period t;

EPTpjαet

Carbon emission caused by producing one unit of product p in transformer site j using capacity α and energy type e in period t;

NEPTpjαet

Nitrous emission caused by producing one unit of product p in transformer site j using capacity α and energy type e in period t;

EPTMmj'αet

Carbon emission caused by producing one unit of middle goods m in transformer site jʹ using capacity α and energy type e in period t;

NEPTMmj'αet

Nitrous emission caused by producing one unit of middle goods m in transformer site jʹ using capacity α and energy type e in period t;

EGPS \(m^{\prime}st\)

Carbon emissions generated by producing one unit of raw material \(m^{\prime}\) by the supplier s in period t;

NEGPS \(m^{\prime}st\)

Nitrous emissions generated by producing one unit of raw material \(m^{\prime}\) by the supplier s in period t;

WPTpjαet

Water to produce one unit of product p in transformer site j using capacity α and energy e and period t;

WPTMmj'αet

Water to produce one unit of middle goods m in transformer site jʹ using capacity α and energy type e in period t;

WCPS \(m^{\prime}st\)

Water consumption to produce one unit of raw material \(m^{\prime}\) by the supplier s in period t;

FWCOTjαet

Fixed water consumption for opening transformer site j using capacity α and energy type e in period t;

FWCMTjαet

Fixed water consumption for maintaining transformer site j using capacity α and energy type e in period t;

FWCCTjαet

Fixed water consumption for closing transformer site j using capacity α and energy type e in period t;

FWCODdαet

Fixed water consumption for opening distributor site d using capacity α and energy type e in period t;

FWCMDdαet

Fixed water consumption for maintaining distributor site d using capacity α and energy type e in period t;

FWCCDdαet

Fixed water consumption for closing distributor site d using capacity α and energy type e in period t;

WSIJJ

Water stress index of transformer site j;

WSIDd

Water stress index of distributor site d;

WSIJJ'

Water stress index of transformer site jʹ;

WSISs

Water stress index of supplier s;

FEGOTjαet

Fixed emission generated per unit of a product when opening transformer site j using capacity α and energy type e in period t;

FEGMTjαet

Fixed emission generated per unit of a product when maintaining transformer site j using capacity α and energy type e in period t;

FEGCTjαet

Fixed emission generated per unit of a product when closing transformer site j using capacity α and energy type e in period t;

FEGODdαet

Fixed emission generated per unit of a product when opening distributor site d using capacity α and energy type e in period t;

FEGMDdαet

Fixed emission generated per unit of a product when maintaining distributor site d using capacity α and energy type e in period t;

FEGCDdαet

Fixed emission generated per unit of a product when closing distributor site d using capacity α and energy type e in period t;

WW1

Weight of CO2 in the environmental objective function;

WW2

Weight of water in the environmental objective function;

b

The conversion factor of water weight to CO2 weigh t;

a

The weighted conversion factor of nitrous oxide to CO2;

TTS \(m^{\prime}sjht\)

Time to transport one unit of raw material \(m^{\prime}\) from the supplier s to transformer site j using transport mode h in period t;

TTTTmj'jht

Time to transport one unit of middle goods m from intermediate product transformer site jʹ to final product transformer j using transport mode h in period t;

TTOTpjdht

Time to transport one unit of product p from opened transformer j to distributor d using transport mode h in period t;

TTMTpjdht

Time to transport one unit of product p from maintained transformer j to distributor d using transport mode h in period t;

TTODpdfcht

Time to transport one unit of product p from opened distributor d to customer c using transport mode h in period t;

TTMDpdfcht

Time to transport one unit of product p from maintained distributor d to customer c using transport mode h in period t;

TPOPpjet

Time to produce one unit of product p when opening transformer site j using energy type e in period t;

TPMPpjet

Time to produce one unit of product p when maintaining transformer site j using energy type e in period t;

TPOMmjet

Time to produce one unit of middle goods m when opening transformer site j using energy type e in period t;

TPMMmjet

Time to produce one unit of middle goods m when maintaining transformer site j using energy type e in period t;

FJOOTjt

Fixed job opportunities created during opening transformer site j in period t;

FJOMTjt

Fixed job opportunities created during maintaining transformer site j in period t;

FJOODdt

Fixed job opportunities created during opening distributor site d in period t;

FJOMDdt

Fixed job opportunities created during maintaining distributor site d in period t;

VJOOTjαt

Variable job opportunities created during the opening of transformer site j using capacity α and energy type e in period t;

VJOMTjαt

Variable job opportunities created during maintaining transformer site j using capacity α and energy type e in period t;

VJOODdαt

Variable job opportunities created during opening distributor site d using capacity α and energy type e in period t;

VJOMDdαt

Variable job opportunities created during maintaining distributor site d using capacity α and energy type e in period t;

CSJjαt

Capacity supply of transformer site j using capacity α in period t;

CSDDdαt

Capacity supply of distributor site d using capacity α in period t;

Decision variables:

IVICTjαt

Integer variable indicating the increased capacity of transformer site j using capacity α in period t;

IVACTjαt

Integer variable indicating the available capacity of transformer site j using capacity α in period t;

IVDCTjαt

Integer variable indicating the decreased capacity of transformer site j using capacity α in period t;

IVICDdαt

Integer variable indicating the increased capacity of distributor site d using capacity α in period t;

IVACDdαt

Integer variable indicating the available capacity of distributor site d using capacity α in period t;

IVDCDdαt

Integer variable indicating the decreased capacity of distributor site d using capacity α in period t;

ART \(m^{\prime}sj^{\prime}ht\)

Amount of raw material \(m^{\prime}\) transported from supplier s to transformer site jʹ using transport mode h in period t;

AMTmjʹjht

Amount of middle goods m transported from transformer site jʹ to transformer site j using transport mode h in period t;

APTJpjdht

Amount of product p transported from transformer j to distributor d using transport mode h in period t;

APTCpdfcht

Amount of product p transported from distributor d to customer c using transport mode h in period t;

APMpjαet

Amount of product p manufactured in transformer site j using capacity α and energy type e in period t;

AMMmjʹαet

Amount of middle goods m manufactured in transformer site jʹ using capacity α and energy type e in period t;

CSTjαet

The current state of transformer site j using capacity α and energy type e in period t (opening = 1, closing = 0);

OSTjαet

Opening state of transformer site j using capacity α and energy type e in period t (opening = 1, closing = 0);

CCSTjαet

Closing state of transformer site j using capacity α and energy type e in period t (closing = 1, opening = 0);

CSDdαet

The current state of distributor site d using capacity α and energy type e in period t (opening = 1, closing = 0);

OSDdαet

Opening state of distributor site d using capacity α and energy type e in period t (opening = 1, closing = 0);

CCSDdαet

Closing state of distributor site d using capacity α and energy type e in period t (closing = 1, opening = 0);

PST\(m^{\prime}sj^{\prime}t\)

Purchasing state of raw material \(m^{\prime}\) by transformer site jʹ from supplier s (purchasing = 1, otherwise = 0);

3.3 Objective functions of the proposed mathematical model

The research model includes four objective functions: (1) minimizing the total costs, (2) minimizing the environmental footprints, (3) maximizing the job opportunities created, and (4) minimizing product delivery time. The first objective function involves minimizing the total costs: In this study, the costs considered for supply chain network design include transportation costs (transportation costs from supplier to manufacturer, from transformer site to manufacturer, from transformer site to distributor, and finally from distributor to customers), the costs of opening (construction), closure or maintenance of production sites, distribution, production costs, raw material procurement costs, and fixed costs of capacity change. Equation (9) shows the mathematical formula of this objective function.

$$\begin{aligned} Z_{1} & = Min\left( {\sum_{p} \sum_{d} \sum_{f} \sum_{c} \sum_{h} \sum_{t} TCDC_{pdfcht} * APTC_{pdfcht} + \sum_{p} \sum_{j} \sum_{d} \sum_{h} \sum_{t} TCTD_{pjdht} * APTJ_{pjdht} } \right. \\ &\quad \left. { + \sum_{{m^{\prime}}} \sum_{s} \sum_{{j^{\prime}}} \sum_{h} \sum_{t} TCST_{{m^{\prime}sj^{\prime}ht}} * ART_{{m^{\prime}sj^{\prime}ht}} + \sum_{m} \sum_{{j^{\prime}}} \sum_{j} \sum_{h} \sum_{t} TCTT_{{mj^{\prime}jht}} * AMT_{{mj^{\prime}jht}} } \right) \\ &\quad + \left( {\sum_{j} \sum_{\alpha } \sum_{e} \sum_{t} (FCOT_{j\alpha et} *OST_{j\alpha et} + FCMT_{j\alpha et} *CST_{j\alpha et} + FCCT_{j\alpha et} *CCST_{j\alpha et} } \right) \\ &\quad + \sum_{d} \sum_{\alpha } \sum_{e} \sum_{t} (FCOD_{d\alpha et} *OSD_{d\alpha et} + FCMD_{d\alpha et} *CSD_{d\alpha et} + FCCD_{d\alpha et} *CCSD_{d\alpha et} ) \\ &\quad + \sum_{j} \sum_{\alpha } \sum_{t} \left( {FCICT_{j\alpha t} *IVICT_{j\alpha t} + FCMCT_{j\alpha t} * IVACT_{j\alpha t} + FCDCT_{j\alpha t} *IVDCT_{j\alpha t} } \right) \\ &\quad + \sum_{d} \sum_{\alpha } \sum_{t} \left( {FCICD_{d\alpha t} *IVICD_{d\alpha t} + FCMCD_{d\alpha t} * IVACD_{d\alpha t} + FCDCD_{d\alpha t} *IVDCD_{d\alpha t} } \right) \\ &\quad + \sum_{p} \sum_{j} \sum_{\alpha } \sum_{e} \sum_{t} (CPP_{pj\alpha et} * APM_{pj\alpha et} ) + \sum_{m} \sum_{{j^{\prime}}} \sum_{\alpha } \sum_{e} \sum_{t} (CPM_{{mj^{\prime}\alpha et}} * AMM_{{mj^{\prime}\alpha et}} ) \\ &\quad + \sum_{{m^{\prime}}} \sum_{s} \sum_{{j^{\prime}}} \sum_{h} \sum_{t} (PCM_{{m^{\prime}st}} * ART_{{m^{\prime}sj^{\prime}ht}} ) \\ \end{aligned}$$
(9)

The second objective function involves minimizing the environmental footprints: this objective function tries to minimize the adverse environmental impacts of the agri-food supply chain. Operations required for facilities and flow transfer between facilities significantly impact environmental pollution. Minimizing the emissions of CO2, nitrogen oxide compounds, other greenhouse gases, and water consumption along the chain due to water stress in most parts of the world can focus on the environmental function. In this study, minimizing CO2 and nitrogen oxide emissions caused by in-house operations and flow transfer between facilities and water consumption for raw material production, water consumption for the production and distribution of products is considered an environmental function. Equation (10) shows the mathematical formula of this objective function.

$$ \begin{aligned} {\text{Z}}_{{\text{2}}} & = Min~\left( {ww_{1} *\left( {\left( {\sum_{p} \sum_{d} \sum_{f} \sum_{c} \sum_{h} \sum_{t} ETDC_{{pdfcht}} *APTC_{{pdfcht}} )} \right.} \right.} \right. \\ \quad + \left( {a*\left( {\left( {\sum_{p} \sum_{d} \sum_{f} \sum_{c} \sum_{h} \sum_{t} NETDC_{{pdfcht}} *APTC_{{pdfcht}} } \right)} \right)} \right. \\ & \quad + \left( {\sum_{p} \sum_{j} \sum_{d} \sum_{h} \sum_{t} ETTD_{{pjdht}} *APTJ_{{pjdht}} } \right) + \left( {a*\left( {\sum_{p} \sum_{j} \sum_{d} \sum_{h} \sum_{t} NETTD_{{pjdht}} *~APTJ_{{pjdht}} } \right)} \right) \\ &\quad + \left( {\sum_{m} \sum_{{j^{\prime}}} \sum_{j} \sum_{h} \sum_{t} ETTT_{{mj^{\prime}jht}} *AMT_{{mj^{\prime}jht}} } \right) + \left( {a*\left( {\sum_{m} \sum_{{j^{\prime}}} \sum_{j} \sum_{h} \sum_{t} NETTT_{{mj^{\prime}jht}} *~AMT_{{mj^{\prime}jht}} } \right)} \right) \\ \quad + \left( {a*\left( {\sum_{{m^{\prime}}} \sum_{s} \sum_{{j^{\prime}}} \sum_{h} \sum_{t} NETST_{{m^{\prime}sj^{\prime}ht}} *ART_{{m^{\prime}sj^{\prime}ht}} } \right)} \right) + \left( {\sum_{{m^{\prime}}} \sum_{s} \sum_{{j^{\prime}}} \sum_{h} \sum_{t} ETST_{{m^{\prime}sj^{\prime}ht}} *ART_{{m^{\prime}sj^{\prime}ht}} } \right) \\ &\quad + \sum_{j} \sum_{\alpha } \sum_{e} \sum_{t} (FEGOT_{{j\alpha et}} *OST_{{j\alpha et}} + FEGMT_{{j\alpha et}} *CST_{{j\alpha et}} + FEGCT_{{j\alpha et}} *CCST_{{j\alpha et}} ) \\ &\quad + \sum_{d} \sum_{\alpha } \sum_{e} \sum_{t} (FEGOD_{{d\alpha et}} *OSD_{{d\alpha et}} + FEGMD_{{d\alpha et}} *CSD_{{d\alpha et}} + FEGCD_{{d\alpha et}} *CCSD_{{d\alpha et}} ) \\ \quad + \sum_{p} \sum_{j} \sum_{\alpha } \sum_{e} \sum_{t} \left( {EPT_{{pj\alpha et}} *APM_{{pj\alpha et}} } \right) + \left( {a*\left( {\sum_{p} \sum_{j} \sum_{\alpha } \sum_{e} \sum_{t} \left( {NEPT_{{pj\alpha et}} *APM_{{pj\alpha et}} } \right)} \right)} \right) \\ &\quad + \sum_{m} \sum_{{j^{\prime}}} \sum_{\alpha } \sum_{e} \sum_{t} \left( {EPTM_{{mj^{\prime}\alpha et}} *AMM_{{mj^{\prime}\alpha et}} } \right) + \left( {a*\left( {\sum_{m} \sum_{{j^{\prime}}} \sum_{\alpha } \sum_{e} \sum_{t} \left( {NEPTM_{{mj^{\prime}\alpha et}} *AMM_{{mj^{\prime}\alpha et}} } \right)} \right)} \right) \\ &\quad + \sum_{{m^{\prime}}} \sum_{s} \sum_{{j^{\prime}}} \sum_{h} \sum_{t} \left( {EGPS_{{m^{\prime}st}} *ART_{{m^{\prime}sj^{\prime}ht}} } \right) + \left( {a*\left( {\sum_{{m^{\prime}}} \sum_{s} \sum_{{j^{\prime}}} \sum_{h} \sum_{t} \left( {NEGPS_{{m^{\prime}st}} *ART_{{m^{\prime}sj^{\prime}ht}} } \right)} \right)} \right) \\ &\quad + ww_{2} *b*\left( {\left( {\sum_{m} \sum_{{j^{\prime}}} \sum_{\alpha } \sum_{e} \sum_{t} (WSIJJ_{{j^{\prime}}} *WPTM_{{mj^{\prime}\alpha et}} *AMM_{{mj^{\prime}\alpha et}} )} \right) + \left( {\sum_{p} \sum_{j} \sum_{\alpha } \sum_{e} \sum_{t} ~(WSIJ_{j} *WPT_{{pj\alpha et}} *APM_{{pj\alpha et}} )} \right)} \right) \\ &\quad + \sum_{j} \sum_{\alpha } \sum_{e} \sum_{t} WSIJ_{j} *\left( {FWCOT_{{j\alpha et}} *OST_{{j\alpha et}} + FWCMT_{{j\alpha et}} *CST_{{j\alpha et}} + FWCCT_{{j\alpha et}} *CCST_{{j\alpha et}} } \right) \\ &\quad + \sum_{d} \sum_{\alpha } \sum_{e} \sum_{t} WSID_{d} *\left( {FWCOD_{{d\alpha et}} *OSD_{{d\alpha et}} + FWCMD_{{d\alpha et}} *CSD_{{d\alpha et}} + FWCCD_{{d\alpha et}} *CCSD_{{d\alpha et}} } \right) \\ &\quad + \sum_{{m^{\prime}}} \sum_{s} \sum_{{j^{\prime}}} \sum_{h} \sum_{t} \left( {WSIS_{s} *WCPS_{{m^{\prime}st}} *ART_{{m^{\prime}sj^{\prime}ht}} } \right) \\ \end{aligned} $$
(10)

The third objective function seeks to maximize the social effects of the supply chain in question. This function includes job opportunities created during the establishment or construction of a production unit. In this study, job opportunities are divided into fixed and variable categories. Fixed job opportunities are independent of the capacity of the facilities, such as managerial jobs. However, variable job opportunities, such as workers' jobs, vary depending on the facility's capacity.

$$\begin{aligned} Z_{3} & = Max {\sum_{j} \sum_{\alpha } \sum_{e} \sum_{t} (FJOOT_{jt} *OST_{j\alpha et} + FJOMT_{jt} *CST_{j\alpha et}) } \\ &\quad + \sum_{d} \sum_{\alpha } \sum_{e} \sum_{t} \left( {FJOOD_{dt} *OSD_{d\alpha et} + FJOMD_{dt} *CSD_{d\alpha et} } \right) \\ &\quad + \sum_{p} \sum_{j} \sum_{\alpha } \sum_{e} \sum_{t} \left( {\frac{{VJOOT_{j\alpha t} *APM_{pj\alpha et} }}{{CSJ_{j\alpha t} }}} \right) + \sum_{p} \sum_{j} \sum_{\alpha } \sum_{e} \sum_{t} \left( {\frac{{VJOMT_{j\alpha t} *APM_{pj\alpha et} }}{{CSJ_{j\alpha t} }}} \right) \\ &\quad \left. { + \sum_{p} \sum_{j} \sum_{d} \sum_{\alpha } \sum_{h} \sum_{t} \left( {\frac{{VJOOD_{d\alpha t} *APTJ_{pjdht} }}{{CSDD_{d\alpha t} }}} \right) + \sum_{p} \sum_{j} \sum_{d} \sum_{\alpha } \sum_{h} \sum_{t} \left( {\frac{{VJOMD_{d\alpha t} *APTJ_{pjdht} }}{{CSDD_{d\alpha t} }}} \right)} \right.\\ \end{aligned}$$
(11)

The fourth objective function seeks to minimize product delivery time to the customer. This function assumes that all products are potentially and actually produced on transformer sites and that each facility can procure raw materials from any supplier. The function considers the transportation time of raw materials from the supplier to the transformer site, product transportation time from the intermediate product transformer site to the final product transformer site, product transportation time from the transformer site to distribution sites, and product manufacturing time in transformer sites. All parameters are in seconds and product units.

$$\begin{aligned} Z_{4} & = Min\left( {\sum_{{m^{\prime}}} \sum_{s} \sum_{{j^{\prime}}} \sum_{j} \sum_{h} \sum_{t} \left( { TTS_{{m^{\prime}sjht}} *PST_{{m^{\prime}sj^{\prime}}} } \right)} \right. \\ & \quad + ( \sum_{p} \sum_{j} \sum_{d} \sum_{\alpha } \sum_{h} \sum_{e} \sum_{t} \left( { TTOT_{pjdht} *OST_{j\alpha et} + TTMT_{pjdht} *CST_{j\alpha et} } \right) \\ &\quad + ( \sum_{m} \sum_{{j^{\prime}}} \sum_{j} \sum_{\alpha } \sum_{h} \sum_{e} \sum_{t} \left( { TTTT_{{mj^{\prime}jht}} *\left( {OST_{j\alpha et} + CST_{j\alpha et} } \right)} \right) \\ &\quad + ( \sum_{p} \sum_{d} \sum_{f} \sum_{c} \sum_{\alpha } \sum_{h} \sum_{e} \sum_{t} \left( { TTOD_{pdfcht} *OSD_{d\alpha et} + TTMD_{pdfcht} *CSD_{d\alpha et} } \right) \\ &\quad + ( \sum_{p} \sum_{j} \sum_{\alpha } \sum_{e} \sum_{t} \left( { TPOP_{pjet} *OST_{j\alpha et} + TPMP_{pjet} *CST_{j\alpha et} } \right) \\ & \quad + ( \sum_{m} \sum_{j} \sum_{\alpha } \sum_{e} \sum_{t} \left( { TPOM_{mjet} *OST_{j\alpha et} + TPMM_{mjet} *CST_{j\alpha et} } \right) \\ \end{aligned}$$
(12)

3.3.1 Constraints

  • Demand constraint

    $$\sum_{h} APTC_{pdfcht} \le OD_{pdfct}$$
    (13)
    $$\sum_{h} ART_{{m^{\prime}sj^{\prime}ht}} \le PST_{{m^{\prime}sj^{\prime}t}} *SC_{{m^{\prime}st}}$$
    (14)
  • Transformer site constraint

    $$IVACT_{j\alpha 1} \, = CIT_{j\alpha 1} \, *\sum_{e} \left( { OST_{j\alpha e1} + CST_{j\alpha e1} } \right)\quad ({\text{for}}\;j \in J, \, t = 1 \, )$$
    (15)
    $$IVACT_{j\alpha t} = IVACT_{j\alpha t - 1} + IVICT_{j\alpha t} - IVDCT_{j\alpha t} \quad (j \in J,t \ge 2)$$
    (16)
    $$IVACT_{j\alpha t} \ge CLT_{j\alpha t} *\sum_{e} \left( { OST_{j\alpha et} + CST_{j\alpha et} - CCST_{j\alpha et} } \right) \quad (j \in J,t \ge {2},\alpha \in \alpha )$$
    (17)
    $$IVACT_{j\alpha t} \le 0.5*\sum_{e} \left( { CUTj\alpha et} \right) *\sum_{e} \left( { OST_{j\alpha et} + CST_{j\alpha et} - CCST_{j\alpha et} } \right)\quad (j \in J,t \ge 2,\alpha \in \alpha )$$
    (18)
    $$IVICT_{j\alpha t} \le \sum_{e} CUT_{j\alpha et} *\left( {\sum_{e} (OST_{j\alpha et} + CST_{j\alpha et} - CCST_{j\alpha et} } \right)\quad \left( { j \in J , t \ge 2, \alpha \in \alpha } \right)$$
    (19)
    $$IVDCT_{j\alpha t} \le IVACT_{j\alpha t} { }\left( { j \in J , t \ge 2, \alpha \in \alpha } \right)$$
    (20)
    $$IVACT_{j\alpha t} = CLT_{j\alpha t} \quad t = 1$$
    (21)
    $$IVICT_{j\alpha t} = 0\quad t = 1$$
    (22)
    $$IVDCT_{j\alpha t} = 0\quad t = 1$$
    (23)
  • Distributor site constraint

    $$IVACD_{d\alpha 1} = CID_{d\alpha 1} + \sum_{e} \left( { OSD_{d\alpha e1} + CSD_{d\alpha e1} } \right)\quad \left( {d \in D, t = 1} \right)$$
    (24)
    $$IVACD_{d\alpha t} \le IVACD_{d\alpha t - 1} + IVICD_{d\alpha t} - IVDCD_{d\alpha t} \quad \left( {d \in D, t \ge 2} \right)$$
    (25)
    $$IVACD_{d\alpha t} \ge CLD_{d\alpha t} *\sum_{e} \left( { OSD_{d\alpha e1} + CSD_{d\alpha e1} - CCSD_{d\alpha et} } \right)\quad \left( {d \in D, t \ge 2} \right)$$
    (26)
    $$IVACD_{d\alpha t} \le 0.{5}*\sum_{e} CUD_{d\alpha et} *\left( {\sum_{e} \left( {{ }OSD_{d\alpha et} + CSD_{d\alpha et} - { }CCSD_{d\alpha et} { }} \right)} \right)\quad \left( {d \in D, t \ge 2} \right)$$
    (27)
    $$IVICD_{d\alpha t} \le \, 0.{5}*\sum_{e} CUD_{d\alpha et} *\left( {\sum_{e} \left( {{ }OSD_{d\alpha et} + CSD_{d\alpha et} - { }CCSD_{d\alpha et} { }} \right)} \right)\quad \left( {d \in D, t \ge 2} \right)$$
    (28)
    $$IVDCD_{d\alpha t} \le IVACD_{d\alpha t}$$
    (29)
    $$IVACD_{d\alpha t} \le CLD_{d\alpha t} \quad t = 1$$
    (30)
    $$IVICD_{d\alpha t} = 0\quad t = 1$$
    (31)
    $$IVDCD_{d\alpha t} = 0\quad t = 1$$
    (32)

Production and transportation constraints

$$\sum_{p} \sum_{f} \sum_{c} \sum_{h} APTC_{pdfcht} \le \sum_{\alpha } IVACD_{d\alpha t}$$
(33)
$$\sum_{h} \sum_{j} APTJ_{pjdht} \ge \sum_{h} \sum_{c} \sum_{f} APTC_{pdfcht}$$
(34)
$$\sum_{p} \sum_{j} \sum_{\alpha } \sum_{e} \sum_{t} APM_{pj\alpha et} \ge \sum_{p} \sum_{d} \sum_{f} \sum_{c} \sum_{h} \sum_{t} APTC_{pdfcht}$$
(35)
$$\sum_{d} \sum_{h} APTJ_{pjdht} \le \sum_{\alpha } \sum_{e} APM_{pj\alpha et}$$
(36)
$$\sum_{p} APM_{pj\alpha t} \le CSJ_{j\alpha t} *\left( { OST_{j\alpha et} + CST_{j\alpha et} - CCST_{j\alpha et} } \right)$$
(37)
$$\sum_{p} \sum_{e} APM_{pj\alpha t} \le IVICT_{j\alpha t}$$
(38)
$$\sum_{p} APM_{pj\alpha t} \le CUT_{j\alpha et} *\left( { OST_{j\alpha et} + CST_{j\alpha et} - CCST_{j\alpha et} } \right)$$
(39)

Binary constraints

$$CST_{j\alpha et} - CCST_{j\alpha et} \le 1\quad \left( {t \ge 2} \right)$$
(40)
$$CST_{j\alpha et} - CCST_{j\alpha et} \ge 0\quad \left( {t \ge 2} \right)$$
(41)
$$\sum_{\alpha } \sum_{e} (CST_{j\alpha et} + OST_{j\alpha et} ) \le 1\quad \left( {t \ge 2} \right)$$
(42)
$$CST_{j\alpha et} = IST_{j\alpha et} { }\quad \left( {t = 1} \right)$$
(43)
$$(CST_{j\alpha et} + OST_{j\alpha et} ) \le 1$$
(44)
$$CST_{j\alpha et} + OST_{j\alpha et} = CSD_{d\alpha et} + OSD_{d\alpha et}$$
(45)
$$0 \, \le CSD_{d\alpha et} - CCSD_{d\alpha et} \le 1\quad \left( {t \ge 2} \right)$$
(46)
$$\sum_{\alpha } \sum_{e} \left( {CSD_{d\alpha et} + OSD_{d\alpha et} } \right) \le {1}\quad \left( {t \ge 2} \right)$$
(47)
$$ISD_{d\alpha et} = OSD_{d\alpha et} { }\left( {t = 1} \right)$$
(48)
$$CSD_{d\alpha et} + OSD_{d\alpha et} \le {1}\quad \left( {t \ge 2} \right)$$
(49)
$$\sum_{s} PST_{{m^{\prime}sj^{\prime}t}} \ge {1}$$
(50)
$$PST_{{m^{\prime}sj^{\prime}t}} \le (OST_{j\alpha et} + CST_{j\alpha et} - { }CCST_{j\alpha et} )$$
(51)
$$\sum_{e} (CST_{j\alpha et} + OST_{j\alpha et} ) \le 1$$
(52)
$$CCST_{j\alpha et} = 0\quad \left( {t = 1} \right)$$
(53)
$$CCSD_{d\alpha et} = 0\quad \left( {t = 1} \right)$$
(54)

Positivity, integrality, and binary constraints

$$CST_{j\alpha et} ,\quad OST_{j\alpha et} ,\quad CCST_{j\alpha et} \in \left\{ {0,1} \right\}$$
(55)
$$CSD_{d\alpha et} ,\quad OSD_{d\alpha et} ,\quad CCSD_{d\alpha et} \in \left\{ {0,1} \right\}$$
(56)
$$PST_{{m^{\prime}sj^{\prime}t}} \in \left\{ {0,1} \right\}$$
(57)
$$IVICT_{j\alpha t} ,\quad IVDCT_{j\alpha t} ,\quad IVACT_{j\alpha t} \ge 0 ,\quad {\text{ Integer}}$$
(58)
$$IVICD_{d\alpha t} ,\quad IVDCD_{d\alpha et} ,\quad IVACD_{d\alpha t} \ge 0,\quad {\text{Integer}}$$
(59)
$$ART_{{m^{\prime}sj^{\prime}ht}} \ge 0,\quad {\text{Integer}}$$
(60)
$$APTJ_{pjdht} \ge 0,\quad {\text{Integer}}$$
(61)
$$AMT_{{mj^{\prime}jht}} \ge 0, \quad {\text{Integer}}$$
(62)
$$APTC_{pdfcht} \ge 0,\quad {\text{Integer}}$$
(63)
$$AMM_{{mj^{\prime}\alpha et}} \ge 0,\quad {\text{Integer}}$$
(64)
$$APM_{pj\alpha et} \ge 0,\quad {\text{Integer}}$$
(65)

4 A case study and results

The research case study is Kadbanoo Company with the Delpazir brand. Kadbanoo, the manufacturer of Delpazir products, initiated its operation in 1949 on land of 17,500 square meters, located 57 km from Tehran and on the outskirts of Karaj. At its inception, the company's operations were limited to producing only a few types of compotes and jams. By expanding its operations for the first time in Iran, the company succeeded in producing sugar-free jam and other products such as cold sauces (mayonnaise and salad dressings), hot sauces (hot and ordinary ketchup), and vegan canned products (pasta sauce, pinto beans, etc.). The company's product portfolio consists of five product families. This company's main products are sauces, canned products (bean feed, canned eggplant, etc.), pickles, pastes, and jams. Kadbanoo has two food transformer sites to convert some raw materials into four intermediate goods on the first site: intermediate goods for canning (semi-cooked cereal ingredients with specified percentages), intermediate goods for pastes (dried tomatoes), intermediate goods for jams, and intermediate goods for pickles. Eventually, these products become the final product after being transferred to the second transformer site. The company has dozens of suppliers, including seven primary raw materials: tomatoes, legumes (beans, eggplant, peas, corn, etc.), sugar, jam raw materials, approved additives, oils, and packaging items. It has 12 central supplier provinces. The company's intermediate products are four main ingredients operating quarterly for four periods per year. Its transport mode is land transportation using four types of carriers: Nissan vans with a capacity of 2 tons, trucks with a capacity of 4 and 6 tons, and 10-ton trucks. Depending on customers' expected orders and demand, the factory's products vary in capacities of 50, 100, and 150 thousand tons. The company has two actual transformer sites and three potential ones in Karaj, Mashhad, and Shiraz. Its main distribution sites are located in five main hubs with fourteen subsidiaries, mainly managing the north and northwest, east and northeast, west and southwest, south and southeast, and central regions of Iran. The company also has three main customer groups: chain stores and hypermarkets, department stores, and medium and small retailers.

In this section, the criteria were evaluated and validated through the Delphi method by dividing them into three main economic, social, and environmental criteria (Seuring & Müller, 2008) (Table 1).

Table 1 Supplier selection criteria

After identifying the criteria, by sending them to industry experts (N = 7), they were asked to assign a score to each sub-criterion according to the Likert scale (Appendix Table 8) in terms of importance. After assigning the importance score according to Appendix Table 8, a Delphi score (Banaeian et al., 2015) was assigned to each sub-criterion through Eq. (66). Criteria with a Delphi score greater than five are selected for the subsequent round at each stage.

$$Delphi \;Score = \frac{{Highest \;Score + Lowest \;Score + \left( { 4*Average\; Score} \right)}}{6}$$
(66)

The results of this process (Table 2) will be completed after 2 to 5 stages. Delphi scores for all criteria that reached more than 5 (Tables 2, 3, 4, 5) were selected as criteria for weighting in the next stage.

Table 2 Delphi scores for economic sub-criteria of supplier selection
Table 3 Delphi scores for the environmental sub-criteria of supplier selection
Table 4 Delphi scores for the social sub-criteria of supplier selection
Table 5 Criteria weights based on the best–worst method for all three steps above

According to Table 2, it is clear that experts agree upon the sub-criteria 7, 10, 2, and 1. The sub-criteria are weighed and ranked in the subsequent steps.

Based on the Delphi method results in determining the environmental sub-criteria listed in Table 3, sub-criteria 1, 2, and 4 were selected as the criteria required for supplier selection.

Based on the Delphi method results presented in Table 4, sub-criteria 2, 6, 4, and 12 were selected as supplier selection criteria. All sub-criteria selected in the previous section were weighted using the best–worst method (Rezaei, 2016). The results and pairwise comparison matrices are presented in Appendix Table 9. In this section, a matrix of pairwise comparisons between the best and worst criteria with other criteria is formed, which is one of the inputs to obtain the criteria weights of the best–worst method (Appendix Table 10, 11). After pairwise comparisons based on the best–worst method performed in the previous section, the criteria weights were extracted using the best–worst method, shown in Table 5.

The alternatives for selecting suppliers include all Iranian provinces shown in Table 6.

Table 6 Names of Iranian provinces and related notations in the Complex Proportional Assessment method

For supplier selection using complex proportional assessment, this matrix should be normalized and weighted after completing the decision matrix by experts. The normalized and weighted matrices are presented in Appendix Table 12 and 13. Based on the complex proportional assessment calculations (Appendix 6), the provinces selected as suppliers are presented in Appendix Table 14.

LP-metric is one of the multi-criteria decision-making methods for solving multi-objective decision-making models. Goal programming and LP-metric techniques are among the methodologies used by multi-criteria decision-making. These approaches have a common root and use a definite target point in criterion space to model decision-makers' preferences. According to the Goal programming technique, this definite target point is a vector of expected levels representing the ideal values for different criteria.

According to the LP-metric, this target point is also a vector of reference levels. The LP-metric minimizes the sum of the relative deviations of the objectives from their optimum value. Thus, for a problem with n objective functions, the optimal value of each objective function (from the 1st to the nth) must be calculated independently of the other n-1 objective functions, taking into account all the constraints of the problem. The closer the objective functions are to their optimal values, the more desirable it is for us. We are looking for an objective function by which all functions can be closer to their optimal values. Accordingly, the sum of the relative deviations of the objectives from their optimal values must be minimized. Therefore, the objective function is defined as follows:

$${\text{Min}}\; Z = \sum_{i = 1}^{k} \left( {\frac{{f_{i}^{*} - f_{i} }}{{f_{i}^{*} }}} \right)^{P}$$

The above equation represents the optimal value of the objective function i without considering other objective functions and by considering all constraints.

Norm: in linear algebra and functional analysis, a norm refers to a vector or a continuous function that assigns a positive length or size to all vectors in a vector space. The LP-metric method gives different values for p (p = 1, p = 2). The first case (p = 1) minimizes the sum of relative deviations, and the second (p = 2) minimizes the squared sum of the relative deviations. A multi-objective decision-making model includes a vector of decision variables, objective functions, and constraints, and the decision-maker's goal is to maximize or minimize objective functions. Because these problems rarely have a unique solution, the decision-maker chooses a solution from a set of feasible solutions. The LP-metric minimizes the sum of the relative deviations of the objectives from their optimum value and incorporates multiple objective functions into a single objective. This approach was first proposed by Hwang and Masud (1979). The LP-metric method received more attention for two reasons:

  1. (1)

    The LP-metric requires less information from a decision-maker.

  2. (2)

    In practice, the LP-metric is simple to use.

The method uses the ideal to measure the proximity of a solution. This deviation measurement for \(Min Z\) will be as follows

$$Min Z = \sum_{i = 1}^{n} w_{i} \left( {\frac{{z_{i}^{*} - z_{i} }}{{z_{i}^{*} }}} \right)^{P}$$

where \(w_{i}\) is the importance (weight) of the i-th objective. The deviation of the ideal solution of the i-th objective is divided by \(z_{i}^{*}\) to eliminate the differences in the objective scales. \(P\) also indicates the degree of emphasis on deviations; the more significant the \(P\), the greater the emphasis on the most significant deviation. The overall objective function of the LP-metric must also be minimized to minimize deviations from the ideal solution.

For implementing the solution algorithm in this model, each objective function is first solved regardless of the other objective functions and considers the boundary conditions or constraints. The result is considered the ideal solution for this objective function. Then, the objective functions with different weighted coefficients are solved again and simultaneously. Finally, as the scenario changes, each coefficient changes, the equations are solved again, and the result specific to that scenario is determined.

This study used the coding environment in GAMS 25.1.2 software. After implementing the LP-metric algorithm in this software, the results of the model solution were transferred to Excel software. Then the results were entered into the MATLAB environment to calculate Pareto frontier graphs. A 1.8 GHz Core-i7 computer with 2.2G RAM was used to solve the model. According to the calculations and model solving in GAMS software and the use of the case study company's frameworks, the best scenario and coefficients, along with the values of the objective functions, are presented in Table 7.

Table 7 The best coefficients and values of the objective functions

Table 7 shows the values of the four objective functions of this model, namely cost minimization, environmental footprint minimization, social impact maximization, and product delivery time minimization, along with their coefficients in the LP-metric method. According to Appendix Table 14, the first objective function, i.e., the economic function, conflicts with other objective functions. If we want to optimize this objective function, the other functions deviate from the ideal state. Due to the importance of economics in manufacturing companies and the non-dissemination of environmental and social impacts on their corporate social responsibility, the first coefficients were considered the optimal values. Since this model considered several scenarios to obtain the Pareto front chart and the proposed model has four objective functions, three Pareto front charts were considered, each showing three objective functions and their relationships. Therefore, data from different scenarios with various solutions were entered into MATLAB software, and their 3D Pareto front charts are presented in Figs. 3 and 4.

Fig. 3
figure 3

Pareto frontier considering Z1, Z2, and Z3

Fig. 4
figure 4

Pareto frontier considering Z1, Z2, and Z4

5 Conclusion and discussion

The growing importance of environmental issues, minimizing costs, maximizing corporate profitability, and increasing the social impacts of business operations, have led people to pay more attention to a sustainable supply chain. After reviewing previous research, it was found that the chain is moving forward in the most sustainable agri-food supply chain research. This study also considered the forward supply chain. The study model had four objective functions, while other models presented in the agri-food supply chain have two to three objective functions. Another noteworthy point in designing the research model is using a hybrid model addressed in a small number of studies. This study used the Delphi technique and experts' opinions to evaluate and localize the criteria. The best–worst method was used for criteria weighting, a new method with less judgment than other methods.

The studies still need to apply this method for weighting the selected criteria. In the model under study, the supply chain had four tires (supplier, producer, distributor, and customers). This number of tires has yet to be considered in other studies. The objective functions of this model were (1) cost minimization, (2) environmental footprint minimization, (3) social impact maximization through job opportunities created, and (4) product delivery time minimization. The cost function tried to consider all the main costs along the chain and provide a comprehensive model. This function included transportation costs (transportation costs from supplier to producer, from transformer site to producer site, from transformer site to distributor, and finally from distributor to customers), the costs of opening (construction), closure or maintenance of production sites, distribution, production costs, raw material procurement costs, and fixed costs of capacity change. The second objective function tried to minimize environmental footprints that adversely impact the environment. This study considered minimizing carbon and nitrous oxide emissions due to in-house operations and flow transfer between facilities. Alternatively, water consumption when converting raw materials into products is an environmental function. However, other studies considered minimizing carbon footprints and water consumption as an objective function. This objective function is one of the model's innovations. The third objective function includes fixed and variable job opportunities as one of the social indicators in supply chain modeling. Although most models have considered fixed job opportunities an objective function, this model also used variable job opportunities affected by production capacity. In the fourth objective function, minimizing product delivery time to customers was considered one of the components of resilience and customer satisfaction. This objective function assumes it can produce all products on potential and actual transformer sites.

On the other hand, any production site can procure raw materials from all suppliers. This function included the raw material transport time from the supplier to the transformer site, the product transport time from the intermediate transformer site to the final product transformer site, the product transport time from the transformer site to distribution sites, and the production time at transformer sites. All parameters were also in seconds and product units. Finally, the extracted model was solved using the weighted LP-metric method and GAMS software. Some output results of the Complex Proportional Assessment method for selecting the location of distribution hubs and model solution results for different scenarios are presented in Appendix Table 15 and Table 16.

Only a few articles published in the past two years have examined the three dimensions of sustainability (economic, environmental, and social) and food supplier decision-making, followed by a prescriptive model for sustainable agri-food supply chains. Most serious supply chain sustainability and modeling efforts have been summarized in closed-loop and reverse logistics problems. In most of these studies, it can be seen that in the environmental dimension, more focus has been placed on carbon emissions, and a small number of articles have focused on other greenhouse gases. In most studies, the social objective function focuses only on the fixed job opportunities created, and some consider lost job opportunities. This study included fixed and variable job opportunities. A combination of product revenue and recycled material revenue was the only objective function proposed by Fathi et al. (2019). Unlike other articles, four objective functions were used in this article, including a social issue, i.e., minimizing the product time delivery to the customer. The second objective function not only minimized carbon emissions as in other studies but also minimized nitrogen emissions and water consumption as one of the most challenging substances of the last century.

Another consideration is the solution method, which is more dependent on meta-heuristic algorithms due to the nature of such problems. This study applied an exact approach, and weighted goal programming and LP-metric methods were used like other research works. On the other hand, this study used multi-criteria decision-making methods to select factors and criteria for selecting suppliers, transformer sites, and, finally, each region's central distribution hub locations for a sustainable agri-food supply chain, which is unique.

In conclusion, some practical implications are presented as follows:

  • Using the research model and validating it in other case studies

  • Utilizing other economic and social factors and bringing the model closer to the real-world issues

  • Applying other supply chain costs, including HR costs, branding costs, marketing costs, and other logistics subsystems

  • Incorporate tax rates, working capital, cash flow, income, and numerous other factors into the model