×

The metric nearness problem. (English) Zbl 1172.05018

Summary: Metric nearness refers to the problem of optimally restoring metric properties to distance measurements that happen to be nonmetric due to measurement errors or otherwise. Metric data can be important in various settings, for example, in clustering, classification, metric-based indexing, query processing, and graph theoretic approximation algorithms. This paper formulates and solves the metric nearness problem: Given a set of pairwise dissimilarities, find a ”nearest” set of distances that satisfy the properties of a metric-principally the triangle inequality. For solving this problem, the paper develops efficient triangle fixing algorithms that are based on an iterative projection method. An intriguing aspect of the metric nearness problem is that a special case turns out to be equivalent to the all pairs shortest paths problem. The paper exploits this equivalence and develops a new algorithm for the latter problem using a primal-dual method. Applications to graph clustering are provided as an illustration. We include experiments that demonstrate the computational superiority of triangle fixing over general purpose convex programming software. Finally, we conclude by suggesting various useful extensions and generalizations to metric nearness.

MSC:

05C12 Distance in graphs
05C85 Graph algorithms (graph-theoretic aspects)
54E35 Metric spaces, metrizability
65Y20 Complexity and performance of numerical algorithms
90C06 Large-scale problems in mathematical programming
90C08 Special problems of linear programming (transportation, multi-index, data envelopment analysis, etc.)