I have a cartesian product obtained from itertools.product
.
The number of combinations is 353,736,000 or even bigger. I can't afford to convert this result to a list because of time constraints.
I want to obtain 10 random combinations from those millions to become the population of a genetic algorithm and I need it to be done in a matter of milliseconds.
Is it possible?