means you want to find the unique combinations of elements (the order doesn't matter)
(needs to be cleaned from the explanation and all the extra "panel" components ;) )
https://www.box.com/s/6as8jcvpfpcydusc3wdi
So now the found coefficients can be used in a weighted network