Let say I have two $n$ x $n$ matrices $A$ and $B$ where all elements are real positive values. I want to find some $n$ x $n$ permutation matrix $P$ such that $tr(P A P ^T B)$$\operatorname{tr}(P A P ^T B)$ is minimized. Does there exist such an algorithm or technique?