1 Introduction

The dramatic ever-increasing trend of urbanization, population, quality of life and change in lifestyle, also the substantial industrialization and the expansion of commercial areas has led to higher amounts of hazardous waste production. The big issue is that this high volume of hazardous waste produced in industrial and urban areas causes many dangers and concerns on the environment and social activities including air pollution, the inappropriate landscape of cities due to visual pollution and the enormous economic costs incurred to governments by mismanagement of the issue. Hence the importance of HWM has increased and gained the attention different countries all over the world. This issue has caused new challenges for decision-makers, municipalities and urban planners. By considering the issues as mentioned earlier, the necessity to implement the concept of a smart city with a sustainable approach becomes more indispensable. According to the authors, by implementing Information and Communications Technology (ICT) and pay attention to the issue of sustainability, we can achieve cleaner environments, prettier cities, and more economical HWM costs. According to the authors, by implementing Information and Communications Technology (ICT) and pay attention to the issue of sustainability, we can achieve cleaner environments, prettier cities, and more economical waste management costs. The way to achieve this is through the use of the IT-based infrastructure in the fleet of waste transportation, bins, and managing the location-routing of the problem.

Hazardous waste can be divided into two main groups: Municipal Hazardous Waste (MHW) and Industrial Hazardous Waste (IHW). Municipal Hazardous Waste (MHW) includes waste from Household Hazardous Waste (HHW), thinners, fluorescent tubes, heavy metal containing batteries, Chlorofluorocarbons (CFC) containing equipment, household cleaning products, and insecticides. MHW can also be caused by commercial and municipal solid waste (MSW) streams such as hospital, gas station, laboratory, laundry, car repair shops, photography centers and many other urban and social activities which are examined in the review paper by Slack et al. (2004). Industrial Hazardous Waste (IHW) is caused by industrial processes and products such as factories, electrical plumbing workshops, oil refineries, and so forth, have large dimensions and sizes. Because the scope of the smart city problem includes MHW and IHW types of waste and eliminating one of the them removes part of the model’s objective function, we consider both of them in the problem to use it to provide a more inclusive and broader vision. Hazardous waste has the characteristics of flammability, corrosivity, reactivity, and toxicity. The control of hazardous waste due to last long harms for the environment is generally heavily regulated in developed countries, and it has been the subject of controversy. A convenient Hazardous Waste Management (HWM) system that is addressed by Nema and Gupta (1999) Contains disposal and treatment facilities and Guaranteed safety and cost-efficiency. Another aspect of HWLRPs is that there are several types of hazardous wastes. Therefore, the compatibility between wastes, recycling, disposal, and treatment technologies, is essential. For instance, some chemical hazardous wastes are inflammable, so any model that is suggested should incorporate these real-world aspects of the HWM problems.

The concept of the smart city represents fundamental ingredient including sustainability, flexibility, productivity, people prosperity, and many meaning of this kind (Giffinger et al. 2007). By utilizing the appropriate infrastructure, wireless sensors, actuators, smart communication devices, and online data will enable technologies such as information and communication (ICT) and the Internet of Things (IoT) to build a bed which with the help of that smart city concept is created and effective optimization of urban activities are provided (Miorandi et al. 2012). One of the most acute aspects of achieving the concept of sustainability and satisfying the characteristics of the smart city is the suitable administration of hazardous wastes made as an outcome of increasing public welfare and population as well as the growth and expansion of industries. Although recent widespread research on the smart and sustainable city has been carried out, most of the related studies have focused on the areas such as energy management, transportation, infrastructure routing, surveillance, and dynamic scheduling, and still some remarkable issues have not yet been addressed. The objective of hazardous waste location-routing problems (HWLRPs) in a smart city with a sustainability approach is one of the significant issues on which not been well considered in the literature. Therefore, these concerns prompted us to answer the following questions with the help of smart city concepts and attention to sustainability:

  • How can the operational benefits of waste recycling be achieved by implementing smart city concepts and sustainability?

  • Where should the treatment, recycling, and disposal facilities be located to meet the sustainability requirements?

  • How can developing a sustainable and IT-based location-routing model help to reduce the visual pollution and greenhouse gas (GHG) emissions in the industrial and urban zones?

  • How to manage the uncertainty related to the volume of waste generated at each generation nodes and use it to optimize the model?

In this paper, we offer an optimization model to facilitate decision-making for optimal and sustainable Hazardous Waste Location-Routing problems (HWLRPs) in a smart city. The intentions of the proposed model are to (1) enhance the total income of the HWM system, (2) reduce the GHG emission from the fleet of collection vehicles and system facilities, (3) and minimize the visual pollution to contribute to the social aspect of sustainability. Information and ICT and IoT opened ample prospects for developing waste management (WM) models. Owing to the significance of the (HWLRPs) (Especially green routing), the necessity of using techniques and tools related to smart city, and also to consider three scopes to achieve sustainability including social, environmental, and economic aspects simultaneously, a novel structure of HWLRP in the case of smart and sustainable city is designed (Table 1).

Table 1 List of abbreviation used in text

2 Literature review

Newly, the idea of WM in the smart city has attracted the attention of researchers. By surveying the literature, we found that most of the works can be classified into studies that deal with online data and information and methods for their collection and analysis and articles that have proposed models to indicate the application of ICT and IoT technology for befitting WM. In the following, new WM operations in smart cities are discussed. Before addressing this discussion, it should be noted that there are related studies in the area of HWM whereas, there are few studies referring to concept of the smart city. (Faccio et al. 2011) described a scheme of the solid waste collection-routing model to decrease the travel time and enhance total covered distance. The work of Carli et al. (2013) made a comparison between traditional tools as a static manner of Hazardous waste collection and innovative devices such as actuators, sensors, and IoT technologies as a dynamic solution of (WM).

