Implementation of sparse forward mode automatic differentiation with application to electromagnetic shape optimization

Abstract
In this paper, we present the details of a simple lightweight implementation of the so-called sparse forward mode automatic differentiation (AD) in the C++programming language. Our implementation and the well-known ADOL-C tool (which utilizes taping and compression techniques) are used to compute Jacobian matrices of two nonlinear systems of equations from the MINPACK-2 test problem collection. Timings of the computations are presented and discussed. Moreover, we perform the shape sensitivity analysis of a time-harmonic Maxwell equation solver using our implementation and the tapeless mode of ADOL-C, which implements the dense forward mode AD. It is shown that the use of the sparse forward mode can save computation time even though the total number of independent variables in this example is quite small. Finally, numerical solution of an electromagnetic shape optimization problem is presented.
Main Authors
Format
Articles Research article
Published
2011
Series
Subjects
Publication in research information system
Publisher
Taylor & Francis
The permanent address of the publication
https://urn.fi/URN:NBN:fi:jyu-2011092711454Use this for linking
Review status
Peer reviewed
ISSN
1055-6788
DOI
https://doi.org/10.1080/10556781003642305
Language
English
Published in
Optimization Methods and Software
Citation
  • Toivanen, J., & Mäkinen, R. (2011). Implementation of sparse forward mode automatic differentiation with application to electromagnetic shape optimization. Optimization Methods and Software, 26(4-5), 601-616. https://doi.org/10.1080/10556781003642305
License
Open Access
Copyright© Taylor & Francis. This is an electronic final draft version of an article whose final and defenitive form is published in the print edition of Optimization Methods and Software which is available online at: http://www.tandfonline.com.

Share