Jump to content
Simio Forum
dsturrock

Random Number Generator/ Sampling without replacement

<t></t>  

  1. 1. <t></t>



Recommended Posts

[quote]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?[/quote] 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. [attachment=295:name]

Share this post


Link to post
Share on other sites

×