Given a 0-1 matrix $A$, is there an efficient way to find all 0-1 vectors $x$ such that $Ax = v$ where the entries of $v$ belong to a set $\{a,b\} \subseteq \mathbb{Z}$ of size $2$? Note that $v$ is not a fixed vector, it can vary over all $2^n$ vectors where $n$ is the dimension.
Of course, I require something which would be more efficient than going through all the $2^n$ possible values for $v$ where $n$ is the length of vector $v$ and doing Gaussian elimination each time. Is there something more efficient than that?
Edit: The motivation comes from the following problem. Given a $k$-uniform family $F$ of subsets of $[n] := \{1,\ldots,n\}$ determine all subsets of $[n]$ that intersect each member of $F$ in $1$ or $k$ points. For $k = 3$ this can be done easily by computing the nullspace of the incidence matrix over $GF(2)$ since a subset intersects a member of $F$ in $1$ or $3$ points if and only if its complement intersects that member in $0$ or $2$ points. I was wondering if there are similar approaches for other values of $k$. It doesn't look like the trick generalises to larger $k$.
Moreover, the techniques discussed there are for solving the equation over Z_2, which is not the case here.
– Anurag May 09 '14 at 12:10