def METHOD_NAME(self, filename, filetype=''):
    """
    Write the model to a file (e.g., and lp file).
    Parameters
    ----------
    filename: str
        Name of the file to which the model should be written.
    filetype: str
        The file type (e.g., lp).
    """
    self._solver_model.METHOD_NAME(filename, filetype=filetype)