A unified matheuristic for solving multi-constrained traveling salesman problems with profits

https://doi.org/10.1007/s13675-016-0071-1Get rights and content

Abstract

In this paper, we address a rich Traveling Salesman Problem with Profits encountered in several real-life cases. We propose a unified solution approach based on variable neighborhood search. Our approach combines several removal and insertion routing neighborhoods and efficient constraint checking procedures. The loading problem related to the use of a multi-compartment vehicle is addressed carefully. Two loading neighborhoods based on the solution of mathematical programs are proposed to intensify the search. They interact with the routing neighborhoods as it is commonly done in matheuristics. The performance of the proposed matheuristic is assessed on various instances proposed for the Orienteering Problem and the Orienteering Problem with Time Window including up to 288 customers. The computational results show that the proposed matheuristic is very competitive compared with the state-of-the-art methods. To better evaluate its performance, we generate a new testbed including instances with various attributes. Extensive computational experiments on the new testbed confirm the efficiency of the matheuristic. A sensitivity analysis highlights which components of the matheuristic contribute most to the solution quality.

Introduction

Routing problems where profits are associated with the visits of customers are extensively studied in the combinatorial optimization literature. Many papers and book chapters discuss these problems, since many industrial applications are modeled according to this general framework [e.g., Laporte and Martello (1990); Gendreau et al. (1998a); Fischetti et al. (2007); Balas (2007)]. Some surveys appeared over the last decade review variants and applications of these problems [see e.g., Feillet et al. (2005); Vansteenwegen et al. (2011); Archetti et al. (2013)].

Traveling Salesman Problems (TSP) with Profits are single-vehicle routing problems with two conflicting objectives. One consists in maximizing the total collected profit while the other aims to reduce the total route cost. Depending on the definition of the objective function, three classes of TSP with profits can be distinguished (Feillet et al. 2005). When both criteria are combined linearly in the objective function, the problem is the so-called Profitable Tour Problem (PTP) introduced by Dell’Amico et al. (1995). When the total distance cost is upper bounded and the profit is maximized, the problem is referred to as the Orienteering Problem (OP) introduced by Tsiligirides (1984) or the selective traveling salesman problem. When the objective is to minimize the distance costs and the profit collected must exceed a preset lower bound, the problem is called the Prize Collecting TSP (PCTSP). The PCTSP is originally defined by Balas (1989) by penalizing the unvisited vertices in the objective function. In this paper, an extended variant of the PTP including multiple constraints is addressed. The OP and the Orienteering Problem with Time Windows (OPTW) are considered to assess the efficiency of the proposed approach.

