Elsevier

Applied Soft Computing

Volume 37, December 2015, Pages 680-701
Applied Soft Computing

An improved particle swarm optimization algorithm for the capacitated location routing problem and for the location routing problem with stochastic demands

https://doi.org/10.1016/j.asoc.2015.09.005Get rights and content

Highlights

  • An improved variant of the particle swarm optimization algorithm is presented.

  • A new formulation of the location routing problem with stochastic demands is given.

  • A new neighborhood topology for PSO suitable for combinatorial optimization problems is proposed.

  • The proposed algorithm is tested in the CLRP and in the LRPSDs.

  • Comparisons with other algorithms from the literature are performed.

Abstract

In this paper, a new version of the particle swarm optimization (PSO) algorithm suitable for discrete optimization problems is presented and applied for the solution of the capacitated location routing problem and for the solution of a new formulation of the location routing problem with stochastic demands. The proposed algorithm combines three different topologies which are incorporated in a constriction particle swarm optimization algorithm and, thus, a very effective new algorithm, the global and local combinatorial expanding neighborhood topology particle swarm optimization, was developed. The algorithm was tested, initially, in the three classic sets of benchmark instances for the capacitated location routing problem with discrete demands and, then, as there are no benchmark instances for the location routing problem with stochastic demands, these instances were transformed appropriately in order to be suitable for the problem with stochastic demands. The algorithm was tested in the problem with the stochastic demands using these transformed sets of benchmark instances. The algorithm was compared with a number of different implementations of the PSO and with metaheuristic, evolutionary and nature inspired algorithms from the literature for the location routing problem with discrete and stochastic demands.

Introduction

In this paper, a new neighborhood structure for the particle swarm optimization (PSO), the global and local combinatorial expanding neighborhood topology (GLCENT), suitable for routing problems is presented. The PSO algorithm has been observed in the past that it is not suitable for application in routing problems as either it does not give very good results or it needs a very strong local search algorithm in order to improve its results. The reason is that as a solution in a routing problem should be represented as a path (or a set of paths), because otherwise a computational inefficient algorithm could be produced as the solutions should be transformed from continuous values (suitable for PSO) to discrete values (suitable for routing problems) and vice versa. Over the last 10 years, researchers have proposed efficient ways to avoid the transformation from continuous to discrete values and vice versa. For example, variants of the particle swarm optimization algorithm for the capacitated vehicle routing problem [62], [67], [69], the vehicle routing problem with stochastic demands [58], [68], the open vehicle routing problem [63], the vehicle routing problem with time windows [71], the probabilistic traveling salesman problem [61] and the location routing problem [60]. These algorithms were competitive with the most effective algorithms from the literature for the solution of routing problems.

Two years ago we have proposed a topology, the combinatorial neighborhood topology [67], where the role of the velocities equation has been changed and the position vector was not used at all. Thus, with this topology the PSO algorithm was applied effectively in routing problems, most specifically in capacitated vehicle routing problem, and the results were competitive and in most of the instances equal to the best solutions from the literature. In a following publication we applied an expanding version of this topology in a different more difficult routing problem, the vehicle routing problem with stochastic demands [68], that resulted an algorithm that gave new best solutions in most of the instances used in the tests. The improvement in this algorithm in the part of the combinatorial neighborhood topology was that instead of a global topology in the velocities a local one was used, where, initially, the neighborhood was equal to two neighbors and it was expanding during the iterations until it became equal to a global topology and, then, it was restarted from the beginning (this topology was first applied by my research group in a solution of a flowshop scheduling problem [64] and in a solution of a feature selection problem [66]). In the present paper, the combinatorial neighborhood topology is applied in two more demanding problems, the one is the capacitated location routing problem and the other is the newly formulated location routing problem with stochastic demands. The reason that these two problems were selected was that the location routing problems in general combine two different problems the capacitated facility location problem and the vehicle routing problem where in the capacitated facility location Problem the solution can not be mapped as a path, as in the capacitated vehicle routing problem, but it must be mapped using a binary representation in which the ones mean that the facility is open and the zeros mean that the facility is closed. Thus, the challenge of this paper was to apply effectively the combinatorial neighborhood topology in a solution vector where its one part has values equal to zeros and ones and the other part has a path that represents the routes. The algorithm was tested in both problems as there are two different problems. The one problem has stochastic parameters, the demands of the customers and the other has only deterministic parameters. It is desirable to see how this algorithm can be applied in both problems. In the part of the combinatorial neighborhood topology a combined version of the previous two version, the global and the expanding one was proposed. This was achieved by the addition of a fourth parameter in the equation of velocities. Thus, in the new equation the particle, except from a movement towards a new direction, a movement towards his previous best and a movement towards the global best of the swarm, moves towards the local best of his neighborhood. The reason that this improvement was selected was that as both versions were proved to be very effective when applied separately in different problems, a combination of them would probably give an even more effective algorithm.

