#NEWLINE# def _get_G( k_params ) : #NEWLINE# #INDENT# '\n    The linear inequality constraint matrix.\n    ' #NEWLINE# I = np . eye ( k_params ) #NEWLINE# A = np . concatenate ( ( ( - I ) , ( - C ) ) , axis = 1 ) #NEWLINE# B = np . concatenate ( ( I , ( - I ) ) , axis = 1 ) #NEWLINE# C = np . concatenate ( ( A , B ) , axis = 0 ) #NEWLINE# return matrix ( C )