Given $A,B\in\Bbb R^{n\times n}$ is there a technique find $\min_{ T\in O(n,\Bbb R)}\|A-TBT^{-1}\|_F$ or $\min_{ T\in O(n,\Bbb R)}\|A-TBT^{-1}\|_2$?