good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: Efficient Assignment of Many People To Many Locations?by CountZero (Bishop) |
on Feb 25, 2005 at 22:40 UTC ( [id://434689]=note: print w/replies, xml ) | Need Help?? |
That is a very interesting comment. If you can live with "good enough" rather than "maximum" it is indeed worth trying. Is the number "30" somehow related to the number of elements in the set of all possibilities or is it a value which is valid over a large spread of sets? Perhaps someone more versed in statistics than me can look into the following: given a problem which has 1,000,000 solutions, generate 30 random numbers between 1 and 1,000,000. If the score of the solution is equal to the value chosen, what are the chances that one of these random values is within 10% of the maximum value (1,000,000)? CountZero "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
In Section
Seekers of Perl Wisdom
|
|