input: Write a function to implement the objective function optimization using the scipy.optimize.minimize function. Define the objective function and the optimization problem inside the function. Return the optimized values of the variables.
  
  assert optimize()==[0, 0, 0]  # example assertion
  assert optimize()==[1, 2, 3]  # example assertion
  assert optimize()==[-1, -2, -3]  # example assertion
  assert optimize()==[0.5, 0.5, 0.5]  # example assertion
  assert optimize()==[0.1, 0.2, 0.3]  # example assertion
output: def optimize():
      from scipy.optimize import minimize
      
      def objective(x):
          return x[0]**2 + x[1]**2 + x[2]**2
      
      initial_guess = [1, 1, 1]
      result = minimize(objective, initial_guess)
      
      return result.x