To be aware of the advantages of using ICT and IoT technologies in WM modeling, we need to analyze the conceptualization between the two conventional approaches in optimizing the decisions related to routes and travel time of waste muster vehicles that exist in the literature. In the first approach, researchers considered traditional tools in WM systems, which is in the static outlining models category. The static models do not find the real-time status of reservoirs contain waste or trash bins, on the contrary, in the second approach dynamic modeling is used to the ability system to acquisition up-to-date information received by IoT-enabled sensors Anagnostopoulos et al. (2015). Lella et al. (2017) addressed network analysis to set the best decisions of routing in the HW collection system in the proposed smart city. Jatinkumar Shah et al. (2018) developed a stochastic model to optimize the preparation of waste collection operations in smart cities. In their model, they minimized the total transportation cost by considering the fact that consequence of value recovery is the main criteria in their study. In addition, a multi-level IoT-based smart cities foundation architecture is proposed by Marques et al. (2019).

2.1 Sustainability

It is becoming increasingly important that an integrated approach for sustainable HWM systems has appropriately addressed. To achieve the broader goals of sustainability of a community such as a Smart City the economic, social and environmental sustainability factors should be balanced in harmony (Le Blanc 2015). The economic aspect of sustainability deals with the optimizing profit or cost of a system. The environmental aspect of sustainability includes a wide range of topics comprising life cycle assessment (LCA), gas emissions of the HWM systems and impurity of air, soil, and water resources. For example, Zhang et al. (2018) developed a location-routing model for minimization CO2 emissions, emergency relief cost, and maximization of vehicle route travel time. Habibi et al. (2017) designed a model with to minimize, simultaneously, the social impacts, greenhouse gas emissions, and total cost. The importance of sustainability in a reverse supply chain of perishable goods was addressed by Tavakkoli Moghaddam et al. (2018). Heidari et al. (2019) proposed a multi-objective robust possibilistic model with take into consideration environmental, economic, and social concern together. Maximizing the job creation opportunities, maximizing the profit, and minimizing the GHG emissions were the objective of their study.

2.2 HWM optimization problems

A significant part of the proposed models for optimizing HWM has addressed undesirable/obnoxious facility location problems or routing of hazardous wastes independently. In this regard, the first attempt for noxious centers location modeling is related to Ratick and White (1988). Kang and Batta (2014) introduced a Value-at-Risk (VaR) model for hazardous material (HAZMAT) shipment. Minimizing the shipment risks was the objective of their study. In addition, various studies have been presented in case of hazardous waste collection and routing problems. To point a few studies Hemmelmayr et al. (2013) developed a new hybrid algorithm for the periodic truck routing problem to collect solid wastes, in which a central facilities is considered. Reducing the number of vans and the traveling time, multi-demand system (e.g., residential, commercial, industrial), multi-periods and containers with various sizes were addressed by Wy et al. (2013).

Samanlioglu (2013) developed a multi-objective MIP model for IHW location-routing problem. His work shed light into decisions related to facilities locations with different technologies, routing diverse types of IHW and routing waste residues. The work of Rabbani et al. (2017) focused on application of waste collection phase in the problem. They used a case study was to suggest the environmental impacts of facilities location. Aydemir-Karadag (2018) addressed a MIP model for the HWLRPs to increase the profit of the system. Other contributions of the prementioned work includes temporary holding nodes in system and formulating model for long-term planning period. A comprehensive HWLR model with minimization various objective functions, including costs of the system, total shipment and location risks of IHW was addressed by Rabbani et al. (2018). Considering incompatible characteristics of variant types of hazardous wastes and the heterogeneous fleet of vehicles distinguishes this study from other studies in the literature.

Visual pollution deals with the traces of pollution that people are able to admire watching a view. It can make damaging impacts on the nature and frustrates the visual zones (Habibi et al. 2017). Nevertheless, there is presently no related research in the literature that focuses on visual pollution as the social aspect of sustainability in a HWLRPs. Most attempts to model the social perspective of sustainability are related to justice and equity in abominable facility location problems, minimizing population exposure risk that takes into account population who are in a path of carrying IHW, and minimizing the risk of disposal facilities that affects the peoples. By reviewing the literature on the topics discussed, and identifying the aforementioned research gaps, we distinguish our work from existing studies in the literature by bring up these contributions which we will outline below:

  • Application of ICT and IoT technology in HWLR modeling.

  • Proposing a new mathematical model that consider three conflicting objective functions Contains maximizing the total profit, minimizing the visual pollution and minimizing the GHG emissions, and also a new mathematical model for the social aspect of sustainability

  • According to Table 2, there is no study regarding sustainability aspects in a location-routing problem of HWM systems.

    Table 2 Taxonomy of the most relevant literature

3 Problem description

Here, a novel multi-objective MIP model for HWLRPs with the aim of implementing a smart and sustainable city in an organized manner is formulated. In this regard, two main groups of hazardous wastes are generated, municipal hazardous waste (MHW) and industrial hazardous waste (IHW), and the generated hazardous waste includes recyclable and non-recyclable wastes which are well-matched with different technology types. In the municipal zone, waste produced at various waste generation nodes is gathered at the waste collection centers. This collection centers and also the source nodes in the industrial zone are considered as our generation nodes. To implement the concepts of smart cities hazardous waste reservoirs, have IoT-based sensors such as radio-frequency identification (RFID) tags, actuator, and other intelligent devices. In the case of the container’s fulfillment, the cloud-based system is notified, to administer the HWM system. Because of the priority of addressing environmental issues, visual pollution, and greenhouse gas emission, we do not use the GPS for identifying the location of generation nods/bins and facilities in our work.

