Designing an Agile Closed-Loop Supply Chain with Environmental Aspects Using a Novel Multiobjective Metaheuristic Algorithm

Success in supply chain implementation depends on the way of dealing with market changes and customer needs. Agility is a concept that has been introduced in recent years to improve the supply chain. On the other hand, paying attention to environmental problems is another issue, and chains are trying to increase their popularity by focusing on this issue. Considering the importance of this issue, designing a multiobjective closed-loop supply chain network has been discussed in this research. -e main contribution of this research is the integration of green and agility concepts in supply chain design. In this regard, a mathematical model is presented with economic, environmental, and agility objectives. First, the mathematical model is solved using the Epsilon constraint method, and then, the multiobjective weed algorithm is proposed to solve the model. -e results of comparisons between the two methods show that the multiobjective weed algorithm has performed well in terms of various metrics of NPS, SNS, and Max Spread. In terms of the solving time, the average solving time of this algorithm was about 0.1% of the solving time of the Epsilon constraint method. Moreover, all cases show the superiority of the multiobjective weed algorithm over the Epsilon constraint method in solving the proposed mathematical model.


Introduction
e inability to deal with challenges can lead to falling and loss in competition among supply chains.
is may seem concerning to some people, but it more or less emphasizes the need to develop new ways of thinking, finding solutions, and new criteria to maintain its potential ability in solving changing and unpredictable market challenges. Many analyses have proposed different solutions to deal with these unstable changes more successfully: networking, reengineering, modular organizations, virtual cooperation, high-efficient organizations, staff development, and flexible and just-in-time manufacturing systems [1]. Among them, the concepts of the agile institution and lean manufacturing system are more influential.
An agile supply chain means adaptability and flexibility and plans the chain in such a way that it uses a new way to deliver services and goods to respond to customer needs and reduce premium costs quickly. e customer who uses the goods or service at least wants to use innovative technologies and products which are different from previous products and services [2]. An agile chain changes its work environment using information technology so that in addition to responding to changes in customer needs, it can reduce prices effectively, forecast these changes to some extent, and deal with them with appropriate decisions. e organization's human resources and innovational capabilities are two essential and constituent factors in creating an agile company [3]. An agile supply chain emphasizes the flexibility and improvement of the quality of manufacturing and responds quickly to market changes and customer needs. Each supply chain, which is considered an agile supply chain, makes its own operational changes. In the changes section, new ideas and solutions resulting from innovation in the organization are provided by the human resources. is creativity in human resources and innovation cause improvement in the technology of products and services that can compete in a competitive market. In this regard, the use of agility criteria by a supply chain not only maintains it but also distinguishes it from other supply chains. Due to constant changes in the market, an agile organization must also constantly change over time in order to adapt to market changes [4].
Paying attention to the environmental problems of supply chains is one of the important concerns of communities. Pollution caused by manufacturing and transportation causes the most damage to the environment.
erefore, in addition to trying to achieve more profits and more agility to deal with market changes, supply chains must consider minimizing their environmental pollution [5]. Accordingly, this study deals with the integration of agile and green supply chains. In the second section, the newest relevant studies will be presented. In the third section, mathematical models and, in the fourth section, optimization methods will be introduced.
e fifth section will present the numerical results of model optimization, and the research will be summarized in the seventh section. e trend toward a green and agile supply chain creates a vital opportunity to simultaneously address issues of sustainability and business and environmental performance. e chain has led companies to redesign their products to fit the environment, in addition to the obvious costs, minimizing intangible costs that are not included in the cost of the product and can have a negative impact on the environment. Reviewing the studies conducted in the field of supply chain network design, it can be seen that despite the importance of both agile and green aspects, these two aspects have not been considered together and only separate studies have been done in this regard. erefore, in order to cover the research gap, this study will design a green and agile closed-loop supply chain network for the first time. Also, the metaheuristic multiobjective invasive weed algorithm will be used to optimize this problem, which is one of the newest multiobjective solution methods.

