Hier finden Sie wissenschaftliche Publikationen aus den Fraunhofer-Instituten.

cashocs: A Computational, Adjoint-Based Shape Optimization and Optimal Control Software

: Blauth, S.

Fulltext ()

SoftwareX 13 (2021), Art. 100646, 7 pp.
ISSN: 2352-7110
Journal Article, Electronic Publication
Fraunhofer ITWM ()

The solution of optimization problems constrained by partial differential equations (PDEs) plays an important role in many areas of science and industry. In this work we present cashocs, a new software package written in Python, which automatically solves such problems in the context of optimal control and shape optimization. The software cashocs implements a discretization of the continuous adjoint approach, which derives the necessary adjoint systems and (shape) derivatives in an automated fashion. As cashocs is based on the finite element software FEniCS, it inherits its simple, high-level user interface. This makes it straightforward to define and solve PDE constrained optimization problems with our software. In this paper, we discuss the design and functionalities of cashocs and also demonstrate its straightforward usability and applicability.