In our work, in each decision-making horizon, a certain number of generation nodes (\( {\text{G}}_{\text{s}} \)) may reach the predefined threshold, and this has led us to consider different scenarios with different coefficient of scenarios occurrence for the problem. We show this approach by defining a matrix that members are binary parameters. It is important to note that, the advantage of using IoT-compatible devices in our work that is not to visit all the generation nodes and only visit the nodes that reach to the threshold, which reduces unnecessary visits. The collected waste from generation nodes is shipped by heterogeneous fleets of vehicles that are compatible with waste type, to recycling or treatment facilities, with compatible technology according to hazardous wastes type. For reaching the maximum profit of HWM, recycling of hazardous waste is another important subject that should be taking account of consideration.

$${\text{G}}_{{\text{s}}} = \begin{array}{*{20}c} {\begin{array}{*{20}l} {} \hfill & 1 \hfill & 2 \hfill & \cdots \hfill & g \hfill \\ \end{array} } \\ {\begin{array}{*{20}c} 1 \\ 2 \\ \vdots \\ s \\ \end{array} \left[ {\begin{array}{*{20}l} 0 \hfill & 1 \hfill & \cdots \hfill & 1 \hfill \\ 1 \hfill & 0 \hfill & \cdots \hfill & 0 \hfill \\ \vdots \hfill & \vdots \hfill & \ddots \hfill & \vdots \hfill \\ 1 \hfill & 1 \hfill & \cdots \hfill & 0 \hfill \\ \end{array} } \right]} \\ \end{array} $$

The collected waste from generation nodes is shipped by heterogeneous fleets of vehicles that are compatible with waste type, to recycling or treatment facilities, with compatible technology according to hazardous wastes type. For reaching the maximum profit of HWM, recycling of hazardous waste is another important subject that should be taking account of consideration. Processable wastes are moved to reprocessing centers, and others are shipped to removal centers. As we seek to reach a sustainable approach in our hazardous waste location-routing problem, we try to formulate a new model for the social aspect of sustainability with considering visual pollution for a heterogeneous fleet of collection vehicles and also for each system’s facilities. In the environmental side of sustainability, we need to formulate an objective function that minimizes the amount of GHG emissions from all of the system facilities and also amount of GHG emissions as a result of navigating our fleet of collection vehicles. Figure 1 depicts the framework of the hazardous waste management system of this study.

Fig. 1
figure 1

Framework of the hazardous waste management system

3.1 Mathematical model

Here, a novel multi-objective MIP model is developed for hazardous waste location-routing problem in a smart city with a sustainable approach regarding the assumptions mentioned above, developing the model introduced by (Rabbani et al. 2018) to determine the following decisions:

  • Routing the incompatible hazardous waste types from production centers and collection nodes to the facilities, and also the waste reminder generated at different facilities

  • Locating the treatment, reprocessing, and removal nodes.

  • Assigning the different technology types at treatment nodes.

Tables 3, 4 and 5 display the list of sets, parameters, and variables that are used in the mathematical formulation of the model. The proposed model of this problem includes three objective functions which are determined by applying a smart city concept and aspects of sustainability.

Table 3 List of sets for the proposed models
Table 4 List of parameters used in the proposed models
Table 5 List of variables used in the proposed models

3.1.1 Objective functions formulation

$$ {\text{Max}}\;f_{1} \left( x \right) = \mathop \sum \limits_{i \in R} \text{Re} v Yr_{i } $$
(1a)
$$ - \omega \left( {\mathop \sum \limits_{b \in B } \mathop \sum \limits_{{i \in \left( {T - ET} \right)}} ect_{bi} t_{bi} + \mathop \sum \limits_{{i \in \left( {R - ER} \right) }} ecr_{i} r_{i} + \mathop \sum \limits_{{ i \in \left( {L - EL} \right)}} ecd_{i} l_{i} } \right) $$
(1b)
$$ \begin{aligned} \left( {\mathop \sum \limits_{w \in W } \mathop \sum \limits_{b \in B} \mathop \sum \limits_{{i \in \left( {T - ET} \right)}} oct_{w} t_{bi} Yt_{wi} + \mathop \sum \limits_{w \in W } \mathop \sum \limits_{i \in ET} oct_{w} Yt_{wi} } \right. \\ + \mathop \sum \limits_{{i \in \left( {R - ER} \right)}} ocr r_{i} Yr_{i} + \mathop \sum \limits_{i \in ER} ocr Yr_{i} + \mathop \sum \limits_{{i \in \left( {L - EL} \right)}} ocd l_{i} Yl_{i} \left. { + \mathop \sum \limits_{i \in EL} ocd Yl_{i} } \right) \\ \end{aligned} $$
(1c)
$$ - \left( {\mathop \sum \limits_{s \in S } \mathop \sum \limits_{{i \in G_{s} }} \mathop \sum \limits_{j \in G \cup T \cup R \in F} \mathop \sum \limits_{f \in F} {{\beta }}_{\text{s}} TC_{ij} z_{ijf} + \mathop \sum \limits_{i \in T } \mathop \sum \limits_{j \in R} TC_{ij} Ytr_{ij} + \mathop \sum \limits_{i \in T } \mathop \sum \limits_{j \in L} TC_{ij} Ytl_{ij} + \mathop \sum \limits_{i \in R } \mathop \sum \limits_{j \in L} TC_{ij} Yrl_{ij} } \right) $$
(1d)
$$ \begin{aligned} & {\text{Min}}\;f_{2} \left( x \right) = \mathop \sum \limits_{s \in S } \mathop \sum \limits_{f \in F} \mathop \sum \limits_{{i \in G_{s} }} \mathop \sum \limits_{{j \in G_{s} \cup T \cup R}} \beta_{s} et_{f} dis_{ij} z_{ijk} \\ & \quad + \mathop \sum \limits_{f \in F } \mathop \sum \limits_{i \in T} \mathop \sum \limits_{j \in R} et_{f} dis_{ij} Ytr_{ij} + \mathop \sum \limits_{f \in F } \mathop \sum \limits_{i \in T} \mathop \sum \limits_{j \in L} et_{f} dis_{ij} Ytl_{ij} \\ & \quad + \mathop \sum \limits_{f \in F } \mathop \sum \limits_{i \in R} \mathop \sum \limits_{j \in L} et_{f} dis_{ij} Yrl_{ij} \\ \end{aligned} $$
(2a)
$$ + \mathop \sum \limits_{w \in W } \mathop \sum \limits_{i \in ET} get Yt_{wi} + \mathop \sum \limits_{i \in EL} ged Yl_{i} $$
(2b)
$$ Min\;f_{3} \left( x \right) = \mathop \sum \limits_{s \in S } \mathop \sum \limits_{{i \in G_{s} }} \mathop \sum \limits_{{j \in G_{s} \cup T \cup R }} \mathop \sum \limits_{f \in F } \beta_{s} \phi_{{i\dot{j}}}^{f} z_{ijf} $$
(3a)
$$ + \mathop \sum \limits_{b \in B } \mathop \sum \limits_{{i \in \left( {T - ET} \right)}} \phi t_{bi} t_{bi} + \mathop \sum \limits_{{i \in \left( {R - ER} \right) }} \phi r_{i} r_{i} + \mathop \sum \limits_{{ i \in \left( {L - EL} \right)}} \phi d_{i} l_{i} $$
(3b)

