I am trying to make a python code to complete the simplex algorithm for linear optimization (this is not for a class). I am using the numpy array. I want to replace the element in the (i,j) position with its reciprocal, how do I do this.
I am trying to make a python code to complete the simplex algorithm for linear optimization (this is not for a class). I am using the numpy array. I want to replace the element in the (i,j) position with its reciprocal, how do I do this.