Particle swarm optimization (PSO) is a population-based swarm intelligence algorithm that was originally proposed by Kennedy and Eberhart [44] and simulates the social behavior of social organisms by using the physical movements of the individuals in the swarm. There is a number of review papers [6], [7], [86] that have been published for the particle swarm optimization. Initially, most of the review papers focused in all improvements and variants of PSO, in velocities and positions equations, in the topologies (local or global) etc. In recent years with the increased in the applications of PSO such a review is very difficult to be written and to present the most important publications. Thus, nowadays the survey papers are mainly focused on the application of PSO in a problem or in a group of similar problems that can be reviewed together [4], [46]. In this paper, as it was mentioned previously, the innovation is the way that a new very challenging topology, which combines a local and a global topology, is applied in two difficult routing problems, the location routing problem and the location routing problem with stochastic demands. In addition, in recent years a number of PSO implementations have been published for routing problems [1], [2], [3], [17], [33], [35], [47].

In the past, a number of algorithms have been published using local neighborhood topologies but most of them are applied in global optimization problems or combinatorial optimization problems and not in routing problems as the ones studied in this paper. The first paper that designs and investigates neighborhood topologies (circle, wheel, star and random) was published by Kennedy [43]. In a following work Kennedy and Mendes [45] proposed a number of population topologies. Mendes et al. [76] proposed another local neighborhood topology, denoted as full informed particle swarm optimization algorithm (FIPS). The first one that published an expanding neighborhood topology for the solution of global optimization problems was Suganthan [97]. Another two earlier adaptations of local neighborhood topologies are presented in [38], [83]. In recent years, the adaptations of local neighborhood topologies in PSO have been increased. More precisely, in [104] a hybrid PSO algorithm is presented, which is denoted as DNSPSO where a diversity enhancing mechanism and neighborhood search strategies are used in order to achieve a trade-off between exploration and exploitation abilities. An improved version of this strategy is presented in [100], where an enhanced particle swarm optimization with diversity and neighborhood search (EPSODNS) approach was presented. In [51] a comprehensive learning particle swarm optimizer (CLPSO) was presented. An improvement of this method was proposed in [81], denoted as dynamic neighborhood learning particle swarm optimizer (DNLPSO), which uses a learning strategy whereby all other particles’ historical best information is used to update a particle's velocity. In [105] a multi-layer PSO method (MLPSO) consisting of global MLPSO and local MLPSO by increasing the swarm layers from two to multiple layers was proposed. Another PSO algorithm using a local search topology was presented in [50] where a ring topology is used. In [52], a particle swarm optimization with increasing topology connectivity (PSO-ITC) was proposed to solve unconstrained single-objective optimization problems with continuous search space while in [53] a PSO denoted as PSO with adaptive time-varying topology connectivity (PSO-ATVTC) was proposed where the ATVTC module is used in order to balance the algorithm's exploration/exploitation searches by varying the particle's topology connectivity with time according to its searching performance. A time adaptive topology is proposed for constrained optimization problems in [11]. In [42] an age-group topology particle swarm optimization algorithm (PSOAG) is presented where the concept of age is used to measure the search ability of each particle in local area. The particles are divided in different age-groups by their age and particles in each age-group can only select the ones in younger groups or their own groups as their neighborhoods [42]. A cyclic neighborhood topology is presented in [74]. An analysis of local best topologies is presented in [30].

In [102], [103] two mutation neighborhood based PSO implementations have been proposed for the solution of fuzzy stochastic programming problems. Especially in [103], a fuzzy random facility location model (VaR-FRFLM) was formulated where the costs and demands are assumed to be fuzzy random variables and the capacity of each facility was not fixed but a decision variable assuming continuous values was used [103]. For the solution of the problem, the authors presented two PSO implementations a continuous Nbest-Gbest-based PSO and a genotype–phenotype-based binary PSO. The first one was used in order to deal with the continuous capacity decision variables and the second one was used in order to deal with the binary location decision variables. Afterwards, a mutation operator is incorporated in order to improve even more the quality of the produced solutions. These are the two most relevant publications in the literature compared the one proposed in this paper. However, a number of differences between them exist. First of all, the authors in [103] solved a facility location problem while in this paper a location routing problem is solved. Thus, while the authors in [103] have to deal with binary variables that concern the assignment of customers in depots, we, in addition, have to solve a routing problem, meaning to find the order that the selected number of vehicles, assigned in each depot, will visit the customers assigned to the depots. Thus, in this paper, in addition with the binary variables a part of the solution will be the paths that the vehicles will follow. In the paper [103] the stochastic variables are treated using a fuzzy approach while in this research the stochastic variables are treated finding the a priori routes of the customers. Also, both researches use a local neighborhood topology for the PSO algorithm. However, in the proposed algorithm in this paper, there is no need to transform any solution to continuous values as the innovation of the method is that a topology, denoted as combinatorial neighborhood topology, is used in order not to transform the solutions from continuous to discrete values and vice versa. This is very important in a routing problem as when a solution (a path) is transformed into continuous values (in order to be suitable for the velocities’ and positions’ equations of PSO), then, good parts of solutions (i.e. a sequence of customers) may be destroyed and, thus, when the solution is transformed back to a path, a completely new path will be created without having any memory of the good sequences of the nodes.

