Jump to content
Simio Forum

Random Number Generator/ Sampling without replacement

Recommended Posts

I have a question about sampling without replacement, or finding unique solutions with the random number generator. For example, if I wanted to simulate the game of Bingo, and I wanted to randomly select a number, but once that number is selected, it is then removed from the list of available numbers. Is there syntax to apply this rule when using the random number generator in Simio? Or is there another method for doing this?

Just for fun I did a Lotto object that can meet this need. It simply keeps track of what samples have already been generated and prevents reusing a number.


Share this post

Link to post
Share on other sites

  • Create New...