Literature Review
e green supply chain has received much attention in recent years. Liang and Questa [6] designed the green supply chain for fuel transportation. ey introduced energy optimization and emissions reduction as the most important objectives of this chain. is study that was conducted in Japan offers a solution that balances energy costs and environmental pollution. Yadav et al. [7] designed a two-objective optimization supply chain network with a sustainability approach. In the mathematical model, the reduction of pollutants is considered along with the reduction of costs. GAMS software has been used to solve this mathematical model. Hasani et al. [8] presented a multiobjective optimization approach for green and resilient supply chain network design. In the proposed model of this research, cost reduction along with environmental goals are included as objective functions in the mathematical model, and a robust multiobjective optimization model is designed. Strength Pareto Evolutionary Algorithm 2 (SPEA2) has been used to solve the proposed model. e results indicate that the designed supply chain network will be able to meet the needs of customers in an agile and green form.
Recycling is an industrial process in which disposable products are recycled with the aim of reusing and returning products to the consumption cycle. Paying attention to this concept along with the green supply chain will strengthen the supply chain as much as possible. Prakash et al. [9] designed a closed-loop supply chain using an integrated robust optimization approach. e proposed model is considered based on risk and demand uncertainty. Mixedinteger programming has been used in the design of this network. e goods are distributed directly from the factory to the customer through distribution channels. In addition, supply risk and transportation risk are included in the model, along with uncertain customer demand. e proposed model is implemented in an Indian e-commerce company. Boronoos et al. [10] designed a multiobjective closed-loop green supply chain network. Reducing environmental pollutants along and reducing costs are considered objective functions in the mathematical model. Flexibility and uncertainty are included as innovations in the mathematical model. In order to show the efficiency of the proposed mathematical model, it has been implemented in the printing industry, the results of which show the efficiency of this model. Yavari and Geraeli [11] used a metaheuristic method to robust optimize the green closed-loop supply chain network using an innovative method. e intended product is perishable products. e proposed model was multiperiod and included four echelons: suppliers, manufacturers, warehouses, retailers, and product collection centers. Paksoy et al. [12], in their proposed model, considered a green closedloop supply chain along with the lean concept. is model simultaneously minimizes transportation costs, purchase, and operating costs and also minimizes fixed facility costs, environmental costs, shipping costs, and late delivery. e fuzzy analytic hierarchy process method is used to solve a numerical example to confirm the validity of the proposed model. Gholizadeh and Fazlollahtabar [13] investigated the robust optimization of a green closed-loop supply chain scheme and solved it using a genetically modified algorithm. e proposed model is investigated under an uncertain environment. e intended objective is to reduce costs and environmental pollutants. A case study was conducted in the ironworks industry to bring the problem closer to the real world. e results of the implementation of the model with a genetic algorithm indicated the effectiveness and application of the proposed model. Ghahremani-Nahr et al. [14] designed a green closed-loop supply chain network considering the discount. e proposed model is presented in terms of uncertainty.
Nowadays, many organizations and companies face a lot of competition and an uncertain environment that has intensified due to technological innovations and changing customer needs [4]. As mentioned, one of the ways to deal with such challenges is agility. Moradi et al. [1] introduced a multiobjective model for agile supply chain design. In this mathematical model, the pricing of products was carried out in uncertain conditions. e objectives of this mathematical model were to reduce total costs and total delivery time. A fuzzy programming approach was used to solve this mathematical model. Numerical examples are used to show the validity of the proposed model. Mahmoodi [15] designed a multiobjective lean supply chain network with transportation constraints. In this mathematical model, supply chain agility and manufacturing and distribution risks were considered. e objectives of this mathematical model included minimizing total costs, minimizing total supply chain risk, and maximizing supply chain flexibility. Using the NSGA-II algorithm, the proposed model is solved. e results showed the effect of agility on supply chain design and better market policies. Pahlevan et al. [16] proposed a mathematical model to design the closed-loop supply chain of the aluminum industry. ey used Red Deer Algorithm (RDA) to optimize this model. Du et al. [17] presented a systematic literature review on supply chain agility. In this study, the evolution of the concept of the agile supply chain has been investigated, and a systematic literature review approach has been used to understand the research gap. e results show that, in the current competitive environment, supply chain agility increases customer satisfaction and thus profit. On the other hand, achieving the concept of agility in the organization requires continuous planning, so the allocation of resources to improve aspects of agility is one of the requirements of organizations in global markets. erefore, in this research, methods to achieve supply chain agility are mentioned. Table 1 provides a summary of studies in this field. As can be seen in Table 1, this research gap includes the integration of green supply chain and agile supply chain. None of the reviewed studies have investigated the simultaneous optimization of agility and environmental pollution. Also, the metaheuristic multiobjective invasive weed algorithm will be used to optimize this problem, which is one of the newest multiobjective solving methods.

