def get_config_title(config):
    """Turn configuration into a title (for a matplotlib figure)"""
    problem_str = config["problem_cls"].__name__
    optimizer_str = config["optimizer_cls"].__name__

    return f"{problem_str} ({optimizer_str})"