I am trying to solve a system of linear equations where the variables take binary values
import numpy as np
import numpy.linalg as LA
import scipy.optimize as optimize
A = np.array([[1/5, 1/2, 1/3], [1/4, 1/5, 1/6], [1/6, 2/9, 3/10]])
b = np.array([1, 1, 1])
x = LA.solve(A, b)
My matrix A has around 400 columns and 3000 rows. Just posted few columns due to space constraint. My output vector is always 1. All my variables can take only binary values - 0 or 1