DOE OSTI · 3020941
RegularizedOptimization.jl: A Julia framework for regularized and nonsmooth optimization
Abstract
RegularizedOptimization.jl is a Julia package that implements families of quadratic regularization and trust-region methods for solving the nonsmooth optimization problem $^{\textrm{minimize}}_{𝑥∈ℝ^𝑛}$ 𝑓(𝑥) + ℎ(𝑥) subject to 𝑐(𝑥) = 0, (1) where 𝑓 ∶ ℝ 𝑛 → ℝ and 𝑐 ∶ ℝ 𝑛 → ℝ 𝑚 are continuously differentiable, and ℎ ∶ ℝ 𝑛 → ℝ∪{+∞} is lower semi-continuous. The nonsmooth objective ℎ can be a regularizer, such as a sparsity inducing penalty, model simple constraints, such as 𝑥 belonging to a simple convex set, or can be a combination of both. All 𝑓, ℎ, and 𝑐 can be nonconvex. RegularizedOptimization.jl provides a modular and extensible framework for solving (1), and developing novel solvers. Currently, the following solvers are implemented: • Trust-region solvers TR and TRDH (Aravkin et al., 2022; Leconte & Orban, 2025) • Quadratic regularization solvers R2, R2DH and R2N (Aravkin et al., 2022; Diouane, Habiboullah, et al., 2024) • Levenberg-Marquardt solvers LM and LMTR (Aravkin et al., 2024) used when 𝑓 is a least-squares residual. • Augmented Lagrangian solver AL (De Marchi et al., 2023). All solvers rely on first derivatives of 𝑓 and 𝑐, and optionally on their second derivatives in the form of Hessian-vector products. If second derivatives are not available, quasi-Newton approximations can be used. In addition, the proximal mapping of the nonsmooth part ℎ, or adequate models thereof, must be evaluated. At each iteration, a step is computed by solving a subproblem of the form (1) inexactly, in which 𝑓, ℎ, and 𝑐 are replaced with appropriate models around the current iterate. The solvers R2, R2DH, and TRDH are particularly well suited to solve the subproblems, though they are general enough to solve (1). All solvers are allocation-free, so re-solves incur no additional allocations. To illustrate our claim of extensibility, a first version of the AL solver was implemented by an external contributor. Furthermore, a nonsmooth penalty approach, described in Diouane, Gollier, et al. (2024), is currently being developed, that relies on the library to efficiently solve the subproblems.
Keep this discovery
Explore connections, maps & timelines
Gollier, Maxence [Polytechnique Montréal, QC (Canada)] (ORCID:0009000831587912), Habiboullah, Mohamed Laghdaf [Polytechnique Montréal, QC (Canada)] (ORCID:0009000536312799), Leconte, Geoffroy [Hexaly, Paris (France)] (ORCID:0000000218251639), Baraldi, Robert John [Sandia National Laboratories (SNL-NM), Albuquerque, NM (United States)] (ORCID:0000000336996770), Marchi, Alberto De [Univ. of the Bundeswehr Munich )(Germany)] (ORCID:0000000235456898), Orban, Dominique [Polytechnique Montréal, QC (Canada)] (ORCID:0000000280177687), Diouane, Youssef [Polytechnique Montréal, QC (Canada)] (ORCID:0000000266097330). 2026-02-15. RegularizedOptimization.jl: A Julia framework for regularized and nonsmooth optimization. https://doi.org/10.21105/joss.09344
Cite the original work for its findings. Save a collection to share your selection of sources.