Minimizing Frobenius norm of the difference between $A$ and $P^\top B P$

121 Views Asked by At

I have two $n\times n$ real matrices $A$, $B$, not necessarily symmetric. Is there any clever way to compute $$ \min_P || A - P^{\top} B P ||_F $$ where $P$ ranges over the group of orthogonal matrices?