Open michalkvasnicka opened 4 years ago
Thanks for the suggestion. I'm not aware of an efficient way to determine if such an A0 is possible, let alone find one, in the presence of structural zeros. This would be an interesting research direction.
Again, in a case of permutation matrices A, the effective way how to generate any "first" permutation matrix A0 which is consistent with weight matrix W (with structural zeros) is application of Hungarian algorithm (linear assignment problem) to find most (maximization) or less (minimization) probable permutation. You just need to transform matrix W to matrix log(W) matrix to change from multiplication of probabilities to addition of logarithms of probabilities.
In a case of sampling matrices A^{(k)} should be the good option to generate A^{(0)} automatically if is not defined.