The first objective function consists of four components that aim to increase the profit of the HWLR system. Equation (1a) is related to the income of the system. The opening cost of treatment, reprocessing, and removal centers is formulated by Eq. (1b). Equation (1c) represents the operating cost of facilities, waste collection, transportation, shipment from gathering centers and to treatment centers and transferring from gathering to recycling centers is formulated by Eq. (1d). The second objective function (2a)–(2b) minimizes the emissions. Equation (2a) is about the GHG gained from hazardous waste transportation, whereas Eq. (2b) corresponds to the amount of GHG caused by HWM system facilities. The third objective function is expressed with Eq. (3a)–(3b) and tries to satisfy the social aspect of sustainability in terms of minimizing the visual pollution due to shipping of vehicle(Eq. (3a)), and visual pollution due to HWM system facilities.

3.1.2 Constraints formulation

$$ \mathop \sum \limits_{i \in D } \mathop \sum \limits_{{j \in G_{s} }} z_{ijf} = 1\quad \forall f \in F $$
(4)
$$ \mathop \sum \limits_{{i \in DUG_{s} }} z_{ijf} - \mathop \sum \limits_{{i^{\prime} \in G_{s} UR \cup T}} z_{{ji^{\prime}f}} = 0\quad \forall j \in G_{s} ,f \in F $$
(5)
$$ \mathop \sum \limits_{{i \in G_{s} }} z_{ijf} - \mathop \sum \limits_{{i^{\prime} \in D}} z_{{ji^{\prime}f}} = 0\quad \forall j \in R \cup T,f \in F $$
(6)
$$ \mathop \sum \limits_{{j \in G_{s} UR \cup T }} \mathop \sum \limits_{f \in F} z_{ijf} v_{wf} = 1\quad \forall i \in G_{s} ,w \in W $$
(7)
$$ z_{ijf} \le \mathop \sum \limits_{w \in W } \mathop \sum \limits_{b \in B } v_{wf} tre_{wb} t_{bj} \quad \forall i \in G_{s} ,j \in T,f \in F $$
(8)
$$ z_{ijf} \le \mathop \sum \limits_{w \in W } v_{wf} \frac{{\left( {\left( {2 - \mathop \sum \nolimits_{b \in B } tre_{wb} } \right) r_{j} } \right)}}{2} \quad \forall i \in G_{s} ,j \in R,f \in F $$
(9)
$$ x_{if} - x_{jf} + \mathop \sum \limits_{w \in W } v_{wf} \left( {\left( {\delta_{w} + dis_{ij} } \right)z_{ijf} + \left( {\delta_{w} - dis_{ij} } \right)z_{ijf} } \right) \le \mathop \sum \limits_{w \in W } v_{wf} \delta_{w} \quad \forall i,j \in G_{s} \cup R \cup T, f \in F $$
(10)
$$ \mathop \sum \limits_{i \in D } dis_{ij } z_{ijf} \le x_{jf} \le \mathop \sum \limits_{w \in W } v_{wf} \left( {\delta_{w} + \mathop \sum \limits_{i \in D } \left( {dis_{ij } - \delta_{w} } \right)z_{ijf} } \right) \quad \forall j \in G_{s} ,f \in F $$
(11)
$$ x_{jf} \le \mathop \sum \limits_{w \in W } v_{wf} \delta_{w} - \mathop \sum \limits_{j \in D } dis_{ij } z_{ijf} \quad \forall i \in G_{s} \cup R,f \in F $$
(12)
$$ lo_{if} - lo_{jf} + \mathop \sum \limits_{w \in W } v_{wf} CAP_{w } z_{ijf} \le \mathop \sum \limits_{w \in W } v_{wf} \left( {CAP_{w } - am_{wj} } \right) \quad \forall i,j \in G_{s} ,f \in F $$
(13)
$$ \mathop \sum \limits_{w \in W } am_{wi} v_{wf} \le lo_{if} \le \mathop \sum \limits_{w \in W } v_{wf} CAP_{w } \quad \forall i \in G_{s} ,f \in F $$
(14)
$$ z_{ijf} \mathop \sum \limits_{w \in W} am_{wj} v_{wf} \le lo_{jf} \quad \forall i \in D,\forall j \in G_{s} ,f \in F $$
(15)
$$ lo_{jf} \le \mathop \sum \limits_{w \in W } v_{wf} \left( {CAP_{w } + \left( { am_{wj} - CAP_{w } } \right) z_{ijf} } \right) \quad \forall i \in D,\forall j \in G_{s} ,f \in F $$
(16)
$$ Yt_{wj} = \mathop \sum \limits_{i \in G} \mathop \sum \limits_{f \in F} z_{ijf} lo_{if } v_{wf} \quad \forall j \in T,w \in W $$
(17)
$$ \mathop \sum \limits_{w \in W} Yt_{wj} \le ct_{j} \mathop \sum \limits_{b \in B } t_{bj} \quad \forall j \in T $$
(18)
$$ \mathop \sum \limits_{w \in W} Yt_{wj} \ge ct_{j}^{m} \mathop \sum \limits_{b \in B } t_{bj} \quad \forall j \in T $$
(19)
$$ Yr_{j} \le cr_{j} r_{j} \quad \forall j \in R $$
(20)
$$ Yr_{j} \ge cr_{j}^{m} r_{j} \quad \forall j \in R $$
(21)
$$ Yl_{i} \le cd_{i} l_{i} \quad \forall i \in L $$
(22)
$$ Yl_{i} \ge cd_{i}^{m} l_{i} \quad \forall i \in L $$
(23)
$$ \mathop \sum \limits_{w \in W} \mathop \sum \limits_{b \in B} Yt_{wi} t_{bi} \left( {1 - pm_{wb} } \right) pr_{wb} = \mathop \sum \limits_{j \in R} Ytr_{ij} \quad \forall i \in T $$
(24)
$$ Yr_{j} = \mathop \sum \limits_{{i \in G_{s} }} \mathop \sum \limits_{f \in F} \mathop \sum \limits_{w \in W} z_{ijf} lo_{jf } v_{wf} + \mathop \sum \limits_{{i^{\prime} \in T}} Ytr_{{i^{\prime}j}} \quad \forall j \in R $$
(25)
$$ \mathop \sum \limits_{w \in W} \mathop \sum \limits_{b \in B} Yt_{wi} t_{bi} \left( {1 - pm_{wb} } \right)\left( {1 - pr_{wb} } \right) = \mathop \sum \limits_{j \in L} Ytl_{ij} \quad \forall i \in T $$
(26)
$$ Yr_{i} \left( {1 - pt_{i} } \right) = \mathop \sum \limits_{j \in L} Yrl_{ij} \quad \forall i \in R $$
(27)
$$ Yl_{i} = \mathop \sum \limits_{j \in T} Ytl_{ij} + \mathop \sum \limits_{{j^{\prime} \in R}} Yrl_{{j^{\prime}i}} \quad \forall i \in L $$
(28)
$$ \mathop \sum \limits_{w \in W} \mathop \sum \limits_{{i \in G_{s} }} am_{wi} = \mathop \sum \limits_{w \in W} \mathop \sum \limits_{j \in T} Yt_{wj} + \mathop \sum \limits_{j \in R} Yr_{j} $$
(29)
$$ \mathop \sum \limits_{b \in B } t_{bi} \le 1\quad \forall i \in T $$
(30)
$$ t_{bi} = at_{bi} \quad \forall b \in B,\forall i \in ET $$
(31)
$$ r_{i} = 1\quad \forall i \in ER $$
(32)
$$ l_{i} = 1\quad \forall i \in EL $$
(33)
$$ \begin{aligned} & t_{bi} \in \left\{ {0,1} \right\}\quad \forall b \in B,\forall i \in T \\ & r_{i} \in \left\{ {0,1} \right\}\quad \forall i \in R \\ & l_{i} \in \left\{ {0,1} \right\}\quad \forall i \in L \\ & z_{ijf} \in \left\{ {0,1} \right\}\quad \forall i \in G_{s} \cup D,j \in T \cup R \cup G_{s} ,f \in F \\ \end{aligned} $$
(34)
$$ \begin{aligned} & Yrl_{ij} \ge 0 \quad Yr_{i} \ge 0 \quad \forall i \in R,j \in L \\ & Ytr_{ij} \ge 0 \quad Yt_{wi} \ge 0\quad \forall i \in T,\forall j \in R,w \in W \\ & Ytl_{ij} \ge 0 \quad Yl_{i} \ge 0\quad \forall i \in T, j \in L \\ & lo_{if} \ge 0 \quad \forall i \in G_{s} , f \in F \\ & x_{if} \ge 0\quad \forall i \in G_{s} \cup D, f \in F \\ \end{aligned} $$
(35)

