I am wondering if this is a common computer science problem and is there any polynomial workaround or approximation
Suppose I have a list X consisting of true and false values
X = [True, False, True, False, True...True]
I also have a set of other lists that are the same length as X, with true and false values
A = [False, True, True, True, True, False .... False] B = [False, False, True, False, True, False .... False] ...etc
Now I want to find the “sum” of these other lists (which applies the bitwise OR operator to each element, i.e. F + F = F, F + T = T, T + T = T), which is best to explain the observations that are visible in list X (I can imagine a scoring system that gives some score for a match and a penalty for inconsistency in the decision), and since there can be many possible solutions, I want to impose a penalty on the algorithm for more lists that it uses in its decision.
source share