
Originally Posted by
bossie
I want to create an algoritm (to use in VBA) that produces all "permutation matrices" (each row and each column has maximum one "1", the other cells are "0") for any given number of rows and columns.
The goal is to find the best possible matches between two groups.
Creating these permutation matrices for a low number of rows and columns can be done manually, but since the number of possibilities grows exponentially, I need an algoritm.
Anybody has any experience in this area? Anyone with ideas?
I do think it's possible, but my math knowledge is limited...
Bookmarks