Automating the Formulation and Resolution of Convex Variational Problems
Author(s) -
Jérémy Bleyer
Publication year - 2020
Publication title -
acm transactions on mathematical software
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.767
H-Index - 87
eISSN - 1557-7295
pISSN - 0098-3500
DOI - 10.1145/3393881
Subject(s) - finite element method , discretization , solver , convex optimization , mathematical optimization , computer science , mathematics , convex analysis , regular polygon , mathematical analysis , geometry , physics , thermodynamics
Convex variational problems arise in many fields ranging from image processing to fluid and solid mechanics communities. Interesting applications usually involve non-smooth terms, which require well-designed optimization algorithms for their resolution. The present manuscript presents the Python package called fenics_optim built on top of the FEniCS finite element software, which enables one to automate the formulation and resolution of various convex variational problems. Formulating such a problem relies on FEniCS domain-specific language and the representation of convex functions, in particular, non-smooth ones, in the conic programming framework. The discrete formulation of the corresponding optimization problems hinges on the finite element discretization capabilities offered by FEniCS, while their numerical resolution is carried out by the interior-point solver Mosek. Through various illustrative examples, we show that convex optimization problems can be formulated using only a few lines of code, discretized in a very simple manner, and solved extremely efficiently.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom