Skip to content

Metric k-center

In graph theory, the metric -center problem or vertex k-center problem is a classical combinatorial optimization problem studied in theoretical computer science that is NP-hard.

Core Idea

Metric k-center is treated here as the recurring computing and information systems identity summarized by this source-grounded definition: In graph theory, the metric -center problem or vertex k-center problem is a classical combinatorial optimization problem studied in theoretical computer science that is NP-hard. In graph theory, the metric -center problem or vertex k-center problem is a classical combinatorial optimization problem studied in theoretical computer science that is NP-hard. Given cities with specified distances, one wants to build warehouses in different cities and minimize the maximum distance of a city to a warehouse.

How would you explain it like I'm…

Best Spots for Stores

Imagine a bunch of towns, and you can build only a few stores. You want to place them so that even the town farthest from any store isn't too far away. Finding the best spots is the metric k-center problem, and it's a really hard puzzle for computers.

The Warehouse Placement Puzzle

Say you have cities with known distances between them, and you may build exactly k warehouses in some of the cities. Each city uses its closest warehouse. The Metric k-center problem asks: where should the warehouses go so that the worst-off city — the one farthest from its nearest warehouse — is as close as possible? The distances must make sense, meaning going straight is never longer than taking a detour. It's a very hard problem to solve perfectly when there are lots of cities.

Minimax Center Placement

Metric k-center, also called the vertex k-center problem, is a classic optimization problem in theoretical computer science. Given points with distances between them, choose k of the points as centers so that the largest distance from any point to its nearest center is as small as possible. Notice the goal is to make the worst case small, not the average. The distances must form a metric, so they obey the triangle inequality: going directly is never longer than going through a third point. The problem is NP-hard, meaning no fast exact algorithm is known, and it's used in facility location and clustering. The known polynomial-time approximation algorithms are the best possible in theory but often perform poorly on benchmark datasets.

 

The metric (vertex) k-center problem is a classical NP-hard combinatorial optimization problem. The input is a set of vertices in a metric space, forming a complete graph whose edge weights satisfy the triangle inequality, together with an integer k. The goal is to choose a set of k vertices, the centers, minimizing the maximum over all vertices of the distance to the nearest center; in the warehouse framing, build k warehouses in cities so as to minimize the worst distance from any city to a warehouse. This bottleneck (min-max) objective distinguishes it from objectives that sum or average distances. Known polynomial-time approximation algorithms are the best possible, though their performance on most benchmark datasets is reported to be very deficient. Applications include facility location and clustering.

Scope of Application

  • Experimental comparison. Some of the most widely used benchmark datasets for the vertex k-center problem are the pmed instances from OR-Lib., and some instances from TSP-Lib.

  • Documented setting. It has application in facility location and clustering.

  • Formal definition. Let (X,d) be a metric space where X is a set and d is a metric.

  • Formal definition. A set \mathbf{V}\subseteq\mathcal{X} , is provided together with a parameter k .

  • Formal definition. The goal is to find a subset \mathcal{C}\subseteq \mathbf{V} with |\mathcal{C}|=k such that the maximum distance of a point in \mathbf{V} to the closest point.

Clarity

A clear use of Metric k-center names the carrier, the operative relation, and the conditions under which the source treats the identity as present. The minimal definition is In graph theory, the metric -center problem or vertex k-center problem is a classical combinatorial optimization problem studied in theoretical computer science that is NP-hard.

Manages Complexity

Metric k-center compresses multiple computing and information systems details into a stable diagnostic relation. The source shows both the central mechanism—although a Turing reduction can get around this issue by trying all values of k.—and the practical consequence—actually, if P \neq NP the best possible solution that can be achieved by a polynomial time algorithm is a 2-approximated one.

Abstract Reasoning

  1. Type the carrier. Identify the computing and information systems entities to which the claim applies.
  2. State the relation. Use the source-grounded identity: In graph theory, the metric -center problem or vertex k-center problem is a classical combinatorial optimization problem studied in theoretical computer science that is NP-hard.
  3. Check operation and conditions. Assume, without loss of generality, that \bar{u} was added later to the center set \mathbf{K} by the greedy algorithm, say in i th iteration.
  4. Demand recognition evidence.

Knowledge Transfer

Within the home domain. Knowledge about Metric k-center transfers literally when a new case preserves the same carrier type, relation, and recognition test. Some of the most widely used benchmark datasets for the vertex k-center problem are the pmed instances from OR-Lib., and some instances from TSP-Lib. It has application in facility location and clustering. Beyond the home domain. No canonical parent is asserted for Metric k-center. An outside case receives the specialist name only when the same typed roles and rejection conditions can be filled literally; otherwise the comparison remains an analogy pending later graph densification.

Relationships to Other Abstractions

Local relationship map for Metric k-centerParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Metric k-centerDOMAINDomain-specific abstraction: Computational problem — is a kind ofComputationalproblemDOMAIN

Current abstraction Metric k-center Domain-specific

Parents (1) — outgoing typed relations

  • Metric k-center is a kind of Computational problem Domain-specific

    Metric k-center maps metric instances to center selections minimizing the maximum assignment distance.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Metric k-center sits in a moderately populated region (45th percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.

Family — Combinatorial Optimization & Discrete Structures (32 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14