Given $A \in \mathbb{R}^{m \times n}$, $B \in \mathbb{R}^{n \times d}$ and $C \in \mathbb{R}^{m \times d}$, I want to find an analytical solution for $X \in \mathbb{R}^{n \times n}$ that minimizes $$ \lVert A X B - C \rVert^2_F$$ subject to the constraint that $X ^ T X = I_n$ (e.g. that $X$ is orthogonal).
This seems like a simple extension of the standard orthogonal Procrustes problem, but I'm finding it difficult to solve, let alone find a resource which provides a solution.
Using the Kronecker-$\textrm{vec}$ trick doesn't seem to get me anywhere, because I can't figure out how enforce orthogonality on $\textrm{vec}(X)$. Similarly, following the standard Procrustes derivation by expanding the inner product reduces only to minimizing $$ \lVert A X B \rVert^2 - 2 \langle A X B, C \rangle,$$ which is not equivalent to maximizing the inner product over $X$ as in the standard Procrustes problem.