I have a 400x132 rectangular matrix with only 0 and 1. I am looking for the linear combinations of the columns of the matrix that sum to 0. For example C1 + C2 - C3 = 0.
I want to find the linear combinations with as few columns as possible. So for example, I don't want to find the 2 combinations: C1 + C2 - C4 = 0 and C1 + C2 -C4 - C5 + C6 = 0, but I want to find C1 + C2 - C4 = 0 and - C5 + C6 = 0.
I can calculate easily all linear combination (I use SVD to find a base of the kernel of the matrix). However, the results do not satisfy my constraints of having as many 0 as possible.
Does any one know a method to do this?
Thanks!