from typing import Tuple


def get_objectives(config: dict) -> Tuple[dict, dict]:
    """Get the parameters of the objectives specified in config

    Parameters
    ----------
    config : dict
        Parameters as loaded by utils.get_config

    Returns
    -------
    Tuple[dict, dict]
        Parameters (min and max age) for each residential population objective, and
        names (keys) and longer descriptions (values) for all objectives.
    """
    population_groups = config["objectives"]["population_groups"]
    all_groups = dict(population_groups)
    all_groups["workplace"] = config["objectives"]["workplace"]
    return population_groups, all_groups