"Alex R. Mosteo" <devnull@mailinator.comwrote in message
news:4m2p2nF484mkU3@individual.net
Michael Harrington wrote:
>
>Greetings,
>>
>At the moment I am working on finding an optimal cover
>for L(21,6,4,4) ie There are 21 balls in a barrel, 6 are
>drawn and I need a set of pick 4's that will deliver at least
>one hit of 4 no matter which of the six numbers are drawn.
>>
>I have developed a program that can solve this in about
>900 lines (ie 900 pick fours). In the initial stages it tries to
>avoid pick fours that have common internal combinations
>of three with other picks. this method is exhausted
>the program uses a "greedy" method to complete the cover.
>>
>Simmulated Annealing and or Tabu Search are said to be
>the preferred methods for these type of problems. I have
>done extensive web searches but cannot find a site which
>explains these techniques in a manner that I can understand.
>
The wikipedia entries are not very detailed but easy to understand. It may
get you started:
>
>Anyone out there with sufficient understanding of
>SA and Tabu who could apply the techniques to my problem?
>A detailed algorithm would be sufficient, I will do the coding
>in Vb6 or C
>>
>Regards Michael Harrington.
>
Thanks Alex, that is a promising link.
My first major hurdle is understanding the
concept of "neighboring solution" My intitial
solution is a list of 900 pick 4's. What would
be a neighboring solution to this be? Would
it be the random tweaking of just one of the
900 elements, provided this "tweak" still
provided 100% cover?
TIA Mick.