COFFEE: a High-Performance Approach to Convex Optimization for Thermodynamic Equilibrium Computations
Understanding complex molecular interactions is a crucial step for advances in synthetic biology, chemical networks, and computational biology. Computing thermodynamic equilibrium in chemical and biological systems provides insight into molecular binding, unbinding, and transformations that occur during reactions, but this problem lacks a closed-form solution and requires computationally intensive numerical methods. Existing tools face challenges with scalability and performance when processing large datasets and lack generality when applied to broader biochemistry problems. To address these issues, we present COFFEE: Convex Optimization For Free Energy Equilibria. Given the input concentrations and free energies of molecules, COFFEE calculates the resulting equilibrium output concentration of the formations. COFFEE is designed to be molecule agnostic and scalable, leveraging a novel application of trust-region optimization methods. COFFEE introduces a high-performance Rust approach and supports both command-line and web-based interfaces. Extensive evaluations against the current state-of-the-art demonstrate an improvement of up to 7 orders of magnitude in constraint adherence and a 2-fold increase in execution speed for large inputs. COFFEE is open source, and a demo is available at https://coffeesolver.dev.
Authors
- Yashaswini Mittal
- David Soloveichik (ORCID: https://orcid.org/0000-0002-2585-4120)
- Sahil Shah (ORCID: https://orcid.org/0000-0001-7403-2388)
- Paul W. Bessler (ORCID: https://orcid.org/0000-0002-5490-5468)
- Fu-Yao Yu (ORCID: https://orcid.org/0009-0007-6666-8715)
- Aamir Mohsin
- Jeffrey Geng
- Arnav Vats
Institutions
- The University of Texas at Austin (US)
Publication Details
- Published
- 2025-05-02
- DOI
- https://doi.org/10.1109/sieds65500.2025.11021092
- Primary Topic
- Advanced Thermodynamics and Statistical Mechanics
- Type
- article
- Field-Weighted Citation Impact
- 0.00