I was looking for a Julia implementation of this known combinatorics problem: Stars and bars
I have some struggle to use multiset_combinations and multiset_permutations and I didn't find any good documentation on it.
I wanted to compute/enumerate a multiset number using this method. However, It seems that multiset_combinations is performing a combination on multisets, which is something very different. I'm still new to Julia so I might be wrong.
Also, If you can point me to a workaround for this problem, I'll be glad to hear it!
I'm rather late to the party, but it's not exactly clear to me what you are looking for. Can you give an example of what you would expect multiset_combinations to do?
I was looking for a Julia implementation of this known combinatorics problem: Stars and bars
I have some struggle to use
multiset_combinations
andmultiset_permutations
and I didn't find any good documentation on it.I wanted to compute/enumerate a multiset number using this method. However, It seems that
multiset_combinations
is performing a combination on multisets, which is something very different. I'm still new to Julia so I might be wrong.Also, If you can point me to a workaround for this problem, I'll be glad to hear it!