input: Write a function to optimize the given code by creating a Python script using AI-powered techniques. The function should take a function and its parameters, and return the optimized parameters. The output should include the sum of the optimized parameters.
  assert optimize(get_result, Params(1, 2, 3))=={'a': 11, 'b': 12, 'c': 13}
  assert optimize(get_result, Params(0, 0, 0))=={'a': 10, 'b': 10, 'c': 10}
  assert optimize(get_result, Params(-5, -5, -5))=={'a': 5, 'b': 5, 'c': 5}
  assert optimize(get_result, Params(10, 10, 10))=={'a': 20, 'b': 20, 'c': 20}
  assert optimize(get_result, Params(5, 5, 5))=={'a': 15, 'b': 15, 'c': 15}
output: def optimize(func, params):
      optimized_params = Params(params.a + 10, params.b + 10, params.c + 10)
      return {'a': optimized_params.a, 'b': optimized_params.b, 'c': optimized_params.c}