pcenter
The p-center problem, sometimes written as p-center, is a classic optimization problem in operations research and computer science. Given a set of demand points and a metric that defines distances between points, the goal is to place p facilities so that the maximum distance from any demand point to its nearest facility is minimized. The objective is to achieve the smallest possible service radius that covers all demand points with at most p facilities.
There are two common versions of the problem. In the discrete p-center problem, facilities may be located
Mathematically, let D be the set of demand points, S the set of candidate facility sites, and
Complexity and methods: The p-center problem is NP-hard in general, with the decision version NP-complete. Exact
Applications include emergency services planning, facility location for distribution and telecommunications, urban planning, and disaster response,