aiqbench analysis
This article introduces cvxgenrust, an open-source tool that compiles parameterized convex optimization problems into high-performance Rust solvers leveraging the Clarabel backend. By extracting affine maps and generating native code, it significantly reduces runtime compared to direct Python-based CVXPY solves while maintaining compatibility with broader problem classes like semidefinite programs. This advancement directly addresses the need for efficient, specialized infrastructure in machine learning workflows that rely heavily on convex optimization techniques.
Generation of Custom Solvers in Rust for Convex Optimization
arXiv:2609.13875v1 Announce Type: cross Abstract: We introduce cvxgenrust, an open-source tool for generating custom Rust code that solves families of parameterized convex optimization problems modeled in CVXPY. cvxgenrust canonicalizes a problem family, extracts affine maps to Clarabel cone-program data, and generates a specialized Rust crate that updates parameters and calls Clarabel natively at runtime. The generated solver can also be exposed to Python and registered as a custom CVXPY solver. Our code generator supports a wide range of convex optimization problems up to semidefinite programs and exponential-cone problems. Numerical experiments show reduced runtime relative to direct CVXPY solves and performance comparable to CVXPYgen on shared problem classes.
Abstract:We introduce cvxgenrust, an open-source tool for generating custom Rust code that solves families of parameterized convex optimization problems modeled in CVXPY. cvxgenrust canonicalizes a problem family, extracts affine maps to Clarabel cone-program data, and generates a specialized Rust crate that updates parameters and calls Clarabel natively at runtime. The generated solver can also be exposed to Python and registered as a custom CVXPY solver. Our code generator supports a wide range of convex optimization problems up to semidefinite programs and exponential-cone problems. Numerical experiments show reduced runtime relative to direct CVXPY solves and performance comparable to CVXPYgen on shared problem classes.
Optimization and Control (math.OC); Computational Engineering, Finance, and Science (cs.CE); Machine Learning (cs.LG); Mathematical Software (cs.MS)
arXiv:2609.13875 [math.OC]
(or arXiv:2609.13875v1 [math.OC] for this version)
https://doi.org/10.48550/arXiv.2609.13875 Focus to learn more arXiv-issued DOI via DataCite (pending registration)
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Full text under the publisher's open licence · 209 words
Related coverage

[AINews] Gemini 4 Argon: GDM’s answer to Astra/Fable, with 1M output
Latent Space · Oct 1, 2026
Disciplined Biconvex Programming
arXiv · Sep 30, 2026
Welcome Beam: a 501B open model you can own, customize, and scale
Hugging Face · Oct 16, 2026

[AINews] not much happened today
Latent Space · Sep 18, 2026