The Complete Vertex p-Center Problem

F. Antonio Medrano
9/26/2021
math.OCmath.CO

Official code: antoniomedrano/p-center (7 stars, Python, Apache-2.0, last commit 2026-04-22).

Abstract

The vertex p-center problem consists of locating p facilities among a set of M potential sites such that the maximum distance from any demand to its closest located facility is minimized. The complete vertex p-center problem solves the p-center problem for all p from 1 to the total number of sites, resulting in a multi-objective trade-off curve between the number of facilities and the service distance required to achieve full coverage.

Show full abstract

This trade-off provides a reference to planners and decision-makers, enabling them to easily visualize the consequences of choosing different coverage design criteria for the given spatial configuration of the problem. We present two fast algorithms for solving the complete p-center problem, one using the classical formulation but trimming variables while still maintaining optimality, the other converting the problem to a location set covering problem and solving for all distances in the distance matrix. We also discuss scenarios where it makes sense to solve the problem via brute-force enumeration. All methods result in significant speed-ups, with the set covering method reducing computation times by many orders of magnitude.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

This repository contains various codes for solving the complete p-center problem using Gurobi with Python and Numba using the methods found in Medrano (2020).

74PythonAug 31, 20177 months agoApache-2.0
hacktoberfest

Similar Papers

Cite this paper

@article{medrano2021complete,
  title  = {The Complete Vertex p-Center Problem},
  author = {F. Antonio Medrano},
  year   = {2021},
  eprint = {2109.12723},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.12723}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.12723.svg)](https://codeofpaper.com/paper/2109.12723)

Discussion