The attached files is used to find combinations based on input.
To explain what is required we will use this in put as follows:
#Data 66, #Select 18, MatchMax 6.
The initial output looks like this.
1,2,3,4,4,6,7,8,9,10,11,12,13,14,15.16,17.18
1,2,3,4,5,6,19,20,21,22,23,24,25,26,27,28,29,30
1,2,3,4,5,6,31,32,33,34,35,36,37,38,39,40,41,42
1,2,3,4,5,6,43,44,45,46,47,[login to view URL]
1,2,3,4,5,6,55,56,57,58,59,60.61.62.63.64.65.66.
The program produces the first combination and as each subsequent combination is produced, it checks it against the output to ensure that no more than 6 (MaxMatch) numbers are in the next legit combination.
You can observed how quickly it processes the first 5 combinations.
I am not sure how the original coder did that but I would like to be able to pass that criteria to the program by using two additional textboxes and a checkbox.
For instance even after the first 5 legit entries are produced. I would like thru the use of the textboxes tell the program:
If the checkbox is set to true then
If column 4 is less than 7 do not compare these combinations against the output.
textbox1 holds the value for the column position (4) and textbox2 holds the value of the degit in the column (7).
If check box is false then compare combinations to the existing output. The objective to speed up the program by it not comparing non legit combinations to the output. Hopefully it should do this almost as quickly as it produced the first 5 combinations.
## Deliverables
Copy of file attached.