In order to give the effectiveness of each one of the features of the proposed algorithm, different versions of the algorithm that use separately each one of the features are implemented and tested and, then, their results are compared with the results of the proposed algorithm. The algorithm is compared with a number of other implementations of PSO algorithm for the solution of the capacitated location routing problem published in [60], [65]. Also, it is compared with other algorithms from the literature. The rest of the paper is organized as follows: In the next section, the description of the capacitated location routing problem, the new formulation of the location routing problem with stochastic demands and the presentation of the most important algorithms for the solution of the capacitated location routing problem are given. In Section 3, the proposed algorithm is analyzed and described in detailed. The results of the algorithm when used for the solution of these two problems are presented in Section 4 and, finally, in the last section conclusions and future directions are presented.

Section snippets

Capacitated location routing problem

The location routing problem (LRP) describes the case where several sites are available to be used for storage facilities from where products will be delivered to geographically scattered customers by distribution vehicles. The optimal locations to use for the storage facilities have to be decided. At the same time, the optimal routes for the vehicles have to be found in order to satisfy the demand of the customers. The previous two decisions will be made in a way that the total cost of the

General description of the algorithm

The proposed algorithm for the solution of the two location routing problems, the global and local combinatorial expanding neighborhood topology particle swarm optimization (GLCENTPSO), is a two phase algorithm that combines three different neighborhood topologies in a new neighborhood structure. The neighborhood topologies that were selected are the combinatorial neighborhood topology (CNT) [67], the expanding neighborhood topology (ENT) [64], [66] and the global and local neighborhood

Computational results

The algorithm was implemented in Fortran 90 and was compiled using the Lahey f95 compiler. In the following sections, the results of the proposed algorithm when applied to the capacitated location routing problem and the location routing problem with stochastic demands for various sets of benchmark instances are given.

Conclusions and future directions

In this paper, a nature inspired approach was introduced for the effective handling of two location routing problems, the classic capacitated location routing problem (CLRP) and the location routing problem with stochastic demands (LRPSDs). More specifically, a new, suitable for combinatorial optimization problems, version of the particle swarm optimization algorithm, the global and local combinatorial expanding neighborhood topology particle swarm optimization (GLCENTPSO) for the CLRP and the

