arXiv Science⌕ Search

arXiv · 2610.34458

py-ARGOS: A Python package for automatic, statistically principled discovery of ordinary differential equations from data

Abstract

Recovering the governing equations of a dynamical system from data is a central problem in data-driven science, yet the available Python tooling forces a compromise among automation, statistical rigor, and reliability. We present py-ARGOS, a Python package implementing two automatic algorithms, bootstrap ARGOS and Bayesian-ARGOS, behind a uniform interface. Both are statistically principled throughout: automated model selection reduces the candidate library, each coefficient is reported with a bootstrap confidence or Bayesian credible interval that quantifies its uncertainty, and a term is retained when this interval excludes zero. Built-in diagnostics additionally flag unreliable fits. On chaotic benchmark systems, the two algorithms improve on the SINDy family's identification performance.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Yuzheng Zhang, Rui Carvalho. 2026-10-25. py-ARGOS: A Python package for automatic, statistically principled discovery of ordinary differential equations from data. https://arxiv.org/abs/2610.34458

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Using RngStreams for Parallel Random Number Generation in C++ and R

The RngStreams software package provides one viable solution to the problem of creating separate random number streams for simulations in parallel processing environments. Techniques are presented for effectively using RngStreams with C++ programs that are parallelized via OpenMP or MPI. Ways to access the backbone generator from RngStreams in R through the parallel and rstream packages are also described. The ideas in the paper are illustrated with both a simple running example and a Monte Carlo integration application.

cs.MS↗

PDECheck: A Diagnostic Software Suite for Auditing Learned PDE Simulators

PDECheck audits learned PDE simulators through callable propagators or saved predictions. It evaluates relative $L^2$ error, temporal composition, finite-difference generators, and equation-specific physical residuals, retaining horizons and missing prerequisites. Analytic and manufactured defects verify the kernels. A heat-equation sweep quantifies generator sensitivity to timestep, frequency, grid, and precision. A three-equation, five-seed FNO study compares supervised, PINO-style, and composition-regularized training. An accuracy-matched advection comparison has state errors below 0.3% and a semigroup-error ratio of 1.48 (95% interval 1.34-1.62). The composition penalty lowers semigroup error but increases composed-state and longer-rollout prediction error. A time-reparameterization check produces identical low-error endpoints with different compositions. Applications to five external equation families exercise the readers and physical contracts on coarse grids. The release includes reproducibility artifacts and measured CPU/CUDA costs.

cs.MS↗

manylp: reproducible, exact, and batched linear programming for genome-scale dynamic flux balance analysis

Dynamic flux balance analysis (dFBA) and its community, spatial and ensemble variants predict microbial metabolism by solving one linear program (LP) per species and time step, often 10^6 to 10^8 LPs per study. These LPs share their constraint matrix and objective and differ only in their bounds, yet general-purpose solvers treat each one independently, and GPU first-order solvers struggle with the degenerate, badly scaled matrices of genome-scale models. Moreover, metabolic optima are usually faces rather than vertices, so solvers return arbitrary flux vectors and dFBA predictions depend on the solver used. We present manylp, a batched solver for such bounds-parametric LP families that returns certified vertex solutions. Building on the bunching technique of stochastic programming, manylp caches optimal bases and certifies whole batches with one dense matrix product per basis on CPUs or GPUs; LPs outside the cached critical regions are re-solved by a warm-started lexicographic dual simplex, and new bases are propagated across the batch. Each LP is certified optimal and unique under a lexicographic flux rule, or infeasible, in independent double-precision arithmetic. On a genome-scale dFBA workload, manylp certified 47,889 LPs per second on a CPU, 12 to 33 times faster than HiGHS, Gurobi, FICO Xpress, GLPK and OR-Tools (32 processes), and reached 682,000 LPs per second on one GPU for community ensembles, needing 76 simplex solves for 94.6 million LPs. Integrated into the muODE simulator, it accelerated single trajectories 84-fold and 16-member ensembles 635-fold, and made adaptive Runge-Kutta integration affordable, reducing biomass errors 83-fold. Integrating 49 equally optimal flux policies in one batched run showed that alternative optima change predicted acetate 4.2-fold and shift community composition. manylp is open source: https://github.com/cumbof/manylp.

cs.MS↗