code: def test_gh10880():
      # checks that verbose reporting works with trust-constr for
      # bound-contrained problems
      bnds = Bounds(1, 2)
      opts = {"maxiter": 1000, "verbose": 2}
      minimize(
          lambda x: x**2,
          x0=2.0,
          method="trust-constr",
          bounds=bnds,
          options=opts,
      )
  
      opts = {"maxiter": 1000, "verbose": 3}
      minimize(
          lambda x: x**2,
          x0=2.0,
          method="trust-constr",
          bounds=bnds,
          options=opts,
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_gh10880() without return types