Discrete Optimization
An efficient benders decomposition for the p-median problem

https://doi.org/10.1016/j.ejor.2022.11.033Get rights and content

Highlights

  • The Benders sub-problems of the p-median problem can be solved very quickly with a polynomial-time algorithm.

  • The efficient implementation of a two-stage Benders decomposition algorithm performs better than state-of-the-art exact methods in solving instances of up to 238025 clients and sites, and also previously unsolved benchmark instances.

  • The two-stage Benders decomposition algorithm can be adapted to other location problems such as the uncapacitated facility location problem and the optimal diversity management problem.

Abstract

The p-median problem is a classic discrete location problem with numerous applications. It aims to open p sites while minimizing the sum of the distances of each client to its nearest open site. We study a Benders decomposition of the most efficient formulation in the literature. We show that the Benders cuts can be separated in linear time. The Benders reformulation leads to a compact formulation for the p-median problem. We implement a two-phase Benders decomposition algorithm that outperforms state-of-the-art methods on benchmark instances by an order of magnitude and allows to exactly solve for the first time several instances among which are large TSP instances and BIRCH instances. We also show that our implementation easily applies to the uncapacitated facility location problem.

Introduction

Discrete location problems aim at choosing a subset of locations from a finite set of candidates in which to establish facilities in order to allocate a finite set of clients. The most common objective for these problems consist in minimizing the sum of the fixed costs of the facilities and the allocation costs of supplying the clients. Within these problems, the p-median problem (pMP) is one of the fundamental problems (Laporte, Nickel, & Saldanha-da Gama (2019)). In the (pMP), we have to choose p locations from the set of candidate sites, no fixed costs are considered and the allocation costs are equal to the distance between clients and sites. More formally, given a set of N clients {C1,,CN} and a set of M potential sites to open {F1,,FM}, let dij be the distance between client Ci and site Fj and pN the number of sites to open. The objective is to find a set S of p sites such that the sum of the distances between each client and its closest site in S is minimized. The (pMP) is an NP-hard problem (Kariv & Hakimi (1979)) and leads to applications where the sites correspond to warehouses, plants, shelters, etc. This includes the contexts of emergency logistics and humanitarian relief (An, Zeng, Zhang, & Zhao (2014); Mu & Tong (2020); Takedomi, Ishigaki, Hanatsuka, & Mori (2022)). Another important application is a particular clustering problem, usually called k-medoids problem in which the set of clients and sites are identical. In this problem, sub-groups of objects, variables, persons, etc. are identified according to defined criteria of proximity or similarity (Klastorin (1985); Marín & Pelegrín (2019); Park & Jun (2009); Ushakov & Vasilyev (2021); Voevodski (2021)).

A great interest in solving large location problems has led to the development of various heuristics and meta-heuristics in the literature. However, the exact solution of large-scale instances remains a challenge. Some location problems have recently been efficiently solved using the Benders decomposition method within a branch-and-cut approach (see e.g., Cordeau, Furini, & Ljubić (2019); Fischetti, Ljubic, & Sinnl (2017); Gaar & Sinnl (2022)). Among them, the uncapacitated facility location problem (UFL) is probably the most studied location problem. In the (UFL) the number of sites to be opened is not fixed, but an opening cost is associated with each site.

In this paper, we explore a Benders decomposition for the (pMP). We propose a polynomial time algorithm for the separation of its Benders cuts. We implement an efficient two-phase Benders decomposition algorithm which provides better results than the best exact solution method in the literature Zebra (García, Labbé, & Marín (2011)). We present our results on about 230 benchmark (pMP) instances of different sizes (up to 238,025 clients and sites) satisfying or not the triangle inequality. We finally extend our implementation to solve the (UFL) and present some results.

The rest of the paper is organized as follows. Section 2 presents the literature review of the (pMP). Section 3 describes our Benders decomposition method. Section 4 presents the computational results. In Section 5 we draw some conclusions together with research perspectives.

Section snippets

Literature review

The (pMP) was introduced by Hakimi (1964) where the problem was defined on a graph such that a client can only be allocated to an open neighbor site. Since then, exact and approximation methods have been developed to solve the problem, as well as a wide variety of variants and extensions. The following is a summary of the main formulations of this problem and its state-of-the-art exact solution methods.

Benders decomposition for the (pMP)

The Benders Decomposition was introduced by Benders (1962). The method splits the optimization problem into a master problem and one or several sub-problems. The master problem and the sub-problems are solved iteratively and at each iteration each sub-problem may add a cut to the master problem. In this section, we present a Benders decomposition for the (pMP) based on formulation (F3). We show that there is a finite number of Benders cuts and that they can be separated using a polynomial time

Computational study

In this section, we compare the results of our Benders decomposition method with those of the state-of-the-art methods described in Section 2.2.

Conclusions

The p-median problem is a well-studied discrete location problem in which we have to choose p sites among M to allocate N clients in order to minimize the sum of their allocation distances. This problem has various applications and several heuristic methods have been proposed to solve it. However, its exact solution remains a challenge for large-scale instances. The previously most effective approach in the literature was able to solve instances up to 85,900 clients and sites.

We performed a

Acknowledgments

The authors would like to thank Sergio Garcia for providing the code used in García et al. (2011) and Anton Ushakov for provind the BIRCH instances used in Avella et al. (2012).

This work was funded by the National Agency for Research and Development of Chile - ANID (Scholarship Phd. Program 2019–72200492).

References (36)

  • J.F. Benders

    Partitioning procedures for solving mixed-variables programming problems

    Numerische Mathematik

    (1962)
  • O. Briant et al.

    The optimal diversity management problem

    Operations Research

    (2004)
  • J.-F. Cordeau et al.

    Benders decomposition for very large scale partial set covering and maximal covering location problems

    European Journal of Operational Research

    (2019)
  • S. Elloumi

    A tighter formulation of the p-median problem

    Journal of Combinatorial Optimization

    (2010)
  • S. Elloumi et al.

    A computational study for the p-median problem

    Electronic Notes in Discrete Mathematics

    (2010)
  • E. Gaar et al.

    A scaleable projection-based branch-and-cut algorithm for the p-center problem

    European Journal of Operational Research

    (2022)
  • R.D. Galvão

    A dual-bounded algorithm for the p-median problem

    Operations Research

    (1980)
  • S. García et al.

    Solving large p-median problems with a radius formulation

    INFORMS Journal on Computing

    (2011)
  • Cited by (6)

    View full text