I\'m trying to add constraints to a mathematical model iteratively with Scipy using lambda function as below:
cons = [] for i in range(3): a = lambda x: np.a