{"id":"arxiv/2609.13875","url":"https://arxiv.org/abs/2609.13875","tags":["math.OC","cs.CE","cs.LG","cs.MS"],"score":0,"title":"Generation of Custom Solvers in Rust for Convex Optimization","domain":"math.OC","source":"arxiv","authors":["Hao Zhu","Joschka Boedecker"],"reviews":0,"subject":"math.OC","summary":"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…","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"published":"2026-09-12","reactions":{}}