“…Several mathematical and numerical studies on electromagnetic optimal control problems can be found in the literature. However, they were mainly focused on the cases where the stationary system (1) was replaced by the corresponding timedependent system [2,15,20,21,29] or the curl-curl-elliptic system [11,26,27]; namely, either a time derivative term ∂E/∂t or a zero-order term is added in the first equation of (1). In these cases, the divergence law, i.e., the second equation in (1), can be automatically ensured at the discrete level from the first equation of (1) when edge element methods are used for discretization.…”