Skip to main content
1 of 4

Algorithm to minimize tr(PAP^TB)?

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)$ is minimized. Does there exist such an algorithm or technique?