Mathematical Model of the Research
is study examines the supply chain of dairy products. In this supply chain, milk and other raw materials are received from various suppliers. Excess demand is also supplied by the milk collection station, which is an intermediary. After the products were produced, they will be sent to the distribution centers, and they maintain these products after inspecting them and distribute them among the customers at the proper time. Distributors have the ability to deliver stored products in the future. ese conditions cause the corruption of some of the products in the warehouse, which need to be returned to the factory. e manufacturing factory processes a percentage of the returned products and takes them back to the distribution and sales cycle. e rest of these products, which were returned, are disposed of as waste.
Other assumptions of the mathematical model are as follows: (i) e supply chain proposed in this research consists of echelons. ese four echelons are supplier, manufacturer, distributor, and customers (ii) In order to supply the excess required milk, in addition to the suppliers, a milk collection station has been considered (iii) ere are different transportation systems among the chain members; each has the fixed costs and variable costs (iv) Only access to one transportation system between each supplier and distributor as well as the between each distributor and customer is allowed (v) e chain must meet the total forecasted demand of customers (vi) ere are a number of potential centers for distribution centers and several potential centers for factories, in which the network is required to establish one or more (vii) e number of centers required for the establishment is not known, but the mathematical model must choose the one that is the best possible, according to the demand of the network and the costs of establishment and transportation (viii) e objectives of the proposed mathematical model of this research are reducing total costs and reducing greenhouse gases and optimizing supply chain flexibility

Parameters
D t cp : demand of customer c for product p during period t SC t sr : the purchasing cost of one unit of raw material r from supplier s during period t _ MC t ip : the manufacturing cost of each unit of product p in factory i during period t IC t jp : the inspection and recycling cost of each unit of product p in distribution center j during period t HC t jP : maintaining the cost of each unit of product p in distribution center j during period t FX t i : the fixed cost of setting up the factory i during period t FY t j : the fixed cost of setting up the distribution center j during period t CS t sr : the capacity of supplier s for supplier r during period t CX t i : the manufacturing capacity in factory i during period t CY t j : the capacity of the distribution center j during period t CSI t sir : the transportation cost of each unit of raw material r from supplier s to factory i during period t CIJ t ijpl : the transportation cost of each unit of product p from factory i to distribution center j during period t with transportation system l CJC t jcpl : the transportation cost of each unit of product p from distribution center j to customer c with transportation system l during period t CJI t jipl : the transportation cost of each unit of product p from distribution center j to factory i during period t with transportation system l CTR t l : the fixed cost of using transportation system l during period t ESI t sir : the unit of CO 2 pollution resulting from the transportation of raw material r from supplier s to factory i during period t EIJ t ijpl : the unit of CO 2 pollution resulting from the transportation of product p from factory i to distribution center j during period t with transportation system l EJI t jipl : the unit of CO 2 pollution resulting from the transportation of product p from distribution center j to factory i during period t with transportation system l EJC t jcpl : the unit of CO 2 pollution resulting from the transportation of product p from distribution center j to customer c with transportation system l during period t _ EC t ip : the unit of CO 2 pollution resulting from the manufacture of product p in factory i during period t n rp : the consumption coefficient of raw material r in product p m p : the rate of capacity utilization in manufacture of product p R p : the percentage of return of product p to the factory Rp p : the percentage of processing product p from the returned products to the factory BM: a very large number W1: the impact (weight) of agility of factories on the agility of the whole supply chain W2: the impact (weight) of agility of distribution centers on the agility of the whole supply chain W3: the impact (weight) of agility of suppliers on the agility of the whole supply chain

