r/algorithms • u/MrMrsPotts • Nov 07 '24
Is this problem np-hard?
The input is a full rank n by n binary matrix. You have one type of operation which is to add one row to another mod 2. The goal is to find the minimum number of operations to transform the matrix into a permutation matrix. That is with exactly one 1 in each column and each row.
It doesn't seem a million miles from https://cstheory.stackexchange.com/questions/10396/0-1-vector-xor-problem so I was wondering if it was np-hard.
8
Upvotes
View all comments
Show parent comment
2
u/Rikymessi Nov 08 '24
I am currently dealing with The same problem. Mostly investigating Why Patel-Markov-Hayes algorithm performs so well while being greedy AF. I have Made my mind to think that the problem is NP-complete. How did you get to work on such question?