permutation_2sided not performing well for me #203
-
I tried using DetailsThe problemFor two matrices, My naive approach: Start with a random permutation Using
Compare this to The matricesThe results above are for The resulting matrices are, in particular, symmetric, have zeros on diagonals, and contain mostly integers or small fractions (as in small denominator) between ~ For the errors above I used !!! One thing that might be important: my matrix |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
As you know, 2-sided permutation Procrustes is NP, so one doesn't expect a reliable solution. I view our heuristics as useful, but they were customized for certain cases related to chemistry, and may not be useful in your cases. I also view them as primarily useful as initial guesses for The approximate methods are not (at all) guaranteed to give a local optimum. In general, then, I recommend running an "approx-" method and then using it as a guess for |
Beta Was this translation helpful? Give feedback.
As you know, 2-sided permutation Procrustes is NP, so one doesn't expect a reliable solution. I view our heuristics as useful, but they were customized for certain cases related to chemistry, and may not be useful in your cases. I also view them as primarily useful as initial guesses for
softassign
(which is a semi-experimental feature, but which is guaranteed to work with enough fiddling with parameters, albeit at very high cost) ork-opt
, which is basically a greedy algorithm that does what you are describing. Theapprox-normal#
cases would be ill-suited to cases with many repeated numbers; they were intended for charge-bond-order matrices (and similar objects) in chemistry, though I th…