Version 2.0 -- cashocs: A Computational, Adjoint-Based Shape Optimization and Optimal Control Software
Blauth
In this paper, we present version 2.0 of cashocs. Our software automates the solution of PDE constrained optimization problems for shape optimization and optimal control. Since its inception, many new features and useful tools have been added to cashocs, making it even more flexible and efficient. The most significant additions are a framework for space mapping, the ability to solve topology optimization problems with a level-set approach, the support for parallelism via MPI, and the ability to handle additional (state) constraints. In this software update, we describe the key additions to cashocs, which is now even better-suited for solving complex PDE constrained optimization problems.
academic
Version 2.0 -- cashocs: A Computational, Adjoint-Based Shape Optimization and Optimal Control Software
This paper presents the version 2.0 update of the cashocs software. cashocs is a computational software based on the adjoint method, specifically designed for automated solution of PDE-constrained optimization problems, including shape optimization and optimal control. Since its initial release, the software has incorporated numerous new features and utilities, making it more flexible and efficient. The most important new functionalities include: a space mapping framework, topology optimization solving capability based on level-set methods, parallel computing support via MPI, and the ability to handle additional (state) constraints.
Space Mapping Framework: First complete implementation of space mapping techniques in PDE-constrained optimization software, supporting shape optimization and optimal control problems
Topology Optimization Support: Integration of topology optimization solvers based on level-set methods, including state-of-the-art quasi-Newton methods
Parallel Computing Capability: MPI-based parallel computing support enabling the software to run on high-performance computing systems
Constraint Handling Mechanism: New quadratic penalty method and augmented Lagrangian method for handling additional state and control constraints
User-Friendliness Improvements: Including automatic scaling, custom scalar products, improved remeshing workflows, etc.
The space mapping method leverages model hierarchy, containing fine models (detailed, complex) and coarse models (approximate, computationally inexpensive):
Model Hierarchy: Efficiently optimizes fine models through continuous optimization and correction of coarse model approximations
Avoiding Direct Optimization: Eliminates the need for direct optimization of fine models, particularly suitable for industrial applications using commercial solvers
Rapid Convergence: Experimental results demonstrate convergence within approximately 5 iterations
Functional Completeness: cashocs 2.0 significantly extends software functionality, becoming a comprehensive solution for PDE-constrained optimization
Industrial Application Value: The space mapping framework is particularly suited for industrial applications, effectively leveraging existing commercial solvers
Enhanced Computing Capability: MPI parallel support enables the software to handle large-scale practical problems
Improved User-Friendliness: Multiple improvements enhance software usability and flexibility
Blauth, S. (2021). cashocs: A Computational, Adjoint-Based Shape Optimization and Optimal Control Software. SoftwareX, 13, 100646.
Blauth, S. (2023). Space Mapping for PDE Constrained Shape Optimization. SIAM J. Optim., 33(3), 1707–1733.
Amstutz, S., & Andrä, H. (2006). A new algorithm for topology optimization using a level-set method. J. Comput. Phys., 216(2), 573–588.
Summary: cashocs 2.0 represents an important software update in the field of PDE-constrained optimization. By integrating advanced technologies such as space mapping, topology optimization, and parallel computing, it significantly enhances the software's functionality and practicality. This software is particularly well-suited for industrial and academic applications requiring efficient solution of complex optimization problems, making it an essential tool for researchers and engineers in this field.