code: def nth_root(val, n):
      ret = int(val ** (1.0 / n))
      return ret + 1 if (ret + 1) ** n == val else ret
  
file_path: optunity/optunity/solvers/GridSearch.py
imports: import operator
  import itertools
  from ..functions import static_key_order
  from .solver_registry import register_solver
  from .util import Solver, _copydoc, shrink_bounds
  from .None import util
label_desc: Use image node_id 1 for calling a global function with example usage: nth_root(val, n) and returns: unknown