def information(self, print_level=1):
        """Print overview information about the options settings and
        statistics.

        Parameters
        ----------
        print_level : int (default=1)
            Level of details.
        """
        self._check_is_generated()

        if not isinstance(print_level, numbers.Integral) or print_level < 0:
            raise ValueError("print_level must be an integer >= 0; got {}."
                             .format(print_level))

        if self._optimizer is not None:
            solver, _ = solver_statistics("mip", self._optimizer.solver_)
            objectives = self._optimizer._objectives
            time_solver = self._time_solver
        else:
            solver = None
            objectives = None
            time_solver = 0

        time_total = self._time_fit + time_solver + self._time_postprocessing

        dict_user_options = self.get_params(deep=False)

        print_counterfactual_information(
            print_level, self._status, solver, objectives, time_total,
            self._time_fit, time_solver, self._time_postprocessing,
            dict_user_options)
Print overview information about the options settings and
        statistics.

        Parameters
        ----------
        print_level : int (default=1)
            Level of details.
        
optbinning/scorecard/counterfactual/counterfactual.py