Mabinogion sheep problem

In probability theory, the Mabinogion sheep problem or Mabinogian urn is a problem in stochastic control introduced by David Williams (1991,15.3), who named it after a herd of magic sheep in the Welsh epic Mabinogion.

Statement

And he came towards a valley, through which ran a river; and the borders of the valley were wooded, and on each side of the river were level meadows. And on one side of the river he saw a flock of white sheep, and on the other a flock of black sheep. And whenever one of the white sheep bleated, one of the black sheep would cross over and become white; and when one of the black sheep bleated, one of the white sheep would cross over and become black

Peredur the son of Evrawk, from the Mabinogion

At time t = 0 there is a herd of sheep each of which is black or white. At each time t = 1, 2, ... a sheep is selected at random, and a sheep of the opposite color (if one exists) is changed to be the same color as the selected sheep. At any time one may remove as many sheep (of either color) as one wishes from the herd. The problem is to do this in such a way as to maximize the expected final number of black sheep.

The optimal solution at each step to remove just enough white sheep so that there are more black sheep than white sheep.

References

This article is issued from Wikipedia - version of the Thursday, September 25, 2014. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.