Equation (4) guarantees starting point of vehicles is a central node. Equation (5) guarantees the continuousness for vehicle’s path by incoming and leaving a constant generation node. Equation (6) ensures that the vehicles return to center by covering the treatment or recycling center. Equation (7) ensures about visiting all the nodes for each type of waste. Equation (8) confirms a vehicle assigned to a non-recyclable waste is allowed to unload in a treatment center. Equation (9) indicates that the collected wastes must be shipped to a reprocessing center before coming back to the main node. Equations (10)–(12) enforces the heterogeneous vehicles fleet does not neglect the acceptable traveling distance. Equations (13)–(16) are added to our constraints for ensuring that a cargo of gathering vehicles does not surpass the determined capacity and preventing the emergence of sub-tours. Equation (17) determines the amount of waste handled at a treatment node. Equations (18), (19), (20), (21), (22), and (23) examine the capacity limitations on HWM system facilities. Equation (24) indicates the flow from treatment facilities to the reprocessing centers. The number of reproducible waste handled at recycling centers is assessed by Eq. (25). Equation (26)–(27) indicates the flow from treatment and recycling centers to the disposal facilities. The amount of disposing waste remainder at each disposal center calculated by Eq. (28). Equation (29) makes sure about demands at each generation nodes and collection centers must be covered. Equation (30) guarantees that at most, one of the treatment technologies could be established at potential treatment nodes. Determining the existing treatment facilities is done by defined a binary parameter by Eqs. (31) and other existing system facilities are determined by Eqs. (32)–(33). Types of decision variables are denoted by Eqs. (34)–(35), respectively.

