code: def ccmod_class_label_lookup(label):
      
  
      clsmod = {'ism': admm_ccmod.ConvCnstrMOD_IterSM,
                'cg': admm_ccmod.ConvCnstrMOD_CG,
                'cns': admm_ccmod.ConvCnstrMOD_Consensus,
                'fista': fista_ccmod.ConvCnstrMOD}
      if label in clsmod:
          return clsmod[label]
      else:
          raise ValueError('Unknown ConvCnstrMOD solver method %s' % label)
docs: Get a CCMOD class from a label string.