code: def _get_G(k_params):
      """
      The linear inequality constraint matrix.
      """
      from cvxopt import matrix
  
      I = np.eye(k_params)  # noqa:E741
      A = np.concatenate((-I, -I), axis=1)
      B = np.concatenate((I, -I), axis=1)
      C = np.concatenate((A, B), axis=0)
      # Return
      return matrix(C)
  
imports: import numpy
  import statsmodels.base.l1_solvers_common
label_desc: Use image node_id 4 for calling a global function with example usage: _get_G(k_params) and returns: matrix