This model includes nonlinear terms in Eqs. (1c) of objective functions formulation as well as Eqs. (17), (26), (27) and (28) of constraints formulation subsection. Through using auxiliary variables and constraints, the model can be changed to a Mixed Integer Linear Programming (MILP) model. Appendix A shows how to linearize the model.

4 Methodology

This section introduces the proposed algorithm for solving the hazardous waste location-routing problem. Location-routing is an outstanding NP-hard Problem (Nagy and Salhi 2007). Because of the conflict between the objectives in our proposed model and complexity in finding optimal solutions for large-scale problems, it is natural to find a set of solutions depending on the non-dominance criterion. The newly offered metaheuristic algorithm based on the non-dominated sorting genetic algorithm III (NSGA- III) employs for the small and large test problem. Solutions which dominate the others but do not dominate themselves are entitled non-dominated solutions. The advantage of NSGA-III in holding the diversity fails to be inherited and a parameter-less approach is used based on (Bi and Wang 2017). NSGA-III is coded using MATLAB R2017b software and run on a personal computer with 2.4 GHZ CPU Intel Core i7 and 8.00-GB of RAM memory. The following subsections, firstly, express proposed NSGA-III algorithms in details, and then, solution representation is introduced.

4.1 NSGA-iii

This section is going to describe the process of the basic NSGA-III algorithm. The basic framework of NSGA-III is proposed by Deb and Jain (2014). In the following, a brief outline of the previous version of NSGA-III, NSGA-II, and then the details of NSGA-II will be described. NSGA-III is developed through a reference point-based selection system. Nevertheless, this algorithm has an inherent similarity to the NSGA-II algorithm. The pseudo-code of NSGA-III is depicted in Fig. 2 (Deb and Jain 2014). Here, we give the primary procedure of NSGA-III:

Fig. 2
figure 2

Example for assignments of generation nodes to vehicles

Step 1: Set the initial status of decision variables according to the given lower and upper limits. Each individual (solution) in the population \( P_{0} \) is represented by \( s_{i} = \left( {n_{i} , h_{i} , k_{i} } \right) \) for \( {\text{i}} = 1, \ldots ,N_{pop} \). It is important to note that, in this work, individuals (solution) of the initial population are randomly generated;

Step 2: Apply crossover and mutation operators to generate a new population \( Q_{t} \). In the crossover operator, two individuals \( s_{i} \) and \( s_{r} \) from the current population are randomly selected to generate two offspring \( q_{i} \) and \( q_{r } \)(Michalewicz 2013), as follows:

$$ q_{i} = \left( \gamma \right)s_{i} + \left( {1 - \gamma } \right)s_{r} $$
(36)
$$ q_{r} = \left( {1 - \gamma } \right)s_{i} + \left( \gamma \right)s_{r} $$
(37)

Where \( \gamma \) is an uniform random number in the range [0,1] which decision-maker decides on it. In the following, the parent population \( P_{t} \) and the offspring \( Q_{t} \) are merged to form \( R_{t} = P_{t} \cup Q_{t} \) with a size of \( 2*N_{pop} \);

Step 3: Categorize population to some non-dominated stages, i.e., \( F_{1} \), \( F_{2} \) and so on, based on the Pareto-dominance principle. After finding different levels of non-dominance levels \( F_{1} \),\( F_{2} \),…, the next generation \( P_{t + 1} \)(based on \( F_{1} \), \( F_{2} \) and so on) are generated. Starting from \( F_{1} \) until the size of \( S_{t} \) equals to \( N_{pop} \) or for the first time exceeds \( N_{pop} \). Assume that the non-dominance level is lth. Individuals (solutions) from the level l + 1 to the end are discarded. If \( \left| {S_{t} } \right| = N_{pop} \), let \( P_{t + 1} = S_{t} \), next apply for Step 7. Otherwise the other \( N_{pop} - \left| {P_{t + 1} } \right| \) individuals (solutions) will be nominated based on the further phases and from \( F_{1} \) based on reference points;

Step 4: The reference points are chosen during optimization by the use of systematic approach of Das and Dennis’s (Michalewicz 2013) to guarantee the diversity of solutions obtained on the Hyper-plan in objective space.

Step 5: By reaching the distance between solutions is allocated to an orientation point having the least perpendicular distance;

Step 6: First we will categorize the orientation points in an increasing order matching to the number of related followers in \( S_{t} \), and then choose a point with the least related followers and mark the number of related members as \( \theta_{i} \). Select the members with better results.

Step 7: Set \( t = t + 1 \) and go to Step 2.