Decision Variables
QSI t sir : the amount of raw material r sent from supplier s to factory i during period t QS0 t ir : the amount of raw material r sent from the raw material supply station to factory i during period t QI t ip : the amount of product p manufactured in factory i during period t QIJ t ijpl : the amount of product p sent from factory i to distribution center j with transportation system l during period t INV t jp : the inventory of product p in distribution center j at the end of period t QJC t jcpl : the amount of product p transported from the distribution center j to the customer c with the transport system l during period t QJI t jipl : the amount of product p sent from the distribution center j to factory i with the transportation system l during period t W t s : a binary variable equal to 1 if it is selected from the supplier s during period t X t i : a binary variable equal to 1 if a factory is established at point i during period t Mathematical Problems in Engineering Y t J : a binary variable equal to 1 if the distribution center is set up at point j during period t A t ijl : a binary variable equal to 1 if the transportation system l connects factory i and distribution center j during period t B t jcl : a binary variable equal to 1 if the transportation system l connects the distribution center j to the customer c during period t

Mathematical Model Relations
i QSI t sir ≤ CS t sr W t s , ∀s, r, t, Mathematical Problems in Engineering 5 Equation (1) shows the total costs in each period of the chain. ese costs are fixed costs related to the establishment of distribution centers and purchases from suppliers, manufacturing costs, operating costs formed in distribution centers, inventory costs in distribution centers, and transmission costs for different transport systems in the chain. Equation (2) also minimizes the total amount of CO 2 emitted from the manufacture of products, transportation from supplier to the factory, transportation from factory to distribution centers, and transportation from distribution centers to customers. Equation (3) determines the total amount of supply chain agility. erefore, because the agility of supply, manufacture, and distribution may not be equally significant, the weighted sum of agility of supply, manufacture, and distribution is introduced as the agility of the whole supply chain. Equation (4) shows the agility of factories or the level of manufacture. Equation (5) shows the agility of suppliers or the level of supply. Equation (6) shows the agility of the distributors or the level of distribution. Equation (7) shows that, in each period, the amount of raw material entering each factory is equal to the amount of output from that factory in the same period. Equation (8) guarantees that, in each period and for each product, the amount of input to each of the distribution centers and the remaining inventory from the previous period is equal to the amount sent to customers and the rest of the inventory at the end of the period. is equation is known as the inventory balance equation. Equation (9) states that, in each period and for each product, the inventory available in each of the distribution centers must be able to meet the demand for the product in question. Equation (10) ensures that the amount of each of the raw materials sent from the suppliers does not exceed their capacity. Equation (11) expresses the capacity of materials in factories similar to suppliers. Equation (12) states that inventory in each distribution center should not exceed the capacity of the center. Equations (13) and (14) state that only one transportation system can be used in each member of the chain. Equations (15) and (16) express that members of the chain who work together are allowed to use the transportation system. Equations (17) and (18) express that unrelated members of the chain do not send any products. Equation (19) determines the amount of returned products.
is amount is determined as a percentage of the distributor's inventory. Equation (20) indicates that the amount of products sent from the factory to the distribution centers is equal to the amount manufactured in the factory, which is a percentage of returned products that is reprocessed.

Solution Methods
e proposed mathematical model in this research is multiobjective.
erefore multiobjective optimization methods are needed to solve it. erefore, the Epsilon constraint method and multiobjective invasive weed metaheuristic algorithm have been used, which are described in the following.

Epsilon Constraint Method.
e Epsilon constraint method is an exact solution method for solving mathematical models with multiobjective functions. is method leads to the optimization of multiobjective mathematical models by maintaining only one objective function and transferring other objective functions to constraints. is general model is as follows.
In the above model, the parameter ε m indicates the upper limit of the value f m . To show how this method works, consider the problem with the two objectives f 1 and f 2 . Also, suppose that f 2 remains in the objective function and f 1 is added to the set of constraints(f 1 (x) ≤ ε 1 ).
Assume that initially ε 1 � ε c 1 . e problem resulting from considering this constraint divides the main feasible objective space into two parts of f 1 (x) ≤ ε c 1 and f 1 (x) > ε c 1 . e left part of the feasible space obtains the feasible solution to the problem. Now, the mission of the resulting problem is to find a solution that is the minimum value of this feasible space. It is obvious from the figure that c is the minimum solution. According to this figure, intermediate solutions can be obtained in problems with nonconvex objective space using the ε-constraint method.

