|
|
Line 1: |
Line 1: |
| {{Orphan|date=May 2012}}
| | I would like to introduce myself to you, I am Jayson Simcox but I don't like when individuals use my complete title. To climb is something I truly enjoy doing. Distributing production is where my primary earnings comes from and it's something I really enjoy. Some time in the past she chose to live in Alaska and her parents reside close by.<br><br>Also visit my weblog - [http://srncomm.com/blog/2014/08/25/relieve-that-stress-find-a-new-hobby/ phone psychic] |
| | |
| {{Refimprove|date=November 2008}}
| |
| In [[operations research]], the '''glove problem'''<ref>{{MathWorld|title=Glove Problem|id=GloveProblem}}</ref> (also known as the '''condom problem'''<ref>Vardi, I. The Condom Problem. Ch. 10 in ''Computational Recreations in Mathematica''. Redwood City, CA: Addison–Wesley, pp. 203–222, 1991. ISBN 0-201-52989-0.</ref>) is an [[optimization problem]] used as an example that the cheapest capital cost often leads to dramatic increase in operational time, but that the shortest operational time need not be given by the most expensive capital cost.<ref>{{cite book |first=A. |last=Hajnal |authorlink=András Hajnal |first2=L. |last2=Lovász |authorlink2=László Lovász |chapter=An Algorithm to Prevent the Propagation of Certain Diseases at Minimum Cost |title=Interfaces between Computer Science and Operations Research |editor=[[J. K. Lenstra]], [[Alexander Rinnooy Kan|A. H. G. Rinnooy Kan]], P. van Emde Boas |publisher=[[Mathematisch Centrum]] |year=1978}}</ref>
| |
| | |
| ==Problem statement==
| |
| ''M'' doctors are each to examine each of ''N'' patients, wearing [[glove]]s to avoid contamination. Each glove can be used any number of times, but the same side of one glove cannot be exposed to more than one person. Gloves can be re-used any number of times, and more than one can be used simultaneously.
| |
| | |
| Given ''M'' doctors and ''N'' patients, the minimum number of gloves ''G''(''M'' ,''N'') required for all the doctors to examine all the patients is given by:
| |
| | |
| * ''G''(''M'', ''N'') = ''M'' + ''N'' − 2 if both ''M'', ''N'' ≥ 2
| |
| * ''G''(''M'', 1) = ''M''
| |
| * ''G''(1, ''N'') = ''N''
| |
| * ''G''(1, 1) = 1
| |
| | |
| ==Details==
| |
| A naive approach would be to estimate the number of gloves as simply ''G''(''M'', ''N'') = ''MN''. But this number can be significantly reduced by exploiting the fact that each glove has two sides, and it is not necessary to use both sides simultaneously.
| |
| | |
| A better solution can be found by assigning each person his or her own glove, which is to be used for the entire operation. Every pairwise encounter is then protected by a double layer. Note that the outer surface of the doctors's gloves meets only the inner surface of the patients's gloves. This gives an answer of ''M'' + ''N'' gloves, which is significantly lower than ''MN''.
| |
| | |
| The [[makespan]] with this scheme is ''K'' · max(''M'', ''N''), where ''K'' is the duration of one pairwise encounter. Note that this is exactly the same makespan if MN gloves were used. Clearly in this case, increasing capital cost has not produced a shorter operation time.
| |
| | |
| The number ''G''(''M'', ''N'') may be refined further by allowing asymmetry in the initial distribution of gloves. The best scheme is given by:
| |
| | |
| *Doctor # 1 wears ''N'' gloves, layered one on top of another. He visits the ''N'' patients in turn, leaving the outermost glove behind with each.
| |
| *Doctors # 2 to (''M'' − 1) wear one glove each, and follow the double-layered protocol at each interaction, as described above.
| |
| *Doctor # ''M'' doesn't wear one of his own, but he visits all the ''N'' patients, collecting their gloves in turn and turning it into a multilayered glove progressively. Note that in his first encounter, he uses only the untouched inside of Patient # 1's glove, so it's still safe.
| |
| | |
| This scheme uses (1 · ''N'') + ((''M'' − 1 − 1) · 1) + (1 · 0) = ''M'' + ''N'' − 2 gloves. This number cannot be reduced further.
| |
| | |
| The makespan is then given by:
| |
| * ''N'' serial interactions to plant the gloves.
| |
| * max(''M'' − 2, ''N'') parallelized interactions for intermediate stage.
| |
| * ''N'' serial interactions to collect the gloves.
| |
| | |
| Makespan: ''K'' · (2''N'' + max(''M'' − 2, ''N'')).
| |
| | |
| Clearly, the minimum ''G''(''M'', ''N'') increases the makespan significantly, sometimes by a factor of 3. Note that the benefit in the number of gloves is only 2 units.
| |
| | |
| One or the other solution may be preferred depending on the relative cost of a glove judged against the longer operation time. In theory, the intermediate solution with (''M'' + ''N'' − 1) should also occur as a candidate solution, but this requires such narrow windows on ''M'', ''N'' and the cost parameters to be optimal that it is often ignored.
| |
| | |
| ==Other factors==
| |
| The statement of the problem does not make it clear that the principle of contagion applies, i.e. if the inside of one glove has been touched by the outside of another that previously touched some person, then that inside also counts as touched by that person.
| |
| | |
| Also, [[medical glove]]s are reversible; therefore a better solution exists, which uses | |
| | |
| : <math>\min\left(\lceil M/2\rceil+N, M+\lceil N/2\rceil\right) </math> | |
| | |
| gloves where the less numerous group are equipped with a glove each, the more numerous in pairs. The first of each pair use a clean interface, the second reverse the glove.{{Or|section|date=May 2012}}
| |
| | |
| ==References==
| |
| {{reflist}}
| |
| | |
| {{DEFAULTSORT:Safe Sex Makespan}}
| |
| [[Category:Operations research]]
| |
I would like to introduce myself to you, I am Jayson Simcox but I don't like when individuals use my complete title. To climb is something I truly enjoy doing. Distributing production is where my primary earnings comes from and it's something I really enjoy. Some time in the past she chose to live in Alaska and her parents reside close by.
Also visit my weblog - phone psychic