4.1.1 Solution representation

The performance of evolutionary algorithms (here NSGA-III) is tremendously influenced by how the problem is encoded for the sake to obtain acceptable and interpretable answers at the appropriate time (Chen et al. 2013). Accordingly, each chromosome must be defined in a way that can cover all possible scenarios in the solution of the problem. So, order-based encoding is selected which defines chromosomes according to features and orders of the model. The first array is created of \( G + F - 1 \), for engage in the first stage, which is a location-routing problem (LRP). In which G denotes the number of source nodes, and F denotes the number of vehicles that are compatible with waste type in the waste collection state. The generation nodes accomplice numbers between 1 and G. Numbers between G +1 and \( G + F - 1 \) considered as a delimiter. The generation nodes at the beginning allocated to vehicles. So, the position of numbers in the initial string is related to generation nodes. Numbers of initial element in the string to the position of the delimiter are assigned to the initial vehicle and so on. Figure 2 illustrates an example of this encoding.

Here, eleven production nodes and four vehicles are considered. Numbers1-11 are related to generation nodes, and the location of these numbers are marked. Numbers 1, 3, 6, and 9 are related to vehicle 1. Number 8 assigned to the second vehicle. Since there is no number between 13 and 14, the third vehicle will not visit any generation node, and finally, numbers 2, 4, 5, 7, 10 and 11 are assigned to the fourth vehicle, and so all 11 of our generation nodes are visited in this example. In addition, a penalty function is used to regard capacity constraints and reach feasible solutions.

5 Parameter tuning

Initial parameters of metaheuristics algorithms can affect the performance of such metaheuristic algorithms. So, to improve the experimental results of such algorithms and reduces the runtime of them, a Taguchi method is applied. This can lead to reach the best combination of parameters. Four tuning parameters namely, the number of iterations \( \left( {{\text{Max}}_{\text{iter}} } \right) \), the size of the population \( (N_{\text{pop}} ) \), Crossover rate \( ({\text{C}}_{\text{r}} ) \) and mutation rate (\( M_{\text{r}} \)) are considered as the affecting parameters in Taguchi method. The value of the objectives and assassinate time of trials have been used as criteria to check the quality of trials. The results are given in Fig. 3 reached by MINITAB. Finally, the desirable value of NSGA-III evolutionary algorithms is expressed in Table 6.

Fig. 3
figure 3

Analysis diagrams of NSGA-II parameters tuning based on Taguchi method

Table 6 Candidate values of parameters for parameter tuning

6 Case Study

Tehran, with a large population, about 13,778,000, is the largest city and capital of Iran. Because of its steadily growing population, the city’s future HW handling and management is a major concern. The main challenge of Tehran’s HWM system is the large quantity of daily generated HW that must be collected, treated, recycled, and disposed of. In addition, controlling the large amounts of HW produced in the Tehran is related with social and environmental issues considering the population of this city. According to the statistics of Tehran Municipality Waste Management Organization, from 1997 to 2019, the size of Tehran’s HW generation has had increased at a steady rate. Thus, likely difficulty of handling future HW generation volumes can be expected to cause adverse effects such as decreased urban hygiene, increased rate of contamination and resulting diseases, increased vermin population, etc. Therefore, Taking into account the outdated technology and operations of Tehran’s HWM system, including collection fleet, treating, recycling, and disposal facilities, there is an absolute need to improve the efficiency of the HWM system of the city and utilize more updated approaches and facilities. In this regard, determining the location of facilities can meet the demand of public in terms of social and environmental concern too (Table 7).

Table 7 Tuned parameters for NSGA-III algorithm

To demonstrate the performance of the proposed model in practical cases, the model has been implemented in a case study to determine the proper HWM system for 22 districts of Tehran, and the collected data is from these 22 districts of Tehran cities. Distances between the nodes are based on the nearest distance between each node. Although Euclidean distance also could have been used. The transportation cost is considered to be proportional to the distances between nodes. Also, the establishment cost of a facility depends on the type of technology. The visual pollution factor related to each facility has been determined based on questionnaires that are completed by people living in regions. The weight of the strategic planning costs and occurrence coefficient of each scenario have been determined according to the decision-maker opinions. In this respect, the related results are depicted the sensitivity analysis section.

7 Results and numerical examples

7.1 Model validation

In order to validate the solution presented by NSGA-III algorithm, 20 sample problems of randomly generated data sets including small, medium and large-scale sample problems is chosen. Main characteristics of these problems are in Table 8. We have solved this problem with the GAMS software, version 24.1.3, and CPLEX solver, based on the Epsilon constraint method. Then we compare the result of this method with the result of the NSGA-III. In Table 8, G indicates number of generation nodes, R indicates total recycling nodes including potential and existing waste recycling facilities, ER indicates existing waste recycling facilities, T indicates total treatment facilities, ET indicates existing treatment nodes, L indicates total disposal nodes, EL indicates existing disposal facilities, and at last, F indicates the number of fleet of collection vehicles. In Table 9 solutions achieved from the GAMS software and NSGA-III algorithm are compared for the first five sample problems. For the first five sample problems, the minimum of the relative gap percentage is recorded as the minimum percentage of the relative gap (MPRG) and NSGA-III is compared with the optimal solutions as [\( \frac{{Z_{\text{Opt}} - Z_{\text{Alg}} }}{{Z_{\text{Opt}} }}*100 \)], where \( Z_{Opt} \) and \( Z_{Alg} \) denotes the results of GAMS and the metaheuristic algorithm, respectively. GAMS software is incapable to deal with large-sized instances. Figure 4 illustrates the summary of results.