Multiobjective Invasive Weed Optimization Algorithm.
e invasive weed optimization algorithm (IWO) is a nature-inspired metaheuristic algorithm that is inspired by weed behavior and its growth. ey grow widely and strikingly so that they cannot be removed and controlled by humans. One claim about weeds is that weeds always win. In general, the reasons for this claim can be stated as follows: (i) Existence of weeds after thousands of years of agriculture (ii) Existence of weeds even after using various pesticides (iii) e emergence of new species of weeds widely on the ground (iv) Adapting to the environment e above characteristics show that weeds are vigorous and interfere with agriculture. On the other hand, weeds adapt themselves to the environment and change their behavior to grow. e success of weeds depends on their ecology and biology. In the following, optimization based on invasive weed behavior is investigated. e stages of the invasive weed optimization algorithm are as follows: (i) First stage: spreading the seeds in the desired area (ii) Second stage: seed growth according to utility (sprouting) and spatial dispersal (iii) ird stage: survival of weeds with more utility (competitive elimination) (iv) Fourth stage: continuing the process until reaching the plants with the most utility Details of the steps of the invasive weeds optimization algorithm are as follows: First step: generating the random initial population and evaluating their objective function According to this stage, a certain number of seeds are produced from each plant. e seeds produced depend on their fitness level as well as the maximum and minimum fitness of the colony of the weeds, and this number will increase linearly with increasing the amount of fitness. On the other hand, the number of seeds produced by each plant depends on the proportion of the plant to its environment; this relationship is linear, which means that the best solution from the current population gives the highest new solution and the worst solution leads to the generation of the lowest new solution. e number of solutions varies linearly between these two limits. Second stage: reproduction based on fitness and updating of standard deviation Invasive weeds may reproduce with or without using sex cells, depending on the type of the plant. In the method of sexual reproduction, seeds or spores are used. In this case, the plant is born and begins its life by being fertilized. en, the seeds are dispersed by various factors such as wind, water, and animals, until the seed has a chance to grow. If the conditions are good, the seeds will start to germinate and grow. e process of growth will continue with other neighbor plants until they become mature plants. In the last stage of the life cycle, they become flowering plants and cause seed production.
ird stage: competitive exclusion If a plant does not reproduce, it will die. erefore, competition between plants is needed to limit the maximum number of plants in a colony. After producing seeds around each weed, we can only transfer the predetermined maximum number of plants (Pmax) of the total weeds and seeds to the next generation. Plants that have a chance of surviving reproduce and repeat the above stages so that the solutions obtained in each of the iterations would be fitter. is mechanism gives plants with low proportions a chance to reproduce, and if the seeds produced by them have a good proportion in the colony, then they can survive. is algorithm stops when the number of iterations reaches the maximum number allowed. e maximum number of preset plants can be equal to the number of the initial population, in which case one of the parameters of the algorithm is removed. Fourth stage: checking the termination conditions Types of termination conditions in metaheuristic methods are as follows: (i) Obtaining an acceptable minimum of solutions In this case, which is one of the termination conditions, assume that the total cost of a company is Mathematical Problems in Engineering 7 company tends to reduce this cost to 800 units, which is a desirable amount from the manager's point of view. It is noteworthy that the value of 800 is not the optimal point, and the value of the objective function may become less than 800 units. For example, in Figure 1, point A shows the desired point from the manager's point of view, which is one of the termination conditions. (ii) e passage of time or determined iteration In this case, a determined iteration is introduced for the algorithm to end the algorithm. For example, in iteration 100, the algorithm ends, and there would be no need for iterations after 100, although the value of the objective function may improve after the determined iteration. (iii) e passage of time or determined iteration without observing much improvement in the result If, after implementing the algorithm in successive iterations, the value of the objective function does not improve or improves insignificantly, the algorithm will stop. For example, if it does not improve from point a to b with n iterations or improves insignificantly, the algorithm will stop. In Figure 2, the value of the objective function is constant in iteration a to iteration b that causes the algorithm to stop.
e general structure of MOIWO and IWO is similar. e only difference between them is that, in each iteration, the nondominated solutions are separated. is method is presented in Section 4.2.1. e pseudocode of the MOIWO algorithm is shown in Figure 3.

