I have a linear problem that I want to solve but the method is quite different from normal, the problem is still Ax=b. However, in this instant I have A being unknown, apart from the fact that each entry in A can only be zero or 1. Further I have x being known and fixed, the same holds for b.
My question, is it a easy method for getting mathematica to spit out all possible A such that Ax=b given conditions on A.
I tried doing a number of for loops etc, however, I have completely given up after number of hours and the expectation that my effort is incorrect.
Tuples[]
+Partition[]
(after perhaps filtering out nonsingular candidates). $\endgroup$ – J. M.'s ennui♦ Mar 5 '19 at 12:13