As stated in Lahyani et al. (2015b), a Rich Vehicle Routing (RVRP) Problem is a problem reflecting the complexities of a real-life context by combining various challenges faced daily. In this paper, we are interested in solving a Rich variant of the PTP with a maximum route duration, referred to as (RPTP). The proposed RPTP enriches the basic PTP in many ways. It may be considered as a time constrained capacitated profitable tour problem with multiple products and incompatibility constraints. Dealing with several complicated constraints encountered in common practical situations makes this problem more challenging. Particularly, we examine a variant of the PTP arising when a multi-compartment vehicle is involved. The use of such vehicles is relevant in several practical situations dealing with incompatible products, (e.g., to deliver dry, refrigerated and frozen food (Derigs et al. 2011), to collect olive oil (Lahyani et al. 2015a). However, to the best of our knowledge, there is no work studying TSPs with multiple compartments.

In the RPTP, the request of a customer is composed of demands for different products. A profit is associated with the demand for each product. A customer may be satisfied partially by delivering one or more products of its placed request. Since feasible tours are limited in time and capacity, the vehicle might not visit all the customers. The vehicle has different compartments with different capacities. A key feature is that some products are incompatible and must be kept separated during transportation. There are also incompatibility relations between some products and some compartments. Last, a time window and a service time are associated with each customer. Waiting times at the customer site are permitted but penalized in the objective function. The total cost of a tour is the total profit minus the distance cost and the cost for the total waiting time.

Formally, the RPTP considered can be defined as follows. Let G=(V,E) be an undirected complete graph where V={0,,n} is the vertex set and E={(i,j):i,jV,ij} is the edge set. Feasible tours correspond to cycles including the depot, vertex 0. Vertices iV={1,,n} correspond to potential customers. Let dij and tij denote the non-negative distance cost and the travel time associated with edge (i,j)E. We set dij= if the edge (i,j)E. With each customer iV are associated a hard time window [ei,li], within which the deliveries of i take place, and a service time si. In the case of early arrival at customer i, a cost is incurred corresponding to the waiting time until ei. Time windows are also associated with the depot, and they correspond to the opening hours. There is no service time at the depot. For the sake of simplicity, the service times are included in the travel time. Service times are then disregarded in the remainder of this paper. There is a set pP={1,,P} of products. Each customer iV can place several orders, each referring to one single product p. We denote by oipO the order placed by customer i for product p. With each order oip we associate a demand qip. A positive integer profit gip is associated with each qip0. There is at least one order for each product type pP and the delivery of any product must not be split. We consider one vehicle which can visit a subset of customers within a given time limit Tmax. The vehicle has a capacity Q with compartments wW={1,,W}. Each compartment w has a capacity Qw and is equipped with a debit meter. The set IPP×P denotes the incompatibility relation between products. (p,q)IP means that products p and q must not be carried together in the same compartment. The set IPCP×W defines incompatibilities between products and compartments, forbidding product p to be transported in compartment w. The objective function consists of minimizing the total costs including the total profit, the total distance cost and the total waiting time. These three terms are weighted by parameters depending on the problem addressed.

In this paper, we tackle a challenging problem routing problem with complicated loading restrictions. To the best of our knowledge, we identify only one article devoted to a routing problem with vehicles with compartments where loadings satisfying incompatibilities restrictions between products and products and compartments are considered (Pirkwieser 2012). The authors propose first-fit, best-fit and best-fit decreasing heuristics as well as a constraint programming algorithm to solve the problem of assigning products to compartments considering potential incompatibilities. Previous works (e.g., Muyldermans and Pang 2010; Fallahi et al. 2008) consider a simple case with two compartments and two products, each being dedicated to one compartment. There is no assignment problem, and the loading problem reduces to knapsack problems. Following Pirkwieser (2012), we denote the loading sub-problem as the Compartment Assignment Problem (CAP).

Considering the literature devoted to routing problems, some attempts have been made recently to propose unified models and algorithms tackling different classes of vehicle routing problems (e.g., Pisinger and Ropke 2007; Subramanian 2012; Vidal et al. 2014). Some studies describe optimization algorithms for multi-constrained OP with m vehicles, referred to as Team Orienteering Problem, (e.g., Garcia et al. 2010; Tricoire et al. 2010; Souffriau et al. 2013). However, no previous work has been dedicated to rich variants of TSP with profits. There are few studies dealing with basic extended variants of TSP with profits, e.g., the capacitated PTP (CPTP) (e.g., Archetti et al. 2009; Jepsen 2011), or the OPTW (e.g., Righini and Salani 2006; Tricoire et al. 2010; Labadie et al. 2011). In this paper, we present a unified solution approach for a large class of TSP with profits ranging from academic problems to multi-attribute problems with no need for customization. The main contributions of this paper are the following. We define a multi-constrained TSP with profits which is a generalization of the PTP, the CPTP, the PTP with time windows, the OP and the OPTW. We model the CAP with incompatible products. We develop a unified matheuristic combining routing and loading neighborhoods. The proposed solution approach, referred to as VNS*, addresses a large set of instances from the OP and the OPTW literature following a generic parameters tuning. Last, we design a new testbed for the multi-constrained PTP with compartments, which may be useful for future multi-compartment routing studies.

This paper is organized as follows. Section 2 describes the matheuristic approach and presents the detailed issues related to the constructive heuristic, the routing neighborhoods, the CAP solution and the route feasibility check procedures. Computational results and an extensive sensitivity analysis on a large class of problems are reported in Sect. 3. Section 4 concludes and discusses some future research guidelines.

Section snippets

Matheuristic approach

In Cordeau et al. (2002), the authors claim that VRP heuristics can be analyzed according to four attributes: accuracy, speed, flexibility and simplicity. Designing a unified method for RVRPs represents a considerable research challenge which makes difficult to meet these four criteria simultaneously. The matheuristic proposed in this paper will rather focus on flexibility and simplicity. Most of the VRP heuristics proposed to solve one variant concentrate rather on accuracy and speed. To

Computational experiments

To assess the efficiency of the proposed matheuristic, we report experimental results on problems related to the RPTP. This section is divided into three main subsections. In Sect. 3.1, we report results obtained by applying the proposed matheuristic on OP instances. In Sect. 3.2, computational experiments are conducted on the OPTW, a more difficult RPTP. Since the loading neighborhoods are not relevant for the OP and OPTW instances, we generate new instances under three real-life scenarios to

OP instances

Tsiligirides (1984) proposes 3 sets of instances (1_p21, 1_p32 and 1_p33) for the OP, which include 18, 11 and 20 instances, respectively. The number of customers ranges from 21 to 33. A second testbed with larger instances was generated by Chao et al. (1996). It includes 2 sets of instances (1_p64 and 1_p66) with 14 and 26 instances including 64 and 66 customers, respectively. We compare the values obtained by VNS* with the optimum values published by Tsiligirides (1984) and the best known

OPTW instances

The OPTW is a simplified version of the RPTP where the vehicle has only one compartment w and the demand for a unique product p is known for each customer i. The OPTW has received significant attention in the literature, and a large set of instances was proposed. The instances were obtained from the data sets generated by Solomon (1987) for the VRPTW and from the data sets of Cordeau et al. (1997) for the periodic MDVRPTW. Based on the Solomon instances, Righini and Salani (2006) generated 58

A new testbed

Since no data sets are available for the RPTP addressed in this paper, we generate a new testbed to evaluate VNS*. The proposed testbed is based on the Solomon data sets with 50 and 100 customers and on the extended instances including 200 customers proposed for the VRPTW by Gehring and Homberger (1999). We generate 172 new instances classified according to 18 classes. We introduce three types of products pP={1,2,3} with unit profits, respectively, equal to 10, 15, 20. We split the original

Sensitivity analysis

The proposed matheuristic embeds different components that contribute to the performance of VNS*. To better analyze the contribution of the main ones, we conduct some additional experiments reported in this section. In these experiments, the performance of each setting is assessed by reporting the average deviation gap from the best solution value found over the three classes of instances (c*1-100, r*1-100 and rc*1-100). The results provided by VNS* are used as reference solutions. The

Conclusions

In this paper, we introduce a rich variant of the PTP including a large class of temporal and physical constraints. Each customer may place one or more orders which may be not satisfied entirely. We developed a unified matheuristic based on routing and loading neighborhoods denoted VNS*. To diversify and intensify the search, we suggested removal and insertion neighborhoods as well as different local search procedures. We tried to focus on the loading aspect of the problem which was barely

Acknowledgments

This work was partially supported by the International Campus on Safety and Intermodality in Transportation, the Nord-Pas-de-Calais Region, the European Community, the Regional Delegation for Research and Technology, the French Ministry of Higher Education and Research and the National Center for Scientific Research. This support is gratefully acknowledged. The authors thank Fabien Tricoire and Matteo Salani for their answers to our requests regarding the computational experiments. They also

References (59)

  • N. Mladenovic et al.

    Variable neighborhood search

    Comp Oper Res

    (1997)
  • L. Muyldermans et al.

    On the benefits of co-collection: experiments with a multi-compartment vehicle routing algorithm

    Eur J Oper Res

    (2010)
  • D. Pisinger et al.

    A general heuristic for vehicle routing problems

    Compu Oper Res

    (2007)
  • G. Righini et al.

    Decremental state space relaxation strategies and initialization heuristics for solving the orienteering problem with time windows with dynamic programming

    Comp Oper Res

    (2009)
  • M. Schilde et al.

    Metaheuristics for the dynamic stochastic dial-a-ride problem with expected return transports

    Comp Oper Res

    (2011)
  • F. Tricoire et al.

    Heuristics for the multi-period orienteering problem with multiple time windows

    Comp Oper Res

    (2010)
  • P. Vansteenwegen et al.

    A guided local search metaheuristic for the team orienteering problem

    Eur J Oper Res

    (2009)
  • P. Vansteenwegen et al.

    Iterated local search for the team orienteering problem with time windows

    Comp Oper Res

    (2009)
  • P. Vansteenwegen et al.

    The orienteering problem: a survey

    Eur J Oper Res

    (2011)
  • T. Vidal et al.

    A unified solution framework for multi-attribute vehicle routing problems

    Eur J Oper Res

    (2014)
  • C. Archetti et al.

    The capacitated team orienteering and profitable tour problems

    J Oper Res Soc

    (2009)
  • Archetti C, Speranza MG, Vigo D (2013) Vehicle routing problems. Tech. rep, Department of Economics and Management...
  • E. Balas

    The prize collecting traveling salesman problem

    Networks

    (1989)
  • E. Balas

    The prize collecting traveling salesman problem and its applications

  • V. Campos et al.

    Grasp with path relinking for the orienteering problem

    J Oper Res Soc

    (2013)
  • J.F. Cordeau et al.

    A tabu search heuristic for periodic and multidepot problems

    Networks

    (1997)
  • J.F. Cordeau et al.

    A guide to vehicle routing heuristics

    J Oper Res Soc

    (2002)
  • U. Derigs et al.

    Vehicle routing with compartments: applications, modeling and heuristics

    OR Spectrum

    (2011)
  • Dongarra JJ (2013) Performance of various computers using standard linear equations software. Tech. rep., Electrical...
  • Cited by (17)

    • Traffic data analysis and route planning

      2023, Decision-Making Techniques for Autonomous Vehicles
    • Multi-compartment vehicle routing problems: State-of-the-art, modeling framework and future directions

      2021, European Journal of Operational Research
      Citation Excerpt :

      For their problem, the authors introduce a hybrid metaheuristic containing elements of TS and evolutionary algorithms. Lahyani, Khemakhem, and Semet (2017) explore a traveling salesman problem (TSP) with a single MCV and revenues that are collected for serving customers. Moreover, each customer has a specific hard time window, and incompatibilities between product types and compartments are taken into account.

    • Formulation and a two-phase matheuristic for the roaming salesman problem: Application to election logistics

      2020, European Journal of Operational Research
      Citation Excerpt :

      They propose a different solution method where a variable neighborhood search heuristic finds the daily route and an MILP model solves the problem of determining the optimal size of the waste bins. A unified matheuristic approach based on the variable neighborhood search is proposed by Lahyani, Khemakhem and Semet (2017) for solving multi-constrained traveling salesman problems with profits. It includes exact procedures for the examination of loading neighborhoods.

    • Traveling salesman problem: a perspective review of recent research and new results with bio-inspired metaheuristics

      2020, Nature-Inspired Computation and Swarm Intelligence: Algorithms, Theory and Applications
    • An adaptive large neighborhood search approach for multiple traveling repairman problem with profits

      2019, Computers and Operations Research
      Citation Excerpt :

      Feillet et al. (2005) presented a classification for the TSPP, and a literature review. The recent efforts related to the TSPP and its variants can be found in Khanra et al. (2015), Lahyani et al. (2016), and Zhang et al. (2018). Another example to the routing problems with profits is the Orienteering Problem (OP).

    • Matheuristics for solving the Multiple Knapsack Problem with Setup

      2019, Computers and Industrial Engineering
      Citation Excerpt :

      A solution to the MKPS consists in selecting appropriate items, from different disjoint families, to enter a knapsack while maximizing its value and respecting its capacity. Like most knapsack problems, the MKPS finds its application in several concrete industrial problems, e.g., production planning (Chebil & Khemakhem, 2015; Khemakhem & Chebil, 2016), aviation security system (McLay, 2006), resource allocation, transportation (Lahyani et al., 2017), etc. In the following, we will present some practical industrial applications of these problems.

    View all citing articles on Scopus
    View full text