Nondominated Sorting.
First, two parameters n p and S p must be calculated; n p is actually the number of solutions that have dominated the solution p, and S p is the set of solutions that have been dominated by the solution p. en, a set of solutions can be ranked, and they can be placed on different fronts in terms of nondomination degrees. All solutions with n p � 0 take the first rank and are placed in the first front. en, for each solution p with the first rank, each member (q) from the set of S p is met, and its n q is reduced to one unit. us, if n q � 0, then the solution q takes the second rank and is placed in the second front. In the same way, the next fronts are formed. In the following, the fast nondominated sorting is presented in the form of pseudocode and figure. Figure 1 shows the nondominated sorting of a population of solutions in the MOIWO metaheuristic algorithm.

Performance Metrics for Comparison of Metaheuristic
Algorithms. In this section, quantitative and qualitative metrics are introduced. e main application of these metrics is to compare the performance of metaheuristic algorithms.

SNS.
is metric, also called the spread metric, is used to calculate the degree of variation of Pareto solutions. e priority of the algorithm depends on the value of this metric. Using the following equation, the value of this metric can be calculated.
In this equation, n represents the number of nondominated solutions. Using the following equation, C i can be calculated.
In the above equation, f 1i and f 2i are, respectively, the values of the first and second objective functions for the nondominated solution of i.

Max Spread Metric.
It is necessary to calculate the optimal Pareto front solutions obtained by the algorithm in terms of scope. e Max Spread metric is used for this. e larger the value of this metric is, the higher the priority of the algorithm will be. e value of this metric is calculated using the following equation: In the above equation, Min f i represents the minimum value of the objective function among all nondominated solutions obtained from the algorithm, and Max f i represents the maximum value of the objective function among all nondominated solutions obtained from the algorithm.

MID (Mean Ideal Distance).
Using this metric, the proximity among the obtained nondominated solutions and the ideal point is measured. e priority of the algorithm is inversely related to the value of this metric. e following equation is used to calculate this metric.

Mathematical Problems in Engineering
In the above equation, f1 max total is the largest value between nondominated solutions. Also, f2 min total is considered as the smallest value between the nondominated solutions obtained by the algorithm.

RAS ( e Rate of Achievement to Objectives Simultaneously).
is metric seeks a balance in achieving each of the objectives and its value is calculated using the following equation: e value of this metric is inversely related to the priority of the algorithm. 5.1.5. Spacing. By using this metric, the uniformity of the distribution of nondominated solutions is obtained according to the following equation. e value of this metric is inversely related to the priority of the algorithm.
In the above equation, n is the number of obtained nondominated solutions, d i is the smallest Euclidean distance between the solution i and the solutions found in the set of obtained nondominated solutions, and d is the average of these distances.

NPS.
is metric is used to calculate the number of nondominated solutions. e value of this metric is directly related to the priority of the algorithm.
It is worth noting that the introduced metrics are presented for a problem with three objective functions. In the case of increasing the number of objective functions, it is enough to include the values of the objective functions in the formula and generalize the desired formula. It should be considered that Max Spread, NPS, Spacing, SNS, RAS, and MID metrics have been used in this study to compare the efficiency of solving methods.  Table 2. It should be considered that the time limit of 3600 seconds is regarded for each solving method. en, the values of quality metrics of the problem solution are calculated for both solving methods and reported in Tables 3 and 4.

Investigation of Solving Methods Based on MID Metric.
e average of this metric is 17.5 for the Epsilon constraint and 22.10 for the MOIWO algorithm. In Figure 4, the value of this metric is shown for each of the solved examples by two algorithms.
According to the results, it is concluded that the value of MOIWO was higher in all examples because using EPC, the best values are obtained. erefore, the short distance between the metaheuristic method and these values shows the quality of this method.

