def reset(
            self, 
            data: bool = True,
        ) -> None:
        """
        Reset the value of objective(s), inequality constraint(s), equality 
        constraint(s), their first and second derivatives, the constraint 
        violation, and the metadata to empty values.

        Parameters
        ----------
        data : bool
            Whether to reset metadata associated with the ``Individiual``.
        """
        # create an empty array to share
        empty = np.array([])

        # design variables
        self._X = empty

        # objectives and constraint values
        self._F = empty
        self._G = empty
        self._H = empty

        # first order derivation
        self._dF = empty
        self._dG = empty
        self._dH = empty

        # second order derivation
        self._ddF = empty
        self._ddG = empty
        self._ddH = empty

        # if the constraint violation value to be used
        self._CV = None

        if data:
            self.data = {}

        # a set storing what has been evaluated
        self.evaluated = set()

        Reset the value of objective(s), inequality constraint(s), equality 
        constraint(s), their first and second derivatives, the constraint 
        violation, and the metadata to empty values.

        Parameters
        ----------
        data : bool
            Whether to reset metadata associated with the ``Individiual``.
        
pymoo/core/individual.py