docstr: Instantiates an AxClient for the branin experiment with the specified
  global stopping strategy.
docstr_tok: ["Instantiates","an","AxClient","for","the","branin","experiment","with","the","specified","global","stopping","strategy","."]
code: def get_ax_client_for_branin(
      self,
      global_stopping_strategy: BaseGlobalStoppingStrategy,
  ) -> AxClient:
      """
      Instantiates an AxClient for the branin experiment with the specified
      global stopping strategy.
      """
      ax_client = AxClient(
          global_stopping_strategy=global_stopping_strategy
      )
      ax_client.create_experiment(
          name="branin_test_experiment",
          parameters=[
              {
                  "name": "x1",
                  "type": "range",
                  "bounds": [-5.0, 10.0],
              },
              {
                  "name": "x2",
                  "type": "range",
                  "bounds": [0.0, 15.0],
              },
          ],
          objective_name="branin",
          minimize=True,
      )
      return ax_client
  
file_path: Ax/ax/service/tests/test_global_stopping.py
imports: from typing import Dict, Tuple
  import numpy
  from ax.core.types import TParameterization
  from ax.exceptions.core import OptimizationShouldStop
  from ax.global_stopping.strategies.base import BaseGlobalStoppingStrategy
  from ax.service.ax_client import AxClient
  from ax.utils.common.testutils import TestCase
  from ax.utils.measurement.synthetic_functions import branin
  from ax.utils.testing.core_stubs import DummyGlobalStoppingStrategy
label_desc: Use image node_id 1 for calling the TestGlobalStoppingIntegration obj's underlying member method code with example usage: obj.get_ax_client_for_branin(global_stopping_strategy) and returns: ax_client