Hello,

I was wondering whether there is way to randomly sample a given number n of permutations of a vector when using the ot.KPermutations class, without having to generate the entire set of permutations.

For instance, if I want to generate 50 permutations of the vector containing integers ranging from 0 to 99, this cannot be done with ot.KPermutations(100).generate() as the total number of permutations to be computed seems to be too large. However, I would only need to generate a small subset of the 100! permutations, which for instance can be easily done with numpy:

`np.random.permutation(np.arange(0,100))`

Is there a similar workaround with KPermutations?

Thanks!