 optimization.

        Returns
        -------
        self : returns an instance of self.
        r