Table 8 Characteristics of instance problems
Table 9 Results of relative gap and execution time of each instance
Fig. 4
figure 4

the results of the minimum percentage of the relative gap

7.2 Numerical examples and sensitivity analyses

Due to the lack of access to source data for such problem and due to the novelty of proposed model, sample problems including large scaled problems and small scaled problem are generated. Parameters of these problems were randomly created based on the judgment of related experts and other related articles (Rabbani et al. 2018) using the MATLAB software. AS mentioned before Gams software was applied to validate the model too. Figure 5 demonstrates the outcome of NSGA-III.

Fig. 5
figure 5

Approximation of Pareto front for a problem instance

7.3 Effect of non-recyclable waste generated amount on the model

To examine the effect of the non-recyclable waste parameters on the model behavior a sensitivity analysis has been conducted. After solving the proposed model by changing the values of objective functions reached by varying ± 90% alteration in the value of non-recyclable waste were set. According to the results as that parameter values enhances; the costs and visual pollution of the model increases too. Figure 6 illustrates the effects of non-recyclable waste amount on the objective functions. As the figures show, the level of visual pollution increases dramatically with increasing rates of non-recyclable hazardous waste. Clearly, with the increase in the amount of non-recyclable waste, the decision variable F indicating the number of vehicles that are compatible with the waste increases.

Fig. 6
figure 6

Sensitivity analysis on amount of non-recyclable waste

7.4 Survey the effect of vehicles’ number on model sustainability and computational time

It is necessary to note that the optimization model can be lope according to agendas defined by decision makers. Due to changes in the number of vehicles carrying waste in a work calendar, we need to have a sensitivity analysis on parameter F. Figure 7 illustrates the effects of the number of vehicles on the computational time of the algorithm. As the figures show, the computational time increases dramatically with the distance from the optimal number of vehicles. Another significant result of this analysis is that by increasing the number of vehicles, the operation’s freedom is provided in the model. As shown in Fig. 8, the amount of visual pollution caused by these vehicles increases significantly, and in contrast, the amount of emissions is low.

Fig. 7
figure 7

Sensitivity analysis on number of vehicles

Fig. 8
figure 8

Sensitivity analysis on number of vehicles

7.5 Effect of recycling facility’s capacity on revenue and model’s variables

The parameter \( Cr_{i} \) indicates the capacity of recycling facility at node \( {\text{i}} \in R \). As can be seen from Fig. 9 after solving the proposed model variations in values of benefit and cost functions resulting from ± 50% change in the capacity of recycling facility, alteration of this parameter makes little change in cost against changes in benefit. In addition, according to the results depicted in Fig. 9 with increasing recycling facility capacity, profits are rising significantly, and this can have an impact on strategic decisions. Another meaningful change in the model is related to variable \( {\text{Yr}}_{\text{i}} \). As can be seen from Fig. 10, by increasing the recycling capacity, the value of this variable increases with the model increasingly.

Fig. 9
figure 9

Sensitivity analysis on the capacity of recycling facility

Fig. 10
figure 10

\( {\text{Yr}}_{\text{i}} \) changes for different values of Cr

7.6 Survey the effect of IoT components

Considering the uncertainty in the number activated generation nodes with IoT components, in other word the total amount of waste produced in waste generation sources, and in order to investigate the effect of waste amount on the objectives, a problem instance has been solved with different scenarios and the sensitivity analyses have run on different number of activated nodes by IoT components to provides a comparison with the state of the lack of ICT and IoT technology in hazardous waste location routing management. As Fig. 11 shows, the presence of IoT components reduces the total costs and thus increases the profitability of the WM system.

Fig. 11
figure 11

Sensitivity analysis on the number of activated nodes with and without IoT components

8 Conclusions and further research

This paper presents an optimization model for optimal and sustainable Hazardous Waste Location-Routing problems (HWLRPs) in a smart city. To design a sustainable system, environmental and social aspects are considered alongside with economic aspects of the problem simultaneously. In this respect, three objective functions are defined, including maximization of profit and minimization of GHG emission and visual pollution. In addition, it is possible to have a sustainable system by taking into consideration green and social aspects alongside with economic aims of the system. Furthermore, the presented model has considered smart city components including techniques and tools related to information and communication technologies (ICT) and the Internet of Things (IoT) to proper the administration of hazardous wastes generated as a result of urban and industrial activities. Next, a solution representation is proposed based on the NSGA-III algorithm and the parameters of the metaheuristic algorithm are tuned by using the Taguchi method. In order to deal with the uncertainties in the proposed problem, various scenarios are generated regarding the number of activated nodes by IoT components and solved in small, medium, and large scales. As shown in previous sections, the presence of IoT components reduces the total costs and thus increases the profitability of the HWM systems. Moreover, the advantage of using this system is economic transportation and reducing greenhouse gases. In this way, unnecessary visits are avoided, and the optimum fuel consumption will happen. Due to the features of a Smart City, the application of this model is noteworthy, because as it can be fined from the results, the breadth and integration of the objective functions make it possible for decision makers to be able to visually take a broader look at the issue and make their decisions on the satisfaction of the environmental, economic and social issues. For example, in the social dimension of the problem, the reduction of visual pollution caused by hazardous waste transportation fleet in the city has been significantly reduced. In addition to the advantage mentioned above, omnipresent availability of data stored in the cloud can be useful for different beneficiaries and entities including legislators, food industry, healthcare systems, researchers, department of environmental protection and related organizations, and many other organizations that are affecting or taking effect of this progress.

For future studies, developing a multi-period model, considering time window and implementing the model in a real case are good directions. In addition, using other approaches to deal with uncertainty of the model such as fuzzy approaches is appealing.