arXiv Science⌕ Search

arXiv subjects

Olivier Goldschmidt

Publications and source records attributed to Olivier Goldschmidt.

4 recordsLinked to original sources

Solving large-scale maximum weight non-bipartite matching in Euclidean space

The maximum weight non-bipartite matching problem consists of pairing the nodes of a weighted graph so that the total weight of the edges connecting paired nodes is maximized. Although the problem can be solved in polynomial time, no existing exact algorithm scales well to large graphs. Such large graphs are common in applications where the nodes are d-dimensional feature vectors in Euclidean space and the edge weights are pairwise distances, so that every pair of nodes is connected. We introduce Assignment-Based Matching (ABM), a new algorithm for non-bipartite matching in Euclidean space that builds a solution by solving one or more assignment problems. For small-sized datasets, ABM delivers solutions that are only a fraction of a percent off the optimum, at much faster runtimes compared to exact algorithms. For medium- and large-sized datasets with up to six million objects, where exact algorithms fail to deliver solutions, ABM produces the best known solutions compared to state-of-the-art heuristics within seconds to a few minutes. Overall, as shown here, ABM proves to be the most effective Euclidean maximum weight matching algorithm in terms of both runtime and quality of solutions.

cs.CG↗

A Fast and Effective Method for Euclidean Anticlustering: The Assignment-Based-Anticlustering Algorithm

Anticlustering is an NP-hard combinatorial optimization problem that consists of partitioning a set of objects into equal-sized groups called anticlusters such that the objects in the same anticluster are as dissimilar as possible and thereby representative of the entire set of objects. Here we study the case where the dissimilarity metric is the squared Euclidean distance between the respective feature vectors. Applications of Euclidean anticlustering include social studies, cross-validation, creating mini-batches for stochastic gradient descent, and finding balanced K-cut partitions. In particular, machine-learning applications such as mini-batch generation involve million-scale datasets and very large values of K, making scalable anticlustering algorithms essential. We propose a new algorithm, the Assignment-Based Anticlustering (ABA) algorithm, that scales to instances with millions of objects and hundreds of thousands of anticlusters within seconds to minutes, which is far beyond what existing anticlustering methods can manage. We demonstrate here, via an extensive computational study, that our algorithm outperforms existing anticlustering methods in both solution quality and running time. This is so also for anticlustering with categories. For the related problem of balanced K-cut partitioning, our algorithm is superior to the well-known METIS method. The code of our algorithm is available on GitHub.

cs.LG↗

Fast and Optimal Incremental Parametric Procedure for the Densest Subgraph Problem: An Experimental Study

The Densest Subgraph Problem (DSP) is widely used to identify community structures and patterns in networks such as bioinformatics and social networks. While solvable in polynomial time, traditional exact algorithms face computational and scalability limitations, leading to the adoption of faster, but non-optimal, heuristic methods. This work presents the first experimental study of the recently devised Incremental Parametric Cut (IPC) algorithm, which is an exact method for DSP and other "monotone ratio problems". Our findings demonstrate that IPC not only overcomes the limitations of previous exact approaches but also substantially outperforms leading state-of-the-art heuristics in both speed and solution quality. IPC's performance is also evaluated here for other "monotone ratio problems" related to conductance, Cheeger constant and normalized cut. For these, our experimental study on large-scale instances demonstrate exceptional computational speed. In particular, comparing IPC with the "fully parametric cut" algorithm, which is the only other efficient known optimization algorithm for such problems, demonstrate the superior performance of IPC. We provide here code and benchmarks, establishing IPC as a fast, scalable, and optimal solution framework for densest subgraph and related monotone ratio problems.

cs.DS↗

A Fast and Effective Breakpoints Heuristic Algorithm for the Quadratic Knapsack Problem

The Quadratic Knapsack Problem (QKP) involves selecting a subset of elements that maximizes the sum of pairwise and singleton utilities without exceeding a given budget. The pairwise utilities are nonnegative, the singleton utilities may be positive, negative, or zero, and the node costs are nonnegative. We introduce a Breakpoints Algorithm for QKP, named QKBP, which is based on a technique proposed in \cite{Hoc09} for efficiently generating the concave envelope of the solutions to the relaxation of the problem for all values of the budget. Our approach utilizes the fact that breakpoints in the concave envelopes are optimal solutions for their respective budgets. For budgets between breakpoints, a fast greedy heuristic derives high-quality solutions from the optimal solutions of adjacent breakpoints. The QKBP algorithm is a heuristic which is highly scalable due to an efficient parametric cut procedure used to generate the concave envelope. This efficiency is further improved by a newly developed compact problem formulation. Our extensive computational study on both existing and new benchmark instances, with up to 10,000 elements, shows that while some leading algorithms perform well on a few instances, QKBP consistently delivers high-quality solutions regardless of instance size, density, or budget. Moreover, QKBP achieves these results in significantly faster running times than all leading algorithms. The source code of the QKBP algorithm, the benchmark instances, and the detailed results are publicly available on GitHub.

math.OC↗