References (108)

  • W.C. Chiang et al.

    Integrating purchasing and routing in a propane gas supply chain

    Eur. J. Oper. Res.

    (2004)
  • R. Dondo et al.

    A cluster-based optimization approach for the multi-depot heterogeneous fleet vehicle routing problem with time windows

    Eur. J. Oper. Res.

    (2007)
  • C. Duhamel et al.

    A GRASP × ELS approach for the capacitated location-routing problem

    Comput. Oper. Res.

    (2010)
  • S. Ghosh et al.

    Inter-particle communication and search-dynamics of lbest particle swarm optimizers: an analysis

    Inf. Sci.

    (2012)
  • B. Gillett et al.

    Multi-terminal vehicle-dispatch algorithm

    Omega

    (1976)
  • F.P. Goksal et al.

    A hybrid discrete particle swarm optimization for vehicle routing problem with simultaneous pickup and delivery

    Comput. Ind. Eng.

    (2013)
  • P. Hansen et al.

    Variable neighborhood search: principles and applications

    Eur. J. Oper. Res.

    (2001)
  • P.H. Hansen et al.

    A heuristic solution to the warehouse location-routing problem

    Eur. J. Oper. Res.

    (1994)
  • H.S. Hwang

    Design of supply-chain logistics system considering service level

    Comput. Ind. Eng.

    (2002)
  • S.K. Jacobsen et al.

    A comparative study of heuristics for a two-level routing-location problem

    Eur. J. Oper. Res.

    (1980)
  • B. Jiang et al.

    Particle swarm optimization with age-group topology for multimodal functions and data clustering

    Commun. Nonlinear Sci. Numer. Simul.

    (2013)
  • A. Khare et al.

    A review of particle swarm optimization and its applications in solar photovoltaic system

    Appl. Soft Comput.

    (2013)
  • M.R. Khouadjia et al.

    A comparative study between dynamic adapted PSO and VNS for the vehicle routing problem with dynamic requests

    Appl. Soft Comput.

    (2012)
  • N. Laoutaris et al.

    On the optimization of storage capacity allocation for content distribution

    Comput. Netw.

    (2005)
  • W.H. Lim et al.

    Particle swarm optimization with increasing topology connectivity

    Eng. Appl. Artif. Intell.

    (2014)
  • W.H. Lim et al.

    Particle swarm optimization with adaptive time-varying topology connectivity

    Appl. Soft Comput.

    (2014)
  • C.K.Y. Lin et al.

    A location-routing-loading problem for bill delivery services

    Comput. Ind. Eng.

    (2002)
  • C.K.Y. Lin et al.

    Multi-objective metaheuristics for a location-routing problem with multiple use of vehicles on real data and simulated data

    Eur. J. Oper. Res.

    (2006)
  • O.B.G. Madsen

    Methods for solving combined two level location routing problems of realistic dimension

    Eur. J. Oper. Res.

    (1983)
  • Y. Marinakis et al.

    Particle swarm optimization for the vehicle routing problem with stochastic demands

    Appl. Soft Comput.

    (2013)
  • Y. Marinakis et al.

    A hybrid multi-swarm particle swarm optimization algorithm for the probabilistic traveling salesman problem

    Comput. Oper. Res.

    (2010)
  • Y. Marinakis et al.

    A hybrid genetic – particle swarm optimization algorithm for the vehicle routing problem

    Expert Syst. Appl.

    (2010)
  • Y. Marinakis et al.

    A hybrid particle swarm optimization algorithm for the vehicle routing problem

    Eng. Appl. Artif. Intell.

    (2010)
  • I. Maruta et al.

    Synthesis of fixed-structure robust controllers using a constrained particle swarm optimizer with cyclic neighborhood topology

    Expert Syst. Appl.

    (2013)
  • H. Min et al.

    Combined location-routing problems: a synthesis and future research directions

    Eur. J. Oper. Res.

    (1998)
  • G. Nagy et al.

    Location-routing: issues, models and methods

    Eur. J. Oper. Res.

    (2007)
  • J.M. Nambiar et al.

    A large scale location-allocation problem in the natural rubber industry

    Eur. J. Oper. Res.

    (1981)
  • M. Nasir et al.

    A dynamic neighborhood learning based particle swarm optimizer for global numerical optimization

    Inf. Sci.

    (2012)
  • V.P. Nguyen et al.

    Solving the two-echelon location routing problem by a GRASP reinforced by a learning process and path relinking

    Eur. J. Oper. Res.

    (2012)
  • J. Perl et al.

    A warehouse location routing model

    Transp. Res. B

    (1985)
  • C. Prodhon et al.

    A survey of recent research on location-routing problems

    Eur. J. Oper. Res.

    (2014)
  • R. Russell et al.

    Integrating multi-product production and distribution in newspaper logistics

    Comput. Oper. Res.

    (2008)
  • R. Srivastava et al.

    The location-routing problem: considerations in physical distribution system design

    Comput. Oper. Res.

    (1990)
  • C.J. Ting et al.

    A multiple ant colony optimization algorithm for the capacitated location routing problem

    Int. J. Prod. Econ.

    (2013)
  • T.J. Ai et al.

    A particle swarm optimization for vehicle routing problem with time windows

    Int. J. Oper. Res.

    (2009)
  • A. Banks et al.

    A review of particle swarm optimization. Part I: Background and development

    Nat. Comput.

    (2007)
  • A. Banks et al.

    A review of particle swarm optimization. Part II: Hybridisation, combinatorial, multicriteria and constrained optimization, and indicative applications

    Nat. Comput.

    (2008)
  • L. Bianchi et al.

    Hybrid metaheuristics for the vehicle routing problem with stochastic demands

    J. Math. Model. Algorithms

    (2006)
  • M.R. Bonyadi et al.

    A hybrid particle swarm with a time-adaptive topology for constrained optimization

    Swarm Evolut. Comput.

    (2014)
  • L. Bouhafs et al.

    A combination of simulated annealing and ant colony system for the capacitated location-routing problem

    Knowl. Based Intell. Inf. Eng. Syst. LNCS

    (2006)
  • Cited by (0)

    View full text