NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

A CP/LS Heuristic Method for Maxmin and Minmax Location Problems with Distance Constraints

Panteleimon Iosif, Nikolaos Ploskas, Kostas Stergiou, Dimosthenis C. TsourosCP 2024

TL;DR

This paper introduces a novel Constraint Programming (CP) heuristic enhanced with Local Search (LS) to tackle complex facility location problems with distance constraints. By improving bound estimations through LS, their approach significantly boosts the effectiveness of an incomplete CP solver, enabling it to find optimal or near-optimal solutions for challenging instances where traditional solvers struggle.

What Problem Does This Paper Address?

Facility location problems are a cornerstone of operations research, aiming to strategically place facilities (like stores, hospitals, or waste disposal sites) to optimize certain criteria. Two classic examples are the p-center problem, where the goal is to minimize the maximum distance from any client to their nearest facility (a minmax objective), and the p-dispersion problem, where the aim is to maximize the minimum distance between any two facilities (a maxmin objective).

This paper focuses on variants of these problems that include distance constraints. These constraints can arise from practical needs, such as ensuring a minimum clearance distance between hazardous facilities or maintaining a certain separation between retail outlets to avoid cannibalization. While previous work proposed an incomplete CP solver for the p-dispersion problem with distance constraints, it often failed to find optimal or near-optimal solutions, despite its speed advantage over complete solvers like Gurobi and OR-Tools. The challenge lies in balancing solution quality with computational efficiency, especially for large-scale, complex instances.

Methods

The authors build upon a previous incomplete CP solver for the p-dispersion problem with distance constraints. Their core contribution is a two-pronged enhancement:

  1. Local Search for Bound Estimation: They integrate Local Search (LS) techniques to improve the estimation of bounds at each node in the search tree. Instead of relying solely on a greedy heuristic, they use the greedy assignment as an initial solution for a relaxed problem (ignoring distance constraints) and then apply LS (specifically, a variant of the best pairwise interchange heuristic) to find a better estimate of the objective function's value. This more accurate bound leads to more effective pruning of the search space.
  2. Application to p-Center Problems: They extend their CP/LS framework to the p-center problem with distance constraints, a variant not previously addressed by this type of heuristic. They compare their approach against standard Integer Linear Programming (ILP) and CP models implemented in Gurobi and OR-Tools.

For the p-center problem, their CP solver uses a simplified model and applies LS to estimate bounds, again aiming for more focused pruning. They also incorporate a second LS component that attempts to improve any newly discovered feasible solution by searching its neighborhood.

Datasets

The paper uses two main types of datasets for evaluation:

  • MDPLIB: A benchmark library for p-dispersion problems, containing instances with varying numbers of potential facility locations and facilities to be placed.
  • p-median benchmark dataset: Used as a basis for generating p-center problems with distance constraints.
  • Grid-structured problems: Custom-generated instances where potential facility sites and clients are randomly placed on a grid. These problems are characterized by a fixed grid size, number of facilities, number of clients, and potential facility sites.

Key Insights and Ideas

  • The Power of Better Bounds: The most significant insight is that improving the quality of bound estimations, even with an incomplete solver, dramatically enhances its ability to find optimal or near-optimal solutions. This is achieved by using LS to refine greedy estimates, leading to more informed pruning decisions.
  • Incomplete Solvers as Robust Alternatives: The CP/LS approach demonstrates remarkable robustness across various problem instances, especially for large-scale problems where complete solvers like Gurobi and OR-Tools struggle due to memory limitations or excessive computation time.
  • Balancing Pruning and Exploration: While aggressive pruning (as seen in the original greedy heuristic) can speed up search, it risks missing good solutions. LS helps strike a better balance by providing more accurate bounds, allowing for more intelligent pruning without sacrificing solution quality as severely.
  • Applicability Beyond p-Dispersion: The success of the CP/LS framework in the p-center problem highlights its potential applicability to a broader range of constraint optimization problems, particularly those involving location and distance constraints.

Key Results

  • Improved Solution Quality for p-Dispersion: The LS-enhanced CP solver (CPLS) found optimal solutions in 40 MDPLIB instances, compared to only 2 for the previous greedy CP solver (CPG). It also achieved better mean costs across most classes.
  • Robustness on Large Instances: CPLS consistently found solutions for large instances where complete solvers failed or took excessively long.
  • Competitive Performance on p-Center: For p-center problems with distance constraints, CPLS demonstrated strong performance, often finding optimal or near-optimal solutions faster than or comparable to Gurobi and OR-Tools, especially on instances with many facilities.
  • Speed-up and Pruning: The CP/LS approach achieved significant speed-ups and demonstrated high pruning ratios (over 90% in some cases for the branch pruning heuristic).
  • Limited Impact of Second LS Component: While the primary LS component for bound estimation was crucial, the secondary LS component for improving found solutions had a more modest impact.

Limitations and Future Work

  • Incompleteness: The CP/LS solver is inherently incomplete, meaning it cannot guarantee finding an optimal solution or proving optimality.
  • Heuristic Nature: Both the CP/LS approach and the complete solvers are heuristic in nature, and in rare cases, the heuristic pruning might lead to missing optimal solutions that a less aggressive pruning strategy might find.
  • Performance on Few-Solution Problems: The paper notes that Gurobi benefits from many solutions, while CP solvers handle problems with few solutions more efficiently. This suggests that the CP/LS approach might be less effective on problems with a very small number of feasible solutions compared to those with many.
  • Future Work: The authors suggest investigating the applicability of their CP/LS framework to other types of constraint optimization problems, particularly those involving complex distance constraints. Further exploration of more sophisticated LS methods or meta-heuristics could also yield even better bounds.

Summary updated

Abstract

In facility location problems we seek to locate a set of facilities in an area, where clients may be present, so that some criterion is optimized. For instance, in the p-center problem we seek to minimize the maximum distance between any client and its closest facility, whereas in the p-dispersion problem we seek to maximize the minimum distance between any two facilities. Hence, in the former we have a minmax objective, whereas in the latter we have a maxmin objective. Recently, a variant of p-dispersion where distance constraints exist between facilities was studied from a CP and ILP perspective. An incomplete CP solver that uses a greedy heuristic to prune branches was shown to significantly outperform Gurobi and OR-Tools in terms of execution time, although it failed to discover optimal or near-optimal solutions in many instances. We enhance this work in two directions, regarding the effectiveness and the applicability of the approach. We first show how local search can be used to obtain better estimations of the bound at each node, resulting in more focused pruning, which allows for optimal or near-optimal solutions to be discovered in many more instances. Then, we demonstrate how the framework can be applied on the p-center problem with distance constraints, comparing it to ILP and CP models implemented in Gurobi and OR-Tools, respectively.
BibTeX
@inproceedings{iosif2024cp,
  author = {Panteleimon Iosif and Nikolaos Ploskas and Kostas Stergiou and Dimosthenis C. Tsouros},
  title = {{A CP/LS Heuristic Method for Maxmin and Minmax Location Problems with Distance Constraints}},
  booktitle = {CP},
  year = {2024},
  url = {https://openreview.net/forum?id=1AvwDAwDBh},
}
Figure