def __init__(self, job_resources: dict = {'num_cpus': 1}) -> None:
        """
        Parameters
        ----------
        job_resources: A resource in Ray is a key-value pair where the key denotes a 
            resource name and the value is a float quantity. Ray has native support for CPU,
            GPU, and memory resource types; `'num_cpus'`, `'num_gpus'`, and `'memory'`.
            Read more here: 
            https://docs.ray.io/en/latest/ray-core/scheduling/resources.html.
        """
        assert ray is not None, (
            "Ray must be installed! "
            "You can install Ray with the command: "
            '`pip install -U "ray[default]"`'
        )
        super().__init__()
        self.job_resources = job_resources

        Parameters
        ----------
        job_resources: A resource in Ray is a key-value pair where the key denotes a 
            resource name and the value is a float quantity. Ray has native support for CPU,
            GPU, and memory resource types; `'num_cpus'`, `'num_gpus'`, and `'memory'`.
            Read more here: 
            https://docs.ray.io/en/latest/ray-core/scheduling/resources.html.
        
pymoo/core/problem.py