def _get_current_optimal_value(all_cases_json, case_id, graph_id, optimizer_run_id):
    """Extracts an optimal value from a given workflow run ID."""
    return all_cases_json[case_id]['optimization-results-aggregated'][str(graph_id)][
        str(optimizer_run_id)][
        "opt_value"][
        "value"]