Algorithm for finding best (or combinations of) "non-overlapping" matrix elements.
I'm looking for the best general way to find the "best" combination for a list of non-overlapping matrix elements. For example, given the matrix
AE BE CE DE
AF BF CF DF
AG BG CG DG
AH BH CH DH...