Full text
Universitat Polit` ecnica de Catalunya Department of Statistics and Operations Research The Multi-Depot VRP with Vehicle Interchanges by Victoria Rebillas Loredo PhD Advisor: Maria Albareda Sambola Disertation of the degree of Phylosophy Doctor (PhD) in Statistics and Operations Research Barcelona, Catalunya, Spain november 2018
The multi-depot VRP with vehicle interchanges by Victoria Rebillas Loredo ADVERTIMENT La consulta d’aquesta tesi queda condicionada a l’acceptació de les següents condicions d'ús: La difusió d’aquesta tesi per mitjà del repositori institucional UPCommons (http://upcommons.upc.edu/tesis) i el repositori cooperatiu TDX (http://www.tdx.cat/) ha estat autoritzada pels titulars dels drets de propietat intel·lectual únicament per a usos privats emmarcats en activitats d’investigació i docència. No s’autoritza la seva reproducció amb finalitats de lucre ni la seva difusió i posada a disposició des d’un lloc aliè al servei UPCommons o TDX. No s’autoritza la presentació del seu contingut en una finestra o marc aliè a UPCommons (framing). Aquesta reserva de drets afecta tant al resum de presentació de la tesi com als seus continguts. En la utilització o cita de parts de la tesi és obligat indicar el nom de la persona autora. ADVERTENCIA La consulta de esta tesis queda condicionada a la aceptación de las siguientes condiciones de uso: La difusión de esta tesis por medio del repositorio institucional UPCommons (http://upcommons.upc.edu/tesis) y el repositorio cooperativo TDR (http://www.tdx.cat/?localeattribute=es) ha sido autorizada por los titulares de los derechos de propiedad intelectual únicamente para usos privados enmarcados en actividades de investigación y docencia. No se autoriza su reproducción con finalidades de lucro ni su difusión y puesta a disposición desde un sitio ajeno al servicio UPCommons No se autoriza la presentación de su contenido en una ventana o marco ajeno a UPCommons (framing). Esta reserva de derechos afecta tanto al resumen de presentación de la tesis como a sus contenidos. En la utilización o cita de partes de la tesis es obligado indicar el nombre de la persona autora. WARNING On having consulted this thesis you’re accepting the following use conditions: Spreading this thesis by the institutional repository UPCommons (http://upcommons.upc.edu/tesis) and the cooperative repository TDX (http://www.tdx.cat/?localeattribute=en) has been authorized by the titular of the intellectual property rights only for private uses placed in investigation and teaching activities. Reproduction with lucrative aims is not authorized neither its spreading nor availability from a site foreign to the UPCommons service. Introducing its content in a window or frame foreign to the UPCommons service is not authorized (framing). These rights affect to the presentation summary of the thesis as well as to its contents. In the using or citation of parts of the thesis it’s obliged to indicate the name of the author.
To my familly.
Acknowledgments During my academic life, I have had the pleasure of meeting many great researchers, from whom I have learnt a lot. First, I want to express entire gratefulness to my advisor Mari Albareda, thank you for all the support, patience and for accompanying me through this research adventure. I also want to thank Elena Fern´andez and Roger R´ıos for trusting me and for giving me the opportunity to begin my PhD. Thank you to the members of the Departament d’Estad´ıstica i Investigaci´o Operativa and to the PhD program for all the attentions received. Specially my gratefulness to Jessica and Diana to be with me, both academically and personally. My deepest thanks to Cris Nu˜nez for you support, teachings and guidance throughout all these years. I want to thank all my friends in Barcelona for being an important part in this phase of my life. Mainly to “la mia italiana preferita” Valentina for being unconditional, and for being with me whenever I need you. Thanks to “la meva part catalana” Albert, Laia and Oriol for their friendship and to cheer up me all the time. Thanks a lot to Robin, for staying with me all this last important phase, you are my best life coach, “nous sommes une grande ´equipe”. Thank also to families Degoix and Rodr´ıguez for giving me a place among you in such a short time. My biggest gratitude to my parents Sylvia and Vidal for giving me the best of you always and for teaching me a lot of important values that have been the basis to arrive here, this achievement is also yours. Thanks to all my family specially to my brothers Viridiana and Daniel, grandparents Toya, Cele and Petrita, and uncles Concepci´on and Jose Luis, for their unconditional support. iii
iv This research has been supported by the Mexican National Council for Science and Technology (CONACyT) through the studentship 381539 and The Mexican Secretariat of Public Education (SEP). Besides, it has been partially supported by the Spanish Ministry of Economy and Competitiveness end EDRF funds through grant MTM2015-63779-R (MINECO/FEDER). These supports are gratefully acknowledged.
Summary Victoria Rebillas Loredo. Candidate for the degree of Philosophy Doctor in Statistics and Operations Research. Universitat Polit`ecnica de Catalunya. Department of Statistics and Operations Research. Thesis title: The Multi-Depot VRP with Vehicle Interchanges Abstract: In real-world logistic operations there are a lot of situations that can be exploited to get better operational strategies. It is important to study these new alternatives, because they can represent significant cost reductions to the companies working with physical distribution. This thesis defines the Multi-Depot Vehicle Routing Problem with Vehicle Interchanges. In this problem, both vehicle capacities and duration limits on the routes of the drivers are imposed. To favor a better utilization of the available capacities and working times, it is allowed to combine pairs of routes at predefined interchange locations. The objective of this thesis is to analyze and solve the Multi-Depot Vehicle Routing Problem adding the possibility to interchange vehicles at predefined points. With this strategy, it is possible to reduce the total costs and the number of used routes with respect to the classical approach: the Multi-Depot Vehicle Routing Problem. It should be noted that the Multi-Depot Vehicle Routing Problem is v
vi more challenging and sophisticated than the single-depot Vehicle Routing Problem. Besides, most exact algorithms for solving the classical Vehicle Routing Problem are difficult to adapt in order to solve the Multi-Depot Vehicle Routing Problem (Montoya-Torres et al., 2015). From the complexity point of view, the Multi-Depot Vehicle Routing Problem with Vehicle Interchanges is NP-Hard, since it is an extension of the classical problem, which is already NP-Hard. We present a tight bound on the costs savings that can be attained allowing interchanges. Three integer programming formulations are proposed based on the classical vehicle-flow formulations of the Multi-Depot Vehicle Routing Problem. One of these formulations was solved with a branch-and-bound algorithm, and the other two formulations, with branch-and-cut algorithms. Due to its great symmetry, the first formulation is only able to solve small instances. To increase the dimension of the instances used, we proposed two additional formulations that require one or more families of constraints of exponential size. In order to solve these formulations, we had to design and implement specific branch-and-cut algorithms. For these algorithms we implemented specific separation methods for constraints that had not previously been used in other routing problems. The computational experience performed evidences the routing savings compared with the solutions obtained with the classical approach and allows to compare the efficacy of the three solution methods proposed. Keywords: combinatorial optimization, routing, the Multi-Depot Vehicle Routing Problem, Rich Vehicle Routing Problem, vehicle interchanges, branch-and- cut algorithm.
vii Resum: En les operacions log´ıstiques del m´on real es donen situacions que poden ser explotades per obtenir millors estrat`egies operacionals. ´ Es molt important estudiar aquestes noves alternatives, perqu`e poden representar una reducci´o significativa de costos per a les companyies que treballen en distribuci´o de mercaderies. En aquesta tesi es defineix el Problema d’Enrutament de Vehicles amb M´ultiples Dip`osits i Intercanvi de Vehicles. En aquest problema, es consideren tant la capacitat dels vehicles com els l´ımits de duraci´o de les rutes dels conductors. Per tal de millorar la utilitzaci´o de les capacitats i temps de treball disponibles, es permet combinar parelles de rutes en punts d’intercanvi predefinits. L’objectiu d’aquesta tesi ´es analitzar i resoldre el problema d’Enrutament de Vehicles amb M´ultiples Dip`osits, on es permet l’intercanvi de vehicles. Amb aquesta estrat`egia, ´es possible reduir els costos totals i el nombre de les rutes utilitzades respecte l’enfocament cl`assic: el problema d’Enrutament de Vehicles amb M´ultiples Dip`osits. Cal assenyalar que el problema d’Enrutament de Vehicles amb M´ultiples Dip`osits ´es m´es desafiant i sofisticat que el problema d’enrutament de vehicles d’un ´unic dip`osit. A m´es, molts algoritmes exactes per resoldre el Problema d’Enrutament de Vehicles cl`assic son complicats d’adaptar per resoldre el Problema d’Enrutament de Vehicles amb M´ultiples Dip`osits (Montoya-Torres et al., 2015). Des del punt de vista de la complexitat, el Problema d’Enrutament de Vehicles amb M´ultiples Dip`osits amb intercanvis de vehicles ´es NP-Dur, perqu`e ´es una extensi´o del problema cl`assic, que tamb´e ho ´es. Presentem una cota ajustada de l’estalvi en els costos de distribuci´o que es pot obtenir permetent els intercanvis. Es proposen tres formulacions de programaci´o sencera basades en la formulaci´o cl`assica “vehicle-flow” del Problema d’Enrutament de Vehicles amb M´ultiples Dip`osits. La primera formulaci´o, degut a la seva grand`aria i la seva simetria, nom´es permet resoldre inst`ancies molt petites. Per augmentar la dimensi´o de les inst`ancies abordables, es proposen dues formulacions addicionals que requereixen una o v`aries fam´ılies de restriccions de mida exponencial. Per aix`o, per tal de resoldre el problema amb aquestes formulacions, ha calgut dissenyar i implementar sengles algorismes de tipus branch-and-cut. En aquests algorismes s’han implementat m`etodes de separaci´o espec´ıfics per a les restriccions que no s’havien
viii utilitzat pr`eviament en altres problemes de rutes. L’exp`eriencia computacional realitzada evidencia els estalvis obtinguts comparaci´o amb les solucions corresponents l’enfocament cl`assic. Tamb`e es compara l’efic`acia dels tres m`etodes propostes a l’hora de resoldre el problema. Paraules clau: optimizaci´o combinatoria, enrutament, Problema d’Enrutament de Vehicles amb M´ultiples Dep`osits, Problema Ric d’Enrutament de Vehicles, intercanvi de vehicles, algorisme de branch-and-cut.
List of Tables 2.1 Relatedwork ............................... 13 6.1 Parameters by the normal distribution to generate vector demands. . 52 6.2 Dimensions of the instances tested. . . . . . . . . . . . . . . . . . . . 54 6.3 Results for Euclidean instances, |K|=2 ................ 55 6.4 Results for Euclidean instances, |K|=1 ................ 56 6.5 Results for QC1 instances, |K|=1 ................... 57 6.6 2-index vs 3-index formulation. QC1 intances, |K|= 2. . . . . . . . 60 6.7 Separation strategies tested . . . . . . . . . . . . . . . . . . . . . . . 60 6.8 Separation strategies. QC2 instances with |C|= 40, g = 0. . . . . . . 61 6.9 Results of QC1 with load-based formulation, |K|=2.......... 64 6.10 Comparison of 2-index and load-based formulations. QC2 instances with |C|= 40, g =0. ........................... 64 6.11 Comparison of 2-index and load-based formulations. QC2 instances with |C|= 40, g =100. ......................... 65 xv
Chapter 1 Introduction Nowadays, in the current globalized and competitive world, one of the most important challenges for companies is to offer a quality service with efficient strategies to satisfy all the requirements of the users. Besides, demographic explosion and the decreasing profit margins have led the companies to increase their size and operations to satisfy already large and growing demands. As a consequence, efficient decision-making in logistics systems has increased in complexity too. Operations Research (OR) is a discipline that deals with the application of advanced analytical methods to help making better decisions. In recent years, more and more companies around the world are applying OR tools due to the economic gains and improvements in logistics operations that they can achieve. For example, an important petroleum company in Brazil applied a Decision Support System to support ship scheduling decisions by maritime transportation and they reached a reduction of approximately 7.5% in the operational costs for long-haul transport (D´ıaz et al., 2014). In the USA a firm that offers trucking and logistics services used an OR solution in rail-based intermodal freight operations. They wanted to maximize driver productivity and minimize the time and miles not directly associated with moving loaded containers to or from rail ramps (Sun et al., 2014). Another kind of solution offered by software companies focuses on vehicle routing vendors; these companies provide personalized solutions in real time according with the vendors necessities (Hall and Partyka, 2016). In particular, the major operation costs within physical distribution are commonly related to fuel consumption and wages. Therefore, there is a considerable 1
Introduction 2 economical interest in finding distribution policies that allow to reduce these costs. To a large extent, these costs can be reduced by making use of efficient distribution routes. Identifying such routes in large distribution systems is not a trivial task, and operations research offer a variety of useful tools to address it successfully. Indeed, the problems that arise in this context have been intensively studied for more than half a century in combinatorial optimization. These problems are referred to as Vehicle Routing Problems (VRPs) (Laporte, 2009). The VRP can be simply defined as the designing of least-cost delivery routes from a depot to a set of geographically scattered customers, subject to some side constraints (Toth and Vigo, 2014). This problem is among of the most researched ones because of its wide applicability. In real-world situations there are a variety of operational rules and constraints to consider. As a consequence, there are many variants that emerge from the VRP. Among these situations, it is worth mentioning: periodicity, multiple depots, service time windows, capacity constraints, backhauls, pickups and deliveries and split deliveries (Weise et al., 2009; Lahyani et al., 2015). Taking advantage of the methodological progress and the development of computer technologies, in recent years the research community has focused on new VRP variants which could not be addressed before due to their complexity. These variants include most of the relevant attributes of the VRP that are essential to the routing of vehicles in real-life. Problems with these features are referred to as Rich Vehicle Routing Problem (RVRP) (Lahyani et al., 2015; C´aceres-Cruz et al., 2015). Also, because of the limited supply capacity in each depot and the geographical dispersion of the customers locations, companies often need to operate from several depots (Montoya-Torres et al., 2015). For example, the American electronic commerce and cloud computing company Amazon during these last 20 years has been incrementing its distribution network (MWPVL-International, 2015). The MultiDepot Vehicle Routing Problem (MDVRP) is the VRP extension that studies this realistic situation where more than one depot is considered (Kulkarni and Bhave, 1985; Laporte et al., 1988). The main constraints in the MDVRP are: each customer is visited once and its demand is fully satisfied, the total load delivered by a vehicle does not exceed its
Introduction 3 capacity, the total time spent by each driver is below a prespecified limit, and each driver finishes his route at the depot where he started. These conditions often enter in conflict and, in order to satisfy all of them, some of the available resources cannot be fully used. In this thesis we present the Multi-Depot Vehicle Routing Problem with Vehicle Interchanges (MDVRPVI). It is a new MDVRP variant that can be classified as a RVRP. With the aim of balancing the usage of the vehicle capacities and the route durations, we allow the drivers to interchange their vehicles/containers at predefined meeting points. To this end, their corresponding routes must be synchronized, which entails an additional source of complexity. However, this approach adds flexibility to the operations and it can improve the overall costs taking advantage of the fact that only drivers need to finish tours at their starting depot while vehicle routes can start and end at different depots. Exchange of drivers, especially in the routing of public transport, has been studied in the past (Andersson et al., 1979). However, we want to integrate this strategy within delivery routing problems. The possibility of distinguishing between drivers and vehicles routes can be encountered besides the traditional land transportation (trucks and roads) in other transportation modes (as air, maritime and rail transportation) (Gopalakrishnan and Johnson, 2005). The MDVRPVI is the extension of the MDVRP where this possibility is considered. The main objective of this work is to study the properties of the MDVRPVI and to propose exact solution methods for this problem. These exact solution methods will be based on different mathematical programming formulations that will also be proposed along the thesis. Given the complexity of this problem, we only expect to be able to solve exactly moderate size problem instances. The rest of the thesis is organized as follows, of works addressing VRP extensions that share some of the elements of the MDRP-VI is given in 2. In Chapter 3 the definition of the problem and an upper bound on the savings than can be attained with our policy as compared with the MDVRP is presented together with a brief analysis of the effect of the interchange locations. The mathematical formulations proposed to solve the MDVRPVI are explained in Chapter 4. Chapter 5 contains the details of the branch-and-cut algorithms. All the obtained results are shown
Introduction 4 in Chapter 6. Finally, Chapter 7 provides the summary, conclusions and proposes several venues of the future research.
Chapter 2 Literature Review This work is focused on a new MDVRP extension, the MDVRPVI in which drivers can switch their vehicles in certain meeting points. According to the definition provided in Lahyani et al. (2015) the MDVRPVI can be classified as a RVRP. The considered features are: vehicle routing and driver scheduling, synchronization between routes, waiting time\handling constraints and routes with closed driver tours. To the best of our knowledge, the problem addressed in this thesis has not been studied in the literature. In this section, we present a general overview of the solution methods for the MDVRP and a review of works focused on problems closely related to the MDVRPVI. The literature about the MDVRP in not that extensive as in the case of the VRP, given its applicability, many different techniques to solve it and its variants have been proposed in the literature. The first exact algorithms for the MDVRP were presented in Laporte et al. (1984) and Laporte et al. (1988). They developed a branch-and-bound algorithm, that allowed them solving instances of up to 80 nodes. More recently, Baldacci and Mingozzi (2009) developed an unified exact algorithm capable to solve different VRP extensions; among these, the MDVRP. This algorithm is based on a set partitioning formulation, and uses three types of bounding procedures based on a LP-relaxation and on the Lagrangean relaxation of the mathematical formulation. The computational results show that instances involving up to 199 customers can be solved. Braekers et al. (2014) present an exact approach for a general heterogeneous dial-a-ride problem with multiple depots. Three and two-index formulations 5
Literature Review 6 are discussed and a branch-and-cut algorithm for the standard dial-a-ride problem is adapted to exactly solve problem instances with about 50 requests. Contardo and Martinelli (2014) formulated the MDVRP with length constraints based on a vehicle-flow and a set-partitioning formulation. Several valid inequalities are used to strengthen both formulations and a new family of valid inequalities that forbid cycles of an arbitrary length are included. Their exact method has different stages. The three main components are variable fixing, column-and-cut generation and column enumeration. This new algorithm is able to solve MDRVP benchmark instances that had never been solved before, some having over 200 customers. Lahyani et al. (2018) developed five different mathematical formulations to solve the multi-depot fleet size and mix vehicle routing problem (MDFSMVRP). They used a branch-and- bound and branch-and-cut as solution algorithms, and compared the bounds of these formulations with classical benchmark instances, achieving better results with the commodity flow formulations and the capacity-indexed formulation. Due to the complexity of this problem and its variants, together with the increasing popularity of heuristics and metaheuristics, several algorithms of this type have been proposed in the literature for the MDVRP and some of its extensions. The first heuristic method is presented in Min et al. (1992) to solve the MDVRP with backhauling, the main idea of their algorithm is based on a problem decomposition. Among recent works, Afshar-Nadjafi and Afshar-Nadjafi (2017) present a constructive heuristic for the time-dependent MDVRP where an heterogeneous fleet, hard time windows and limitation on the maximum number of the vehicles in each depot are considered. Vidal et al. (2014) developed an unified metaheuristic to solve some variants of the MDVRP with and without fleet mix. The used approach is an hybrid genetic algorithm with iterated local search and dynamic programming. An hybrid granular tabu search algorithm was developed by Escobar et al. (2014). This algorithm is based on a heuristic framework previously introduced by the authors for the solution of the Capacitated Location Routing Problem. With the computational experiments on benchmark instances from the literature, they enhance several best solutions obtained with previously published methods and find new best solutions. A problem arising in the last mile distribution of e-commerce is studied in Zhou et al. (2018). In this problem, the first level routing is to design the routes transporting
Literature Review 7 the customers demand from the depot to a subset of satellites. The second level is the routing from the satellites to the customers. Besides, customers may provide different delivery options, allowing them to pick up their packages at intermediate pickup facilities. With all the above this is a complex problem, since there are a lot of interconnected decisions this is a complex problem, so they developed a hybrid multi-population genetic algorithm. A real word instance as well as randomly generated instances were tested. As mentioned before, the routing policy proposed in this thesis has not been studied before within VRPs. So, we review the literature on routing works with the main characteristics of the MDVRPVI. In our problem, we differentiate vehicles routes and drivers routes. In the literature there are works considering this fact. To the best of our knowledge, one of the most similar problems to the MDVRPVI studied in the literature is the simultaneous vehicle and crew routing and scheduling for partial-and full-load long-distance road transport proposed in Drexl et al. (2013). In this problem, there is an heterogeneous float of trucks and homogeneous drivers, and thats it, all drivers are able to use any available truck. Besides the typical depots and pick-up and delivery locations, relay stations are considered where drivers can exchange a truck, take a break or take a small shuttle van to another relay station (unlimited). The objective was to minimize the total routing costs, while satisfying the EU regulations. In this work, in contrast to the MDVRPVI, drivers and trucks have to finish at the same initial depot (as in the traditional MDVRP). This has to be satisfied at the end of the planning horizon that is six days. The proposed solution procedure is a two stage heuristic. The first stage consists in solving a Pickup-and-delivery problem (PDP) with time windows and relay stations. In the second stage, the authors solve a vehicle routing problem with time windows and multiple depot and, after that, they integrate both solutions. With all the characteristics considered, this kind of problems are intractable by means of exact algorithms, so that heuristic algorithms is one of the most common tools to solve them. We believe that it is important and useful to have a thorough knowledge of more and more realistic problems and to be able to solve them exactly. This motivates us to study the MDVRPVI, which
Literature Review 8 already has some of the features of such real problems, but it is stylized enough to allow for theoretical analyses and exact solution methods. Other problems that, although being different are closely related to the MDVRPVI are reviewed next. Dom´ınguez-Mart´ın et al. (2017) and Dom´ınguez-Mart´ın et al. (2018), solved a problem motivated on air transportation where, as in the MDVRPVI drivers must finish their routes at their home depot, but vehicles need not. In these problems the daily planning of flights, airplanes and crew has to be made, and the crew members are allowed to travel as passengers in flights too, in order to reach their depot. To avoid overnight costs, the flights assigned to each aircraft must be such that it starts the day in one hub airport and ends in the another one. The largest difference between these two problems was in the number of visits. The first problem has been modeled as a scheduling problem where each task must be performed by a unique operator and a unique machine, while in the second one, some locations may be visited by several vehicles and drivers. The authors proposed integer programming formulations for both problems, and branch-and-cut algorithms were used to solve it. We take this idea of designing different routes for the vehicles and for the crew, so usual in air transportation, and apply it in road freight transportation. Also in the context of air transportation, but now motivated by situations arising in humanitarian and military logistics, (Lam et al., 2015) present the Joint Vehicle and Crew Routing and Scheduling Problem. In this work, The authors highlight how important is to consider the crew routing besides the vehicle routing, because in their problem, limitations on the operating times of the crew need to be considered. In this problem crews are able to interchange vehicles at different locations (which are the same places to serve) and to travel as passengers before and after their operating times. Moreover, if there is a crew interchange, vehicles need to be synchronized. The problem was modeled with a constraint programming formulation and to solve it, they implemented a Large Neighborhood Search, that explored both vehicle and crew neighborhoods.
Chapter 3 The Multi-Depot Vehicle Routing Problem with Vehicle Interchanges In this Chapter, we present the definition, assumptions and characteristics of the MDVRPVI together with an upper bound on the relative savings that can be obtained by allowing vehicle interchanges. This bound will be proven to be tight by means of an asymptotic example. 3.1 Problem definition We are given a set of geographically scattered points divided into customers, depots and interchange locations. Transportation costs and travel times (or distances) between any pair of such points are also given (the triangle inequality is assumed). Each customer has a certain demand, and each depot an available fleet of capacitated vehicles to serve all the customers. There is also a limit on the duration of the drivers routes. The MDVRPVI consists in determining a set of vehicle and driver routes which minimize the total distribution costs (total transportation plus vehicle utilization costs) so that: each customer is serviced exactly once by a vehicle, the total demand of each vehicle route does not exceed the vehicle capacity, the total driver working time does not exceed the maximum available time and each driver finishes at the same depot where the started. In the MDVRP routes are designed so that each vehicle and its associated driver must start and end at the same depot. 15
The MDVRPVI 16 As opposite, in our problem the vehicle may not end at the depot where it departed from, but drivers must start and finish at their home depot. To do that, a couple of routes can be synchronized and stop at a certain interchange location where drivers exchange their vehicles or containers. We will refer to a pair of such routes as “exchanged routes”. With this strategy it is possible to combine better the vehicle capacities and the allowable driving times. We want to take advantage of this fact and hence reduce the total routing costs. We assume that at most one interchange per route is permitted and also that at most one interchange per interchange location is performed. This last assumption can be satisfied by replicating interchange locations if more interchanges are allowed. No waiting times at the interchange locations are imposed, since we do not force all vehicles to start their journey at the same time, and, therefore, they are assume to start in a coordinated way, so that they arrive to the interchange location at the same time. Within this thesis, we do not distinguish between the time required to traverse an edge (used in the driving time constraints), and the cost to do it (needed for the objective function). However, all the arguments used here can be extended to the case where they are two distinct sets of values. Note also that the possible time required to perform an interchange has not been explicitly defined. In most cases this time is negligible. However, if an application requires including such times, they can be simply dealt with by adding them to the times associated with arcs ending at an interchange location. The MDVRP is classified as NP-Hard (Laporte et al., 1988). Since the MDVRPVI contains as a particular case the MDVRP (the set of interchange sites is empty), the MDVRPVI is NP-Hard too. To illustrate a MDVRPVI solution consider the situation depicted on top of Figure 3.1 where four customers (circles), two depots (squares) and an interchange location (triangle) are placed in a line. The time required to traverse the whole segment between Aand Bequals the maximum driving time, T, the vehicle capacity is Q, and the customers demands are those given inside the circles representing them. In this case, if it is only allowed to move along the horizontal line, the optimal MDVRP solution is to serve from depot Athe customers with demand Q−1 in two separate routes and use another tour from depot Bfor serving the other two customers. The value of this optimal solution is Z(MDV RP) = 2(T 2−2) + 2(T 2−
The MDVRPVI 17 )+2(T 2−) = 3T−8. If interchanges are allowed, the optimal solution is composed of two routes, each starting at one depot, collecting the demand of one small and one big customer and finishing at the other depot. For making this possible, the two routes must meet at the interchange point (the triangle) so that drivers can switch their vehicles and finish their journey at their home depot. This solution is feasible for both drivers and vehicles, and the total cost is Z(MDV RPV I)=2T. Thereby, for arbitrarily small values, in this example, Z(MDV RP)→3 2Z(MDV RPV I). In Figure 3.1 both solutions are shown. Figure 3.1: Example of MDVRPVI solution. In Figure 3.2 we provide another example to illustrate the possible advantage of a MDVRPVI solution with respect to the MDVRP solution. In this instance customers, depots and an interchange point are located on a 3 ×5 grid and Euclidean distances are considered. The vehicles capacity is Q= 14 and T= 12 is the maximum available time. As we see in Figure 3.2(a) the MDVRP optimal solution consists of two routes, with a total length Z∗= 22. On the other hand, in the MDVRPVI solution (3.2(b)) drivers arrive to the interchange point (triangle) and with this strategy, each of the routes has length 8.41. As a result Z∗= 16.82 is the optimal value, which represents a 23.5% reduction with respect to the MDVRP solution.
The MDVRPVI 18 15 5 1 1 1 15 5 1 1 1 21 2 2 1 1 1 2 3 1 1 1 1 3 𝑑1𝑑2 𝑡𝑘1=10 𝑡𝑘2=12 (a) MDVRP solution 1 1 1 1 1 1 1 1 1,41 1 1 1 1,41 11 1 𝑑1𝑑2 15 5 1 1 1 15 5 1 1 1 𝑡𝑘1= 8.41 𝑡𝑘2= 8.41 (b) MDVRPVI solution Figure 3.2: Example MDVRP versus MDVRPVI. Additionally to the transportation cost reduction, in some cases the MDVRPVI gives the possibility to reduce the number of routes needed as it is the case in the synthetic example of Figure 3.1. We provide a last example. Consider the instance depicted in Figure 3.3, with depots at nodes 0 and 1 an interchange location at node 2, and customers at nodes {3, ..., 14}. Euclidean distances are used. The corresponding demands are as follows {13,4,7,15,6,4,9,15,9,4,15,17}vehicles capacity is Q= 59 and the route duration limit T= 200. The optimal MDVRP solution, with value Z∗= 327.077 uses three vehicles whereas the optimal MDVRPVI solution, with value Z∗= 291.217 requires only two. Besides, we can observe with the load ratios (qk/Q) that all the vehicles capacity is used. About the time ratios (tk/T), our policy in this case reflects a better balance between drivers. (a) MDVRP solution using 3 routes (b) MDVRPVI solution using 2 routes Figure 3.3: Example where the MDVRPVI uses one route less than MDVRP.
The MDVRPVI 19 Effect of the location of the interchange points We are aware of the fact that the interchange points locations can represent a significant variation in the possible savings to obtain by using the interchange policy. As we have defined the MDVRPVI, the problem is already very complex, so unfortunately optimizing this location is not within the scope of this thesis. Nonetheless, in order to know the behavior in the savings that could be achieved, in one particular instance we tested some different interchange locations around a specific region to observe the variation of the obtained gains. Figure 3.4 shows an instance with two depots (d1and d2), 13 customers (with size proportional to the demands), and one interchange point, for which three different locations have been tested (i1, i2and i3). Again, Euclidean distances are used. In all of them, the shape of the solution is the same, but the savings with respect to the MDVRP are different. The largest one is 9.10%, obtained with the point i1, the second one is i3with 7.34% and finally i2gives the smallest saving, 6.15%. So we can see that even small variations on the interchange point location can have a large effect on the obtained gains. 9% Savings 6% 𝑑2 𝑑1 𝑖1 𝑖2 𝑖3 Figure 3.4: Different interchange point locations tested and their corresponding savings.
The MDVRPVI 20 3.2 Analysis of the maximum achievable savings In this section we provide a theoretical tight bound on the savings that can be attained by using this policy, as compared with the classical MDVRP. In the classical MDVRP each driver must finish his route at the depot where he started (closed route). Due to these constraints the driver route duration limit and vehicles capacity may be not completely used. As mentioned above, in the MDVRPVI, we allow that pairs of vehicle routes switch their respective depots so that, if the corresponding drivers also switch, they can finish their journey at their home depot. As it has been shown in the previous examples, in some occasions this may help balancing the use of the available resources. To take advantage of combining vehicle loads and drivers operation times, a new design of routes is performed and a significant routing cost reduction can be attained. We want to bound the largest value that this reduction can take. Starting from a fixed instance, we denote the costs of the optimal solutions to both problems by Z(MDV RP) and Z(MDV RPV I), respectively. We next analyze the ratio between these values. In that follows, we refer to a route which is feasible with respect to the capacity constraint as a Q-feasible route. Analogously, a route that is feasible regarding the time constraint is called T-feasible. Keep in mind that the only assumption made on the distances is that they satisfy the triangle inequality. Theorem 1: Z(MDV RP ) Z(MDV RP V I)<2, and this bound is tight. The simplest case where exchanged routes can appear is an instance with two depots and one interchange point. We will focus on this case for simplicity. All the ideas used here naturally extend to instances with more depots and interchange points. Let us consider an MDVRPVI instance for which the optimal solution contains two exchanged routes a, and b, as depicted in Figure 3.5(a). After serving some customers each, drivers meet at the interchange location (triangle) where they switch their vehicles. Then, they can serve the rest of the customers and finish in their home
The MDVRPVI 21 depot. Now, from the previous MDVRPVI solution we will build a feasible MDVRP solution and compute its cost. This solution is initially formed by routes a0and b0. Each of them follows the previous drivers routes, but skipping the interchange point (see Figure 3.5(b)). These will be further modified if they are not feasible. We will show in what follows that the value of the new solution is at most 2Z(MDV RPV I). Since the new solution will be feasible for the MDVRP, its value will bound above Z(MDV RP). B A 𝑎 𝑏 (a) z(MDVRPVI) = c{a, b} B A 𝑎′ 𝑏′ (b) MDVRP solution? A B 𝑐𝑎2 ′ 𝑐𝑏′ 𝑐𝑎1 ′ (c) z(MDVRP) ⩽c{a0 1, a0 2, b0} Figure 3.5: From a MDVRPVI solution to a MDVRP solution. 1. If routes a0and b0were feasible, taking advantage of the triangle inequality, the solution {a0, b0}would be optimal for the MDVRPVI, because it has a total driving distance not larger than that of {a, b}. In this case, Z(MDV RP) = Z(MDV RPV I). 2. Even if a0and/or b0are infeasible, note that they must be both T- feasible: due to the length constraints, and the triangle inequality, route a0 is not longer than the route of the driver that started at depot A(the same for b0). Therefore, the only unfeasibilities of a0and/or b0are related with the capacity constraints. •If aand bare Q-feasible then at least one of a0or b0is Q-feasible too: Let Q1and Q2be the aggregate demand of the customers in the
The MDVRPVI 22 first and second path of route a, respectively, and let Q3and Q4be the aggregate demand of the customers in the first and second path of route b, respectively. If a0is infeasible it must be because Q1+Q4> Q, if b0is infeasible, Q2+Q3> Q. Then, if both were infeasible, the total demand would satisfy Q1+Q2+Q3+Q4>2Qand this cannot happen if aand bwere Q-feasible. Therefore, at most one of the routes a0and b0can be infeasible. We assume, without loss of generality, that a0is not Q-feasible. If the Q-infeasible route is a0, it can be split into two Q-feasible routes a0 1and a0 2as in Figure 2.c. Route a0 1starts at the depot, follows route a0 until the last customer before skipping the interchange point, and then goes straight back to the depot. Route a0 2resumes route a0from the first customer not visited by route a0 1. By the triangle inequality neither a0 1 nor a0 2are longer than a0, and, by construction, both are Q-feasible since each is part of one of the original Q-feasible routes aand band demands are non negative. Therefore routes {a0 1, a0 2, b0}define a feasible MDVRPVI solution. Next, we compare the transportation cost of the solution built above with the cost of the original one. Since {a, b}is the optimal MDVRPVI solution, and {a0 1, a0 2, b0}is a feasible MDVRP solution, any upper bound on c({a,b}) c({a0 1,a0 2,b0})will be an upper bound on Z(MDV RP ) Z(MDV RP V I)for this instance. Indeed, by the triangle inequality, the potentially feasible solution {a0, b0}described in point 1 will never be more expensive than {a0 1, a0 2, b0}, so that it is not necessary to consider it further in this analysis. Figure 3.5 shows the costs involved in both solutions. We split the cost of route ainto costs c1 a+c2 ato manage the costs in the route before and after the interchange point, respectively. Analogously, the cost of route bhas been split into c1 b+c2 b. Similarly, we denote with ca0 1,ca0 2and cb0the costs of routes a0 1,a0 2and b0, respectively. Therefore, c({a, b}) c({a0 1, a0 2, b0})=c1 a+c2 a+c1 b+c2 b ca0 1+ca0 2+cb0 (3.1)
The MDVRPVI 23 Now, we have two possibilities: either c1 a+c2 b≤c1 b+c2 aor c1 a+c2 b>c1 b+c2 a. Case 1: considering that c1 a+c2 b≤c1 b+c2 athen cb0+ca0 1+ca0 2≤2(c1 a+c2 b) + c1 b+c2 a≤3 2(c1 a+c2 b+c1 b+c2 a) = 3 2ZR(MDV RPV I). where ZRstands for the routing cost of the optimal MDVRPVI solution. Case 2: suppose that c1 a+c2 b>c1 b+c2 athen cb0+ca0 1+ca0 2≤2(c1 a+c2 b+c1 b+c2 a) = 2ZR(MDV RPV I).(3.2) In Case 2 we can see that the delivery cost never reduces to less than 50% if interchange routes are allowed. As a consequence, in both cases the ratio (3.2) is bounded by 2. The same reasoning can be repeatedly applied if in a solution there are more than one pair of exchanged routes. As for the vehicle utilization costs, note that in the MDVRP solutions built as above, the number of vehicles is increased, at most, by 50%. Therefore, for any instance, Z(MDV RP ) Z(MDV RP V I)<2. To see that the bound is tight, Figure 3.6 shows a synthetic example where allowing the combination of two routes results in cost savings that, asymptotically, reach this bound. Given ∈Nconsider the instance with capacity 2n+ 2 customers with Q= 2n+ 1, a huge value of the driving time limit, network distances, and the demands shown in the figure. The optimal MDVRP solution is composed by two routes rooted at depot Adelivering all the customers with demand 2 (one above and one below) and one route rooted at depot Bserving the remaining two customers. Allowing interchanges, the optimal solution is composed by two routes with similar shape: starting in one depot, they deliver ncustomers with demand 2 and one with demand 1, going to the interchange location and finishing the route in the opposite depot (see Figure 3.6). So, the value of Z(MDVRP) is equal to (4n+ 3)and Z(MDVRPVI) is 2(n+ 4). As ngrows, the ratio Z(MDV RP)/Z(MDV RPV I)→ 2.
The MDVRPVI 24 Figure 3.6: Example of Theorem 1.
Mathematical programming formulations 31 The goal is to minimize the objective function (4.25) which includes the fixed costs for vehicle utilization plus the transportation costs. Degree constraints at customers are (4.26)-(4.27). With constraints (4.28) we indicate the maximum number of vehicles that can be used, at each depot. Constraints (4.29) guarantee the flow conservation at the depots, and constraints (4.30)-(4.31) force the interchange locations to have an appropriate degree. Constraints (4.32) establish Tas the maximum available driver time. (4.33)-(4.36) are the constraints that involve the coherence between routing and time variables. With (4.37) we prevent solutions with routes visiting just one customer or interchange point starting and ending at different depots. Constraints (4.38) are the well-know capacity constraints, used for the CVRP. Recall that at least r(S) vehicles are needed to serve all the customers in S. Basically, all the above constraints can be obtained from constraint in the 3-index formulation by aggregation and basic constraints operations. Unfortunately, since the vehicle that uses each used arc is not identified now, additional constraints are needed to forbid wrong solution structures. The rest of families of constraints are presented and explained next in detail. Finally, (4.39)-(4.42) define the domains of the variables. Next we will present and discuss the pending families of constraints. Multi-Cut inequalities As in the MDVRP, we need to forbid paths starting and ending in different depots (Figure 4.1(a)). Additionally, in the MDVRPVI, any pair of exchanged routes using the interchange location, must interchange their startin-finishing depots. Figure 4.1(b) shows an infeasible solution with patterns where this fact is not satified, due to an unbalance between the flows entering and leaving from/to depot t from set S. Note that this expression is formally different from the MCC definition given in Bekta¸s et al. (2017). In that paper, these constraints are expressed as: x(d:S) + x(¯ S:S)⩾yd−x(¯ S:d) where ydaccounts for the degree at depot d. Since we do not use these variables, we replace yd−x(¯ S:d) with x(S:d), which is equivalent.
Mathematical programming formulations 32 𝑆 𝑑 (a) Classical path constraint violated 𝑆 𝑑 𝑑 (b) Example with exchanged routes unbalanced Figure 4.1: Examples with violated multicut inequalities. Let d∈Dand sets S⊆C∪I, ¯ S= (C∪I)\S. The following constraint must be satisfied. x(S:d)⩽x(d:S) + x(¯ S:S).(4.43) These constraints are valid, since x(S:d) is bounded above by the number of vehicles that visit set Sand finish their journey at d. This last value is in turn equal to the number of drivers based at dthat visit set S. Each of these drivers must enter set Sat least once, either directly from depot d(increasing thus x(d:S)) or from some other customer or interchange point (accounted for in x(¯ S:S)). Q-Path constraints Constraints (4.38) ensure that non-interchanging routes satisfy the capacity constraints, and also that they are satisfied by any leg of an interchanging route (depot-interchange point or interchange point-depot). On the other hand, constraints (4.43) forbid non-interchanging routes starting and ending at different depots. Despite these two constraints, it is possible to get solutions with a route exchange violating the available capacity. For example, in Figure 4.2(a) we have an instance where the vehicles capacity is Q= 10 and the solution is composed by a pair of exchanged routes.
Mathematical programming formulations 33 A first route starting at depot dis satisfying the capacity constraint, but the second one, departing from depot d0delivers a total of 11 units and is, therefore, unfeasible. 2 5 3 4 4 b 𝑖 𝑑′ 𝑆 = {𝑖, 𝑏} 𝑙 𝑗 𝑑 (a) Solution a possible Q-feasibility 2 3 2 2 1 𝑑′ 𝑑 4 3 3 (b) Solution a non possible Q-feasibility Figure 4.2: Solutions violating the Q-feasibility. Note however that the set of connections used by unfeasible solutions like those of Figure 4.2 can become feasible by choosing appropriate directions in some cases, but not always. This is the case of Figure 4.2(a), that can be turned feasible as shown in Figure 4.3. As opposite, the second situation shown in Figure 4.2(b) cannot be made feasible by just modifying arc directions. 𝑑 2 5 3 4 4 𝑑′ 𝑑′ Figure 4.3: Solution with exchanged routes and Q-feasibility. For this reason, to forbid this type of situations “directed” constraints seem more appropriate. Motivated from the “classical” path constraints (4.50) proposed in Belenguer et al. (2011) Q-Path constraints seek to prohibit the violated path as follows. Taking j, l ∈(C∪I) and sets S⊆(C∪I)\{j, l}with r(S∪{j, l})⩾2, D0⊂D and γ0(S)⊂γ(S) such that |γ0(S)∩δ+(i)|= 1 and |γ0(S)∩δ−(i)|= 1 ∀i∈Sthe following constraint must hold. Then, the following constraint holds: x(γ0(S)) + x({j}:S) + x(S:{l}) + x(D0:{j}) + x({l}:D\D0)≤|S|+ 2.(4.44)
Mathematical programming formulations 34 The path shown in the first example of Figure 4.2(a) would be forbidden by the constraint from set (4.44) with D0=d, and S, j, l taken as shown in the figure. Note that, given the degree constraints at the customers and he conditions set on γ0, the left hand side of constraints (4.44) can only reach |S|+ 3 if the used arcs form a path from a depot in D0to a depot in D\D0going through all customers in S∪ {j, l}, which is not feasible when r(S∪ {j, l})≥2. I-Path constraints For instances with |I|>1 it is necessary to ensure that xvariables will not define any path connecting two interchange locations (Figure 4.4). 𝑖 𝑖′ 𝑆 𝐼′ 𝐼′\I 𝑙 𝑗 Figure 4.4: Solution with violated I-Path constraint. To this end, it is possible to use the path elimination constraints. So, in the same manner, taking j, l ∈C, S ⊆C\{l, j},but using a set of interchange locations Iinstead of a set of depots Dand I0⊂I, we have the I-Path constraints (4.45). x(γ(S∪ {l, j})) + x({j}:I0) + x({l}:I\I0)≤ |S|+ 2.(4.45)
Mathematical programming formulations 35 Alternatively, we can derive constraints from the Multi-cut inequalities to forbid the above paths as follows: Let i∈Iand sets S⊆C, ¯ S= (C∪D)\S. The following constraint must be satisfied. x(S:i)⩽x(¯ S:S).(4.46) The rationale behind these constraints is similar to 4.43. The value of x(S:i) equals the number of vehicles that go directly from set Sto i. Each of those vehicles must have entered to the set of customers either from a customer not in S, or from a depot, but not from another interchange point. S-Path constraints Another set of necessary constraints defining the feasible set of the MDVRPVI is formed by the following S-Path constraints. For instances where |D|>2 and |I|> 1 it is possible to get patterns as in Figure 4.5 where two interchanging routes do not swap their home depots, so that even if vehicles are interchanged, the corresponding drivers would not finish their journey at their home depot. In the unfeasible solution depicted in Figure 4.5, identifying the pair of routes associated with the interchange point i, we can see that only one of them is performing a correct trip. For example, taking as first route the one that the two routes that meet at this interchange point (depicted in red and green in the figure) visit completely different depots so that if drivers interchange their vehicles at i, the driver that started his journey at d2would finish at d4, and the one who started at d3would finish at d1. 𝑑1 𝑖 𝑆1 𝑆2 𝑑2 𝑑3 𝑑4 𝐷′ Figure 4.5: Example with violated S-Path constraints.
Mathematical programming formulations 36 To prohibit the above situations, we define the S-Path constraints. For d∈ D, i ∈I, S1, S2⊂Csuch that S1∩S2=∅, let D0=D\ {d}, then, the following constraint must be satisfied: x(γ(S1)) + x(γ(S2)) + x(D0:S1) + x(S1:{i})+x(S2:{i}) + x({i}:S2) + x(S2:D\D0) ≤ |S1|+|S2|+ 2νi. (4.47) •Note that, if νi= 0, then, by constraints (4.47) xdi =x(S1:i) = x(i:S2) = x(S2:i) = 0. The value of x(d, S1) + x(γ(S1)) is bounded above by the sum of the in-degrees of the nodes in set S1, which is |S1|. Analogously, considering the out-degree of the nodes in S2, +x(γ(S2)) + x(S2:D0)⩽|S2|. Adding up both inequalities we obtain the above constraint for this case. •Let us consider now the case with νi= 1. Note that, if subtour elimination constraints are satisfied, the only feasible subcircuits are driver tours associated with pairs of exchanged routes. Therefore they contain both, one depot and one interchange point. Taking this into account, no subcircuit can be closed if neither arcs leaving an interchange point nor entering a depot are considered. Using this fact, we obtain: xdi +x(d, S1)+x(γ(S1))+ x(S1:i) = xγ(S1∪ {d, i})\δ− i∪δ+ d⩽|S1|+1. (4.48) Moreover, the equality can only hold if all nodes in S1∪ {d, i}are connected, which taking into account the considered arcs, and the degree constraints on the customers, implies that the used arcs contain a path from dto i. We consider now the remaining terms in the left hand side of Eq. (4.47). Taking into account the out-degree of nodes in S2∪ {i}, we know that: x(i:S2) | {z } A +x(S2:i) | {z } B +x(γ(S2)) | {z } C +x(S2:D0) | {z } D ⩽|S2|+ 2νi(4.49) Moreover B+C+D⩽|S2|because of the out-degree constraints of nodes in S2, and A+B+D⩽|S2|because no circuit involving only nodes in S2∪ {i} can be formed. Therefore, being νi= 1, an equality in equation (4.49) would
Mathematical programming formulations 37 imply that A⩾2, C⩾2, and that all arcs incident to nodes in S2are among those considered in either A,B,Cor D, which implies that they contain at least two paths from ito depots in D0. Summarizing, in case νi= 1, equation (4.47) will hold unless both equations (4.48) and (4.49) hold as an equality which is unfeasible. Indeed, if one route departing from darrives to i, one of the two routes going through imust finish at d; they cannot finish both at D0. Like in the previous cases, Figure 4.5 provides the sets corresponding to the S-Path constraint that forbids the situation depicted in the figure. For this 2-index flow formulation there are |A|+|I|binary variables and 2(|I|+ |C|) continuous variables. Regarding the constraints with polynomial size, we have 2|D|+ 2|I|+ 2|C|related with in-out degree (4.26)-(4.31). To handle the times (4.32)-(4.36) and by the constraint (4.37) there are 5(|I|+|C|)+3|D|(|I|+|C|). A group of constraints (4.38)-(4.43) are constraints with exponential size growing as the number of customers, so, we added it only in the moment that are needed. 4.2.1 Valid inequalities •Path elimination constraints: As we mentioned before, in the MDVRP and in Location Routing Problems too, it is common to use the so-called path elimination constraints in order to avoid paths that connect two distinct depots (See Figure 4.1(a)). For instance, Belenguer et al. (2011) proposed the following family of constraints, defined for each D0⊂D, j, l ∈C, and S⊆C\ {j, l}: x(γ(S∪ {j, l})) + x(D0:{j}) + x({l}:D\D0)≤ |S|+ 2.(4.50) We have adapted these constraints for the MDVRPVI taking into account that, now, paths connecting two depots are allowed, but only in case they are formed by parts of two routes that interchange their vehicles. The obtained family of constraints is defined for j, l ∈C∪I, S ⊆C∪I\{j, l}, D0⊂Dand is expressed as:
Mathematical programming formulations 38 x(γ(S∪ {j, l})) + x(D0:{j}) + x({l}:D\D0)≤|S\I|+ 2 + 2 X i∈(S∪{j,l})∩I νi. (4.51) With the above constraint if νiis in a solution we have two options: a violated path (Figure 4.6(a)) a non-violated path (Figure 4.6(b)), lets analyze this case. These paths with a special combination are allowed if there is a pair of exchanged routes. Note that x(D0:{j}) + x({l}:D\D0)≤2, and considering that νi= 1 for i∈(S∪{l, j})∩I, then x(γ(S∪{l, j})) ≤ |S\I|+1+2νibecause of the SECs. Holding the inequality as an equality, customers in (S∪ {l, j}\I) are consecutive in a path, it is still valid to forbid subcircuits, since because we take into account a reduced number of arcs incident to νi. If x(D0:{j})=1 it means that the path is connected to a depot in D0and with our constraint it is possible that x({l}:D\D0) = 1. 0.328 0.671 0.671 0.6712 0.328 0.328 𝑙 𝑗 𝐷′𝐷′\D 𝑆 (a) Violated path constraint using νi 𝐷′𝐷′\D 𝑆 𝑗 𝑙 (b) Non violated path constraint using νi •Minimum number of needed routes: we have as parameters customers demands and the capacities of the vehicles, so it is possible to compute a lower bound on the number of vehicles that are needed to serve all the customers. X i∈D,j∈C∪I xij ≥&X j∈C qj/Q'.(4.52) •Relating the number of routes with the number of interchanges: the total number of used vehicles, which can be computed as the number of used arcs
Mathematical programming formulations 39 leaving a depot, must be at least twice the number of interchanges. X d∈D,j∈C∪I xdj ≥2X i∈I νi.(4.53) 4.3 Load based formulation Commonly, VRP formulations have decision variables with a vehicle index to indicate the arcs traversed by each vehicle. This fact involves a large number of decision variables and, as mentioned before, serious symmetry problems. The so-called loadbased formulations try to deal with this difficulty. In this kind of formulations, the decision variables identified with the arcs used in the solutions are not explicitly associated with the vehicles that traverse them (Letchford and Salazar-Gonz´alez, 2015). For the MDVRPVI, the binary variables in this load formulation emerge if the 2-index flow variables are related with the depot where the routes start and end, we will named this as “depot-route”. For an exchanged route, it will be associated with the depot it departed from until it arrives to the interchange point, then it will be related to the ending depot from then on. For this formulation, we still work with the set of arcs Ainitially defined, and we denote by A∗the set of arcs in (C×C)∪(I×C)∪(C×I). Formally, binary variables xd ij with (i, j)∈A,d∈Dthat indicates whether a route associated with depot dtraverses the arc (i, j). Similarly, new continuous variables wd ij will represent the load of the vehicle that traverses arc (i, j) in a route associated with depot d. The rest of variables are maintained as in the 2-index formulation.
Mathematical programming formulations 40 The load-based formulation for the MDVRPVI is the following: minimize gX d∈D j∈C∪I xd dj +X d∈D j∈C∪I (cdjxd dj +cjdxd jd)+ X d∈D (i,j)∈A∗ cijxd ij (4.54) subject to X d∪D xd dj +X d∈D i∈C∪I\{j} xd ij = 1, j ∈C(4.55) X d∪D xd jd +X d∈D i∈C∪I\{j} xd ji = 1, j ∈C, (4.56) X i∈C∪I xd id ≤ |K|, d ∈D, (4.57) X d∈D xd di +X j∈C d∈D xd ji = 2νi, i ∈I, (4.58) X d∈D xd id +X j∈C d∈D xd ij = 2νi, i ∈I, (4.59) `i+si≤T, i ∈C∪I, (4.60) `j≥`i+cij −(T+cij)(1 −X d∈D xd ij), i, j ∈C∪I, (4.61) si≥sj+cij −(T+cij)(1 −X d∈D xd ij), i, j ∈C∪I, (4.62) `j≥X d∈D cdjxd dj, j ∈C∪I, (4.63) si≥X d∈D cidxd id, i ∈C∪I, (4.64) X j∈C∪I xd dj =X j∈C∪I xd jd, d ∈D, (4.65) xd dj +X i∈C∪I (i,j)∈A∗ xd ij =xd jd +X i∈C∪I (j,i)∈A∗ xd ji, d ∈D, j ∈C∪I, (4.66) X d∈D xd ij ⩽1,(i, j)∈A, (4.67) wd dj ⩽Qxd ij, d ∈D, j ∈C∪I, (4.68) wd ij ⩽Qxd ij,(i, j)∈A, d ∈D, (4.69) X d∈DX k∈C∪I∪{d} k6=j (wd jk −wd kj) = −qjX k∈C∪I∪{d} k6=j xd kj, d ∈D, j ∈C, (4.70)
Branch-and-cut algorithms 47 s ( ҧ𝑥𝑑𝑖 − ҧ𝑥𝑖𝑑)+ ҧ𝑥𝑖𝑗 ( ҧ𝑥𝑑𝑖 − ҧ𝑥𝑖𝑑)− t Cut Figure 5.1: Separation graph to our Multi-cut separation. •Separation of Q-Path constraints (4.44) As we mentioned before, Q-path constraint are left as lazy constraints and separated by inspection only in integer solutions. After ensuring that the four paths connecting one interchange location with a depot, satisfy the capacity constraint these constraint can be applied. It is possible to get solutions where there is an interchange but the vehicle capacity in a route, to forbid these cases we formulated the Q-Path constraints. •Separation of I-Path constraints (4.45) We can see the I-Path constraints as the classical path constraints, where interchange locations play then role of depots instead of a pair of depots. So, we used the same separation procedure as Belenguer et al. (2011). Note that we are working in a directed graph and, thus, the arcs direction is considered. Each connected component of the solution is considered separately, and only those connected components containing more than 2 interchange points are considered; in the other cases no I-Path constraint can be violated. The connected components are identified by using the separation algorithm. Let be G(x) the support graph, we want to find the most violated set for the current solution. In the LHS, to maximize x({j}:I0) + x({l}:I\I0) is easy to find the most connected jto I0. Now, following with x(γ(S∪ {l, j})), adding the degree constraint for the customers in S∪ {l, j}we have: 2(|S|+ 2) = 2x(γ(S∪ {l, j})) + x(δ(S∪ {l, j}))
Branch-and-cut algorithms 48 then −x(δ(S∪ {l, j})) = 2x(γ(S∪ {l, j})) −2(|S|+ 2) Using the max flow min cut theorem, the second part is maximum when the minimum x(δ(S∪ {l, j})) is attained. •Separation of S-Path constraints (4.47) These group of constraint are left as lazy constraints and if the solution is integer, separated by inspection (as Q-Path constraints). Getting the integer connected component, if there are paths ending in a wrong depot, then identifying all the necessary elements to apply this constraint. •Separation of path elimination valid constraints (4.50) As in the I-Path separation, this procedure is as the developed by Belenguer et al. (2011). Similar as before, each connected component of the solution is considered separately, and only connected components containing more than 1 depot are considered; otherwise no path constraint can be violated. Path elimination constraints are determined by a pair of customers or interchange points {j, l},S⊆C∪I\{j, l}, denoted by S∗and a subset of depots D0⊂D. All these must be perform the same connected component. We denote with A(j, l, D0) = x({j}:D0) + x(D\D0:{l}). Then, to identify whether there is any violated constraint for this choice of j, l and D0it is necessary to find the set S∗that maximizes is necessary to maximize x(γ(S∗)). Adding the in-degree constraints for nodes in S∗we have : |S∗\I|+ 2 + 2 X i∈(S∗∩I) νi=x(γ(S∗)) + x(δ+(S∗)) here we see that maximizing x(γ(S∗)) is equivalent to minimize x(δ+(S∗)) so, to find the minimum j-lcut in S∗. Substituting in constraint (4.51), |S∗\I|+2 X i∈(S∗∩I) νi−x(δ+(S∗))+x({j}:D0)+x(D\D0:{l})≤ |S∗\I|+2 X i∈(S∗∩I) νi.
Branch-and-cut algorithms 49 Then if x(δ+(S∗)) if less or equal than A(i, j, D0) the path constraint associated with S∗is violated by the current solution x. As mentioned above, I-Path constraints can be replaced with I-MultiCut constraints. Some preliminary computational tests recommended to use the separation of the I-path constraints but add the cuts corresponding to the I- Multicut associated with the same set. Initial relaxation The initial linear program includes the objective function, the degree constraints for customers, depots and interchange locations (4.26)-(4.31), the group of constraints related with the driver working time (4.32)-(4.36) the valid inequalities (4.52)-(4.53) and the next clearly violated constraints. •Inter-customer-inter: this is a particular case of the I-Path constraints where |S|= 1 and |I| ≤ 2, we can avoid these paths from the beginning. xj0i+x(j:I\{j0})≥1, j0∈I, i ∈C. (5.2) Separation Strategy Deciding which separation procedures will be called and their order is an important issue in a branch-and-cut algorithm. We tested some alternative cutting to determine which strategy is the most effective. For 2-index formulation, we tested three B&C algorithms. In Algorithm 1 we explained step by step the B&C1. About the load based formulation only one B&C is needed, because we need to separate only the constraint (4.77).
Branch-and-cut algorithms 50 Algorithm 1 Pseudocode of the branch-and-cut algorithm 1: At the root node, generate and insert all valid inequalities into the program. 2: Subproblem solution. Solve the LP relaxation of the node. 3: if There are no more nodes to evaluate - Termination check then 4: Stop. 5: else 6: Select one node from the branch-and-cut tree. 7: while (¯x, ¯ν) contains at least one violated constraint do 8: Identify connected components 9: Determine whether the component contain a violated constraint with 10: if |D|= 1 then 11: use CVRPSep. 12: else if |D|>1then 13: use PathSep. 14: else if (ˆx, ˆν) & |D|= 2 & |I|= 1 then 15: use Q-PathSep. 16: else if |I| ≥ 2then 17: use I-PathSep. 18: else if (ˆx, ˆν) & |D|>2 & |I| ≥ 1then 19: use S-PathSep. 20: else if |D| ≥ 2 & |I| ≥ 1then 21: use one of the Multi-CutSep. 22: Add the result violated constraint. 23: Subproblem solution. Solve the LP relaxation of the node. 24: if (ˆx, ˆν)then 25: Go to the termination check. 26: else 27: Branching: branch on one of the fractional variables. 28: Go to the termination check.
Chapter 6 Computational experience In this section we present the computational experience performed to collect empirical insight on the MDVRPVI solutions, the behaviour of the formulations and the efficiency of the algorithms. All the mentioned algorithms have been implemented in C++ using the callable libraries. As metioned in Chapter 5, we have also used some of the algorithms in the library CVRPSEP Lysgaard (2004). Tests were executed on a computer with an Intel Core i7-4790 processor at 3.60 Ghz with 16 GB. 6.1 Instances tested Since the MDVRPVI is a new problem, no benchmark instances are available. So, we generated a set of instances by transforming instances of similar problems taken from the literature. On the one hand, to test our approach with Euclidean distances we generated instances from the “SDVRPLIB” instances proposed by Belenguer et al. (2000) (referred to with an “SD” label) and some MDVRP instances from Cordeau et al. (1997) (labelled “MD”). In the case of SDVRP instances, extra depots had to be added. For the MDVRP instances, from a set of four depots, we selected two of them randomly. Customers were chosen randomly and after that, the interchange location was chosen as a central point among the selected customers and depots locations. To concentrate on the routing component of the solutions, we tested some instances with no fixed costs for vehicle utilization (g= 0). 51
Computational experience 52 Description of network distances To test with network distances, we took real world instances from Quebec used in Anaya-Arenas et al. (2016). We tested three different depot/interchange configurations, by adding extra locations to the unique depot location from the original instance. Two groups of network instances were generated. The first one with size |D|= 2, |I|= 1 and |C|= 18 and four different demands. The second one with |D|= 3, |I|= 2 and |C|= 40 and five different demands. The demand vectors were generated randomly and each one was tested with all the locations. These demands were generated with a normal distribution and different means and standard deviations (see Table 6.1). Instance µ σ 1 6 4 2 10 3 3 36 20 4 41 14 5 86 40 Table 6.1: Parameters by the normal distribution to generate vector demands. •QC1 instances locations By the first location (Figure 6.1(a)), additionally to the original depot (d2 in Anaya-Arenas et al. (2016)) an extra depot was located at the down-right corner of the region, and the interchange point was located in a city between them. In the next two cases, the original depot location was used for the interchange point, and two depots were allocated in extreme points of the region (Figures 6.1(b) and 6.1(c)). •QC2 instances locations Departing of the above locations, we added more locations to increase the size of the instances. Location of the depots and interchange location were in the same manner as before, depots at the extreme points of the region and interchange locations at the city center. In Figure 6.2 we can see the three different locations for group two.
Computational experience 53 𝑑1 𝑑2 𝑖1 (a) Locations 1 𝑑1 𝑑2 𝑖1 (b) Locations 2 𝑑1 𝑑2 𝑖1 (c) Locations 3 Figure 6.1: Locations of the group QC1 network distances tested. 𝑑1 𝑑2 𝑖1 𝑖2 𝑑3 𝑑1 𝑑2 𝑖1 𝑖2 𝑑3 𝑑1 𝑑2 𝑖1 𝑖2 𝑑3 Figure 6.2: Locations of the group QC2 Network distances tested
Computational experience 54 In Table 6.2 we summarize the dimensions with our tested instances. The column “Range” indicates the initial and final number in the sets of instances. We auxiliary define some sets to referring us a specific instance. For the Euclidean instances “a” indicate the number of instance. In the case of “QC1” and “QC2” we use “b” to refer the three different locations and “c” to the four different demands. Label Range |D| |I| |C| SDa|a| ∈[1-18] 2 1 [12-20] MDa|a| ∈[1-12] 2 1 [12-21] QC1DLbdc|b| ∈ [1-3],|c| ∈ [1-4] 2 1 18 QC2DLbdc|b| ∈ [1-3],|c| ∈ [1-5] 3 2 40 Table 6.2: Dimensions of the instances tested. 6.2 3-index formulation results The three-index flow-formulation was implemented using Xpress-Mosel Version 7.7. To compare our results with the classical MDVRP, the mathematical formulation proposed by Kulkarni and Bhave (1985) was also implemented with the same software, and the time limit of 7200 sec. (2h.). In spite of the incorporation of the strategies to reduce symmetry, our formulation is able to solve optimally only small instances (|D|= 2, |I|= 1 and |C| ∈ [12,20]). For both, Euclidean and network distances we tested with |K|= 1 and |K|= 2 available vehicles per depot. Next tables and figures show the obtained results. In particular, Tables 6.3- 6.4 and 6.5 show the results for Euclidean and network instances, respectively. In all cases, results are shown for the MDVRP and for the MDVRPVI, starting with their optimal value, under the heading Z∗. In the case of the Euclidean distances we provide the percent gap of the linear relaxation under LP gap, and the time required to solve the MDVRPVI, under Time (sec.). In the case of the network instances, since some of them were interrupted because of the time limit, instead of the execution time we provide the percent gap at termination, both, for the MDVRP and for the MDVRPVI. In both cases, in the rightmost column we provide
Computational experience 55 MDVRP MDVRPVI Instance |C|Z∗LP gap Z∗LP gap Time (sec.) Saving(%) SD1 12 215.284 30.7 215.284 29.3 15.83 0.00 SD2 12 256.044 25.0 256.044 23.8 8.28 0.00 SD3 12 237.077 30.8 237.077 31.7 25.21 0.00 SD4 12 246.150 23.6 246.150 22.7 14.11 0.00 SD5 12 215.284 30.7 215.284 29.3 26.49 0.00 SD6 12 215.284 30.7 215.284 29.3 5.09 0.00 SD7 12 235.717 30.4 235.717 31.3 35.08 0.00 SD8 12 263.906 27.2 263.906 26.1 29.36 0.00 SD9 12 237.077 30.8 237.077 31.7 34.57 0.00 MD1 12 370.840 26.3 370.840 25.9 9.02 0.00 MD2 12 532.890 18.4 532.890 17.4 2.88 0.00 MD3 12 455.965 42.3 455.965 41.8 26.08 0.00 MD4 12 489.091 25.5 489.091 24.4 3.00 0.00 MD5 12 361.638 30.9 361.638 30.9 31.56 0.00 MD6 12 481.584 26.4 481.584 22.4 7.94 0.00 MD7 12 577.570 33.4 577.570 32.6 88.30 0.00 MD8 12 476.408 29.8 476.408 27.5 7.61 0.00 MD9 12 522.807 28.2 522.807 27.1 13.53 0.00 MD10 12 430.967 23.8 430.967 23.2 26.44 0.00 SD10 13 166.480 32.0 166.480 31.0 23.12 0.00 SD11 13 242.710 29.0 242.710 28.1 15.04 0.00 SD12 13 271.540 21.9 271.540 21.6 27.96 0.82 SD13 13 243.650 28.8 243.650 27.6 10.11 0.00 MD11 16 246.800 33.4 246.800 31.5 115.69 0.00 MD12 16 285.830 34.5 285.830 32.8 466.85 0.00 SD14 16 292.210 25.8 292.210 24.5 465.86 0.00 SD15 20 263.320 17.9 263.320 18.0 194.72 0.00 SD16 20 279.580 17.4 279.580 15.4 1010.82 1.80 SD17 20 282.640 21.8 282.640 17.7 5494.50 3.70 SD18 20 308.430 25.2 308.430 24.3 7200.60 0.00 Table 6.3: Results for Euclidean instances, |K|= 2 the savings attained by allowing route interchanges. Results using |K|= 2 with Euclidean instances are in Table 6.3. We can see that only in instances SD12, SD16 and SD17 there are some savings (0.8%-3.7%) applying MDVRPVI. More significant benefits are shown in Tables 6.4 and 6.5 using |K|= 1, where the fleet of vehicles is more limited. We see that the MDVRPVI is able to provide cheaper solutions and take advantage of available resources than the MDVRP although, in some instances our policy cannot improve on the MDVRP solution. Among the 30 Euclidean instances tested, interchanges allowed to reduce the costs in 19 of them. Indeed, we could improve by up to 7.73% with respect to the MDVRP routing costs (instance SD10). The column LP gap (for both, |K|= 2 and |K|= 1) reflects that in general our MDVRPVI formulation provide slightly better bounds than the MDVRP formulation (the gap was smaller in 26 - 29 respectively out of 30 instances and regardless there are savings or not). This is because the
Computational experience 56 constraints that control drivers times and synchronization of routes are useful to strengthen the bound. MDVRP MDVRPVI Instance |C|Z∗LP gap Z∗LP gap Time (sec.) Saving(%) SD1 12 231.936 35.7 223.792 32.0 7.88 3.51 SD2 12 292.310 34.3 284.309 31.4 38.47 2.74 SD3 12 244.660 32.9 240.180 32.6 96.35 1.83 SD4 12 246.150 20.7 246.150 22.7 7.25 0.00 SD5 12 231.940 35.7 223.792 32.0 5.53 3.51 SD6 12 241.110 38.1 231.217 34.2 14.58 4.10 SD7 12 249.820 34.3 243.905 33.6 72.78 2.37 SD8 12 298.450 35.7 296.489 34.2 158.21 0.66 SD9 12 278.430 41.1 259.370 37.6 373.63 6.85 MD1 12 449.470 39.2 422.850 35.0 63.11 5.92 MD2 12 581.620 25.3 575.570 23.5 10.01 1.04 MD3 12 463.818 43.3 459.988 42.3 13.00 0.83 MD4 12 489.091 25.5 489.091 24.4 1.32 0.00 MD5 12 361.638 30.9 361.638 30.9 3.06 0.00 MD6 12 561.853 37.0 530.657 29.6 81.83 5.55 MD7 12 577.570 33.4 577.570 32.6 57.88 0.00 MD8 12 476.408 29.8 476.408 27.5 1.37 0.00 MD9 12 531.807 29.4 531.807 28.3 9.44 0.00 MD10 12 438.761 25.2 436.495 24.2 16.69 0.52 SD10 13 206.700 45.2 190.730 39.8 165.67 7.73 SD11 13 242.710 29.0 242.710 28.1 5.07 0.00 SD12 13 277.280 23.5 272.840 22.6 13.06 1.60 SD13 13 250.270 30.7 250.270 29.5 19.10 0.00 MD11 16 255.070 35.5 255.070 33.7 59.63 0.00 MD12 16 287.710 34.9 286.070 32.9 93.84 0.57 SD14 16 309.380 29.9 309.380 28.7 436.12 0.00 SD15 20 269.920 19.9 268.160 19.5 26.94 0.65 SD16 20 279.580 17.4 274.560 15.4 82.83 1.80 SD17 20 282.640 21.8 272.190 17.7 72.38 3.70 SD18 20 308.430 25.2 308.430 24.3 979.67 0.00 Table 6.4: Results for Euclidean instances, |K|= 1 In the case of network distances (with |C|= 18) delivery routes for both problems are the same for |K|= 1 and |K|= 2, so, we present the obtained results using |K|= 1. In these results, we can see that the profitability of the interchanges depends very much on the locations of depots and interchange points. As it can be seen in Table 6.5 with the first configuration of depots and interchange points no savings can be attained. As opposite, with location patterns 2 and 3 the savings are much more significant. Even though some of these instances could not be solved optimally (they reached the time limit) we observed savings ranging in 3.7%-5.3%. The fact that already some of these small instances could not be solved in less than two hours gives an idea of the computational complexity in this routing problem. Indeed, looking at this fact, and the CPU times of the Euclidean instances,
Computational experience 63 0 5000 10000 15000 20000 25000 DL1d1 DL1d2 DL1d3 DL1d4 DL2d1 DL2d2 DL2d3 DL2d4 DL3d1 DL3d2 DL3d3 DL3d4 B&C3 cap Qpath Ipath Spath MC Figure 6.7: Cuts generated with B&C3 6.4 Load-based formulation results Finally, we present in this section the comparison of the two last formulations. Since one single family of constraints are relaxed in the branch and cut for the formulation with load variables, one single variant of the branch and cut is considered here and it is compared with the results obtained with B&C3 from the previous section. We first report the results obtained on the smaller Network instances with |K|= 2. Recall from Table 6.6 that none of the instances with depot locations 2 and 3 could be solved to optimality within 3 hours with B&C3. We report in Table 6.9 the results obtained on those instances with the load-based formulation. Again, we compare the solution obtained with the solution of the classical MDVRP. As can be seen, there are two instances for which the MDVRP could not be solved to optimality. In the case of the MDVRPVI, with this formulation we could solve all the instances but three, for which the remaining gaps range between 0.24% and 2.94%. This gives us a first hint on the superiority of the performance of this formulation. Since now we know the optimal solution in most instances, we can evaluate again the cost saving attained by using vehicle interchanges. Observe that one of the obtained savings is −0.16%. This awkward value corresponds to a MDVRPVI instance that could not be solved to optimality. Therefore, it is clear that the best solution found at termination was not the optimal solution, which is, at most, as expensive as the MDVRP solution. With the third configuration of depots and
Computational experience 64 interchange points, savings between 2% and 4% have been obtained. Depot MDVRP MDVRPVI Load location Demand Z∗Gap(%) Time(sec.) Z∗Gap(%) Time(sec.) Saving(%) 1 1 426.36 0 6344.48 426.36 0.0 1074.95 0 2 426.36 0 2384.03 426.36 2.0 10799.50 0 3 426.36 4.2 10799.60 426.36 0.0 8960.96 0 4 426.36 0 2946.63 427.04 2.9 10799.00 -0.16 2 1 462.68 0 145.42 462.68 0.0 266.72 0 2 462.68 0 106.18 462.68 0.0 327.12 0 3 469.52 0 1467.63 465.25 0.0 900.34 0.91 4 462.68 0 109.92 462.68 0.0 205.40 0 3 1 468.33 0 869.95 459.19 0.0 172.29 1.95 2 473.169 0 2184.68 459.52 0.2 10799.90 2.88 3 475.05 0 4764.82 460.04 0.0 367.41 3.16 4 472.59 2.3 10800.00 455.25 0.0 8742.64 3.67 Table 6.9: Results of QC1 with load-based formulation, |K|= 2. Now, together with the instances used in the previous sections, we will also consider the set of instances with the same locations, but with nonzero fixed cost per vehicle utilization (recall that, in this case, this cost has been set as g= 100). Tables 6.10 and 6.11 provide the obtained results, again, with a 3h time limit. Depot %dev wrt best gap location Demand BKS 2-index load 2-index load 1 2257.24 0.6 0 29.2 28.4 2 2437.53 0.1 0 37.5 37.5 1 3 2191.81 2.9 0 34.4 30.6 4 2089.23 6.2 0 31.5 23.8 5 2209.94 11.2 0 46.8 32.0 1 2161.65 0.0 18.3 16.2 37.5 2 2331.39 0.0 23.2 23.7 52.5 2 3 2224.31 19.4 0 49.0 24.7 4 2147.38 0.7 0 24.1 23.2 5 2162.98 10.2 0 37.9 25.1 1 2074.49 0 22.2 14.8 40.4 2 2359.78 0 2.5 29.6 32.8 3 3 2177.58 0 2.5 30.4 33.7 4 2047.51 16.9 0 42.3 21.8 5 2168.89 15.4 0 49.4 29.5 Table 6.10: Comparison of 2-index and load-based formulations. QC2 instances with |C|= 40, g = 0. As it happened before, no instance in the two groups could be solved to optimality with either formulation and, therefore, we report under heading BKS the value of the best solution found with both formulations, and under %dev wrt best
Computational experience 65 the percent deviation of each solution value with respect to the best one. Finally, we give the final gaps reported by Xpress in each case. As for the complexity of the two different sets of instances, we must say that the presence of a fixed cost for vehicle utilization does not have a great impact on the results obtained. Both, the gaps at termination and the deviations from the best solution are similar in tables 6.10 and 6.11. Depot %dev wrt best gap location Demand BKS 2-index load 2-index load 1 2498.72 0 20.5 10.4 33.0 2 2710.35 7.7 0 28.8 19.5 1 3 2624.11 48.1 0 87.1 26.3 4 2731.1 8.9 0 43.0 31.3 5 2783.06 13.3 0 51.7 33.9 1 2890.71 0 9.8 22.5 34.6 2 3048.61 23.9 0 58.8 28.1 2 3 2953.43 5.5 0 42.9 35.5 4 2699.15 10.3 0 39.7 26.6 5 2776.88 6.4 0 39.1 30.6 1 2459.92 0 25.1 6.8 33.5 2 3018.23 1.2 0 31.1 29.6 3 3 2688.45 17.2 0 52.2 29.9 4 2550.38 6.9 0 31.1 22.6 5 2650.4 6.0 0 35.9 28.1 Table 6.11: Comparison of 2-index and load-based formulations. QC2 instances with |C|= 40, g = 100. The gap at termination with the load-based formulation was smaller in 9 of the 15 instances with g= 0, and in 12 of the 15 instances with g= 100. Although the relative differences are not always very large, it must be pointed out that in the computation of those gaps, both, the upper and the lower bounds are different. By concentrating on the columns that provide the deviations from the best solution, we can see that the load based formulation provided the best solution in 10+12=22 of the 30 instances, and in the others it provided a solution very close to the best one. As opposite, the 2-index formulation gave solutions that are quite worse than the best one. The average deviation in the g= 0 instances was 5.6%, with values raising up to 19.4%. In the case of the instances with g= 100, these values are 10.54% and 48.1%, respectively.
Computational experience 66 These results tell us that the load based formulation provides weaker bounds, and it takes much longer to increase these bounds but, at the same time, it allows to identify good quality solutions much faster. This can be further appreciated in the Figure 6.8 where the deviation of the lower bound obtained at the root node from the best known solution is depicted. 0 5 10 15 20 25 30 35 40 QC_D3IP2C40DL1d1 QC_D3IP2C40DL1d2 QC_D3IP2C40DL1d3 QC_D3IP2C40DL1d4 QC_D3IP2C40DL1d5 QC_D3IP2C40DL2d1 QC_D3IP2C40DL2d2 QC_D3IP2C40DL2d3 QC_D3IP2C40DL2d4 QC_D3IP2C40DL2d5 QC_D3IP2C40DL3d1 QC_D3IP2C40DL3d2 QC_D3IP2C40DL3d3 QC_D3IP2C40DL3d4 QC_D3IP2C40DL3d5 2-ind g=0 load, g=0 2-ind, g=100 load, g=100 Figure 6.8: Bounds at the root node. Deviations with respect to best known solution.
Chapter 7 Conclusions In this thesis we introduce a new variant of the MDVRP: the MDVRPVI. In this problem drivers can exchange their vehicles in predefined meeting points, so that vehicles capacities and working times can be better combined to reduce transportation costs. To assess the benefits of this new policy, we show that using driver interchanges it is possible to reduce the routing costs in 50% with respect to the MDVRP. Additionally, we evaluate the empirical savings on a set of test instances. To this end, we present a first mathematical formulation for this problem, using three-indexed flow variables. Due to the complexity of the MDVRPVI and the known limitations of the 3-index flow-formulations, only very small instances can be solved. Despite of this, the first results show relevant savings with our approach. The difficulty to solve instances of reasonable sizes with the initial 3-index formulation has motivated us to develop two additional alternative formulations. The first one uses 2-indexed variables. In this formulation, binary variables are associated with the use of the arcs of the underlying graph, but have no information on the vehicle using them. The correct definition of the set of feasible solutions using this variables involves five families of constraints of exponential size. Additionally to these families, an extra family of valid inequalities have been adapted from other Multi-Depot vehicle routing problems from the literature. To solve this second formulation we have devised a specific branch-and-cut algorithm. In its design, some separation procedures have been taken from the literature, some others have been designed or adapted to our particular problem, and 2 families are separated by inspection only in integer solutions. 67
Conclusions 68 The second alternative formulation uses variables associated with the load of the vehicle that traverses a given arc. Additionally, binary variables has again a third index but, now, it is not associated with the vehicle but with a depot, which is the home depot of the driver traversing each arc. The nature of this third index represents a trade-off between the size and symmetries of the 3-index formulation, and the need for additional exponential-size families of constraints of the 2-index variables formulation. In this case, only one exponential size family of constraints is required to avoid paths connecting two interchange points. According to the results, the best performing formulation in terms of its ability to provide good quality solutions relatively fast is the load-based formulation. Unfortunately, this nice behavior comes together with a rather loose lower bounds, that make it extremely time consuming to close the gaps and prove optimality. Therefore, a first direction of future research is to devise valid inequalities and other enhancements of this formulation that allow to improve this bound. Finally, a natural extension of this thesis is to develop a heuristic method for the MDVRPVI that allows to find good quality solutions efficiently; not only in order to be able to provide solutions for instances of reasonable size, but also to speed up any exact algorithm.
List of Abbreviations B&B Branch-and-bound. B&C Branch-and-cut. IP Integer Program. LP Linear Relaxation. MDVRP Multi-Depot Vehicle Routing Problem. MDVRPVI Multi-Depot Vehicle Routing Problem with Vehicle Interchanges. RVRP Rich Vehicle Routing Problem. VRP Vehicle Routing Problem. 69
Bibliography Afshar-Nadjafi, B. and Afshar-Nadjafi, A. (2017). A constructive heuristic for timedependent multi-depot vehicle routing problem with time-windows and heterogeneous fleet. Journal of king saud university-Engineering sciences, 29(1):29–34. Anaya-Arenas, A. M., Chabot, T., Renaud, J., and Ruiz, A. (2016). Biomedical sample transportation in the province of Quebec: a case study. International Journal of Production Research, 54(2):602–615. Andersson, P.-˚ A., Hermansson, ˚ A., Tengvald, E., and Scalia-Tomba, G.-P. (1979). Analysis and simulation of an urban bus route. Transportation Research Part A: General, 13(6):439–466. Angelelli, E. and Speranza, M. G. (2002). The periodic vehicle routing problem with intermediate facilities. European Journal of Operational Research, 137(2):233 – 247. Atefi, R., Salari, M., Coelho, L. C., and Renaud, J. (2018). The open vehicle routing problem with decoupling points. European Journal of Operational Research, 265(1):316–327. Baldacci, R. and Mingozzi, A. (2009). A unified exact method for solving different classes of vehicle routing problems. Mathematical Programming, 120(2):347–380. Baldacci, R., Ngueveu, S. U., and Calvo, R. W. (2016). The vehicle routing problem with transhipment facilities. Transportation Science, 51(2):592–606. Bartolini, E. and Schneider, M. (2018). A two-commodity flow formulation for 71
Bibliography 72 the capacitated truck-and-trailer routing problem. Discrete Applied Mathematics, https://doi.org/10.1016/j.dam.2018.07.033. Bekta¸s, T. and Elmasta¸s, S. (2007). Solving school bus routing problems through integer programming. Journal of the Operational Research Society, 58(12):1599– 1604. Bekta¸s, T., Gouveia, L., and Santos, D. (2017). New path elimination constraints for multi-depot routing problems. Networks, 70(3):246–261. Belenguer, J.-M., Benavent, E., Prins, C., Prodhon, C., and Calvo, R. (2011). A branch-and-cut method for the capacitated location-routing problem. Computers & Operations Research, 38(6):931 – 941. Belenguer, J.-M., Martinez, M. C., and Mota, E. (2000). A lower bound for the split delivery vehicle routing problem. Operations Research, 48(5):801–810. Braekers, K., Caris, A., and Janssens, G. (2014). Exact and meta-heuristic approach for a general heterogeneous dial-a-ride problem with multiple depots. Transportation Research Part B: Methodological, 67:166 – 186. C´aceres-Cruz, J., Arias, P., Guimarans, D., Riera, D., and Juan, A. A. (2015). Rich vehicle routing problem: Survey. ACM Computing Surveys (CSUR), 47(2):32. Ceselli, A., Righini, G., and Salani, M. (2009). A column generation algorithm for a rich vehicle-routing problem. Transportation Science, 43(1):56–69. Contardo, C., Cordeau, J.-F., and Gendron, B. (2013). A computational comparison of flow formulations for the capacitated location-routing problem. Discrete Optimization, 10(4):263 – 295. Contardo, C. and Martinelli, R. (2014). A new exact algorithm for the multi-depot vehicle routing problem under capacity and route length constraints. Discrete Optimization, 12:129 – 146. Cordeau, J.-F., Gendreau, M., and Laporte, G. (1997). A tabu search heuristic for periodic and multi-depot vehicle routing problems. Networks, 30(2):105–119.