def get_constr_constant(constraints):
 constants = [get_constant(c.expr) for c in constraints]
 return np.hstack(constants)

def get_constr_constant ( constraints ) : constants = [ get_constant ( c . expr ) for c in constraints ] return np . hstack ( constants )
returns the constant term for the constraints matrix .