Hi,
I am trying to make all the combinations of the list below, given a certain criteria
List (Input)
<tbody>
</tbody>
Output
<tbody>
</tbody>
And give the condition above, these would not be valid outputs:
<tbody>
</tbody>
Many thanks in advance! Please let me know if this is not clear!
Best,
anao_
I am trying to make all the combinations of the list below, given a certain criteria
List (Input)
<tbody> </tbody> | ||||||||||||||||||
The ouputs should be all the potential combinations from 1 production to all the 9 failing. The trick here is that I can't have combinations of any of the items in the B column (and following), if the item in the same row from the previous column is not envolved. For example, I want to exclude combinations that include B1 and do not include A1 (A2+B1 for example). The output should look like this: |
<tbody>
</tbody>
Output
Combinations of 1 | Combinations of 2 | Combinations of 3 | Combinations of ... |
A1 | A1+B1 | A1+B1+A2 | |
A2 | A1+A2 | A1+A2+A3 | |
A3 | A1+A3 | A1+A2+B2 | |
A2+B2 | ... | ||
A3+B3 |
<tbody>
</tbody>
And give the condition above, these would not be valid outputs:
Combinations of 1 | Combinations of 2 | Combinations of 3 |
B1 | A1+B2 | B1+B2+B3 |
B2 | A1+C3 | A1+B2+A3 |
B3 | ... | ... |
C3 |
<tbody>
</tbody>
Many thanks in advance! Please let me know if this is not clear!
Best,
anao_