#NEWLINE# def add_model( self , model ) : #NEWLINE# #INDENT# '\n        Add an MNLDiscreteChoiceModel instance.\n\n        Parameters\n        ----------\n        model : MNLDiscreteChoiceModel\n            Should have a ``.name`` attribute matching one of the segments\n            in the choosers table.\n\n        ' #NEWLINE# logger . debug ( 'adding model {} to LCM group {}' . format ( model . name , self . name ) ) #NEWLINE# self . models [ model . name ] = self