I have multiple lists of variables. Every list contains the variables corresponding to a single/unique entity.
listVar_Entity1 = [x1, x2, x3, x4] listVar_Entity2 = [x5, x6, x7] listVar_Entity3 = [x8, x9, x10, x11, x12] # and so on
Every member in a list has a mapping to each member of every other list for example:
mapping(x1,x9) = some_value
but there is no relation between variables within a list. I want to find the combination of members of different lists such that the addition of mapping between those variable is maximized assuming mapping(x1, x9) = mapping(x9, x1).
Please help me writing this algorithm.