def _fprime_ieqcons(x_full, k_params):
 I = np.eye(k_params)
 A = np.concatenate((I, I), axis=1)
 B = np.concatenate(((- I), I), axis=1)
 C = np.concatenate((A, B), axis=0)
 return C

def _fprime_ieqcons ( x_full , k_params ) : I = np . eye ( k_params ) A = np . concatenate ( ( I , I ) , axis = 1 ) B = np . concatenate ( ( ( - I ) , I ) , axis = 1 ) C = np . concatenate ( ( A , B ) , axis = 0 ) return C
derivative of the inequality constraints .