Wrap or Rewrite? Reviving the 1989 GlobalMinimum Bayesian Global-Optimization Library for R and Python
Audris Mockus
Key points
From the paper's conclusion- We modernize this Fortran 66/77 codebase along both standard routes: wrapping the original compiled routines behind R and Python packages, and translating the core methods to Rust.
Abstract
The GlobalMinimum library of Jonas Mockus (1989) implements some of the earliest practical Bayesian global-optimization methods -- one-step Bayesian search over a simple surrogate, Wiener-process one-dimensional models, low-discrepancy designs, and clustering multistart. We modernize this Fortran 66/77 codebase along both standard routes: wrapping the original compiled routines behind R and Python packages, and translating the core methods to Rust. First, we release packages in which every optimizer runs the genuine 1989 algorithms, with callback objectives, deterministic seeding, full evaluation traces, and validation that retrofits memory- and I/O-safety onto COMMON-block Fortran. Second, we dissect a translation-fidelity incident: the Rust port of the one-step Bayesian planner ran up to 12x slower than the wrapped Fortran -- initially misattributed to foreign-function overhead. Controlled decomposition shows call overhead is microseconds and backend-neutral; the cause was two dropped pruning rules whose restoration recovers bitwise trajectory agreement and speed parity. The same audit found transposed coefficient matrices in re-implemented Shekel and Hartmann test functions -- quiet correctness bugs of the rewrite route. Third, we benchmark the 1989 methods against modern optimizers in both ecosystems (SciPy, NLopt, CMA-ES, GP-based Bayesian optimization, GenSA, DEoptim, GA) on a COCO-style shifted-instance suite with external validation on BBOB. On classical test functions the coordinate Wiener-model search EXKOR statistically ties dual annealing at the larger budget; on BBOB's non-separable, ill-conditioned functions it drops to mid-field, quantifying the separability dependence. At tight budgets modern annealing and GP expected improvement dominate the 1989 machinery. Code and data are available.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Global optimization tailored for graphics processing units: Complete and rigorous search for large-scale nonlinear minimizationPNAS Nexus · 2026
- Fast Bayesian Optimization Through Linear ModelsarXiv · 2026
- FOMTools: Development and AI-Assisted Code Generation for First-Order MethodsarXiv · 2026
- Acquisition for Spherical-Linear Bayesian Optimization on the CubearXiv · 2026
- Accelerating fits in high-energy physics and beyondarXiv · 2026
- mlr3mbo: Bayesian optimization in R.Patterns (New York, N.Y.) · 2026