input: from scipy.optimize import minimize 
  
  def optimize_objective_function():
      """Write a python program to optimize the given objective function.
      The objective function should be optimized using the `minimize` function from `scipy.optimize`
      with a given initial guess `x0` and method 'nelder-mead'. 
      
      Example:
      def obj_func(x):
          return x[0]**2 + x[1]**2 + x[2]**2
      
      for optimize_objective_function() == array([0., 0., 0.])
      """
output:     def obj_func(x):
          return x[0]**2 + x[1]**2 + x[2]**2
      
      x0 = [1.0, 1.0, 1.0]
      result = minimize(obj_func, x0, method='nelder-mead')
      return result.x