Investigation of Solving Methods Based on Max Spread
Metric.
e average of this metric is 23.15 for the Epsilon constraint and 31.87 for the MOIWO algorithm. Figure 2 shows the value of this metric for each of the examples solved by the two solving methods.
According to Figure 5, the EPC method provided a better value than MOIWO only in the first example. In other examples, the MOIWO method provided a better value. at shows the efficiency of this method to find the solutions.

Investigation of the Solving Methods Based on SNS
Metric. e average of this metric is 22.65 for the Epsilon constraint and 31.40 for the MOIWO algorithm. Figure 6 shows the value of this metric for each of the examples solved by the two solving methods.
Regarding the SNS metric, same as the Max Spread metric, the ability of the MOIWO algorithm to find optimal solutions is obvious. Following the increase in the number of problems, the superiority of the MOIWO method in terms of the SNS metric becomes more evident.

Investigation of the Solving Methods Based on NPS
Metric. e average of this metric is 13.55 for the Epsilon constraint and 30.60 for the MOIWO algorithm. Figure 6 shows the value of this metric for each of the examples solved by the two solving methods. e NPS metric is a metric that shows the priority of the MOIWO method compared to ECP. Due to the constraints which are added to the problem, the ability of the EPC method to find different solutions reduces. MOIWO algorithm can find more optimal solutions, which is the reason that this algorithm performs better in terms of this metric.

Investigation of the Solving Methods Based on RAS
Metric. e average of this metric is 1.47 for the Epsilon constraint and 2.24 for the MOIWO algorithm. Figure 7 shows the value of this metric for each of the solved examples by the two solving methods.
As can be seen, the MOIWO algorithm provides higher values compared to the EPC. is small difference in many 22 19 10 4 20   Figure 8 shows the value of this metric for each of the solved examples by the two algorithms. e analysis of this metric is the same as the RAS metric. e solution obtained from the EPC method has lower values, and the MOIWO algorithm provides an SNS value close to this method. e above results show the fact that this algorithm has been able to achieve the near-ideal solution.

Investigation of the Solving Methods Based on Solving
Time. Epsilon constraint has an average solving time of 1384.23 seconds. However, this metric is 88.17 for MOIWO. A comparison of the solving times of the two methods is shown in Figure 9. e solving time of the EPC method has an ascending solution time to solve with a very steep slope. is method solved problems 7 and 8 with the maximum possible time and also could not solve problem 10. On the other hand, the solving time of the MOIWO algorithm has increased with a very low slope.
As a result, it is determined that the MOIWO algorithm can provide the outputs very close to the optimal solution in much less time than EPC and even perform better than EPC in some metrics. is issue well demonstrates the ability of the MOIWO algorithm to solve the problem.

Conclusion
In this study, a multiobjective mathematical model with a green and agile approach was presented. e integration of agility and environmental concepts in supply chain design is an important innovation of research. e use of a new multiobjective metaheuristic algorithm called MOIWO is the next innovation of this research. e results showed that economic, environmental, and agility objectives in the supply chain are in conflict with each other, and their independent optimization is not efficient enough to be used in the supply chain. Also, the MOIWO algorithm has performed well compared with the Epsilon constraint method. is algorithm has been better than the Epsilon constraint method in terms of NPS, SNS, and Max Spread metrics. In terms of the solving time, the average solving time of this algorithm was about 0.1% of the solving time of the Epsilon constraint method. erefore, the efficiency of this multiobjective algorithm has been confirmed by various metrics, and this algorithm can be introduced as an appropriate tool for solving supply chain design problems. To develop this research and for future studies, it is suggested that uncertainty be considered in the model parameters such as customer demand, manufacturing, and distribution costs in the mathematical model. is uncertainty can be implemented with approaches such as possibilistic programming or robust optimization and the results can be examined. It is also recommended to use another metaheuristic algorithm and compare them with each other. To demonstrate the performance of the proposed mathematical model, it is suggested that the model be implemented in the real world and the results are reported.

Data Availability
No data are available for sharing.

Conflicts of Interest
e authors declare that they have no conflicts of interest.