parameters: (self, **kwargs)
docstring: Perform optimization with :func:`~moe.optimal_learning.python.interfaces.optimization_interface._ScipyOptimizerWrapper._optimize_core` and shape the output point.
  
          Calls the :func:`~moe.optimal_learning.python.interfaces.optimization_interface._ScipyOptimizerWrapper._optimize_core` method.
          ``objective_function.current_point`` will be set to the optimal point found.
docstring_summary: Perform optimization with :func:`~moe.optimal_learning.python.interfaces.optimization_interface._ScipyOptimizerWrapper._optimize_core` and shape the output point.
docstring_tokens: Perform optimization with : func : ~moe . optimal_learning . python . interfaces . optimization_interface . _ScipyOptimizerWrapper . _optimize_core and shape the output point .
function: def optimize(self, **kwargs):
          """Perform optimization with :func:`~moe.optimal_learning.python.interfaces.optimization_interface._ScipyOptimizerWrapper._optimize_core` and shape the output point.
  
          Calls the :func:`~moe.optimal_learning.python.interfaces.optimization_interface._ScipyOptimizerWrapper._optimize_core` method.
          ``objective_function.current_point`` will be set to the optimal point found.
  
          """
          unshaped_point = self._optimize_core(**kwargs)
  
          if self._num_points == 1:
              shaped_point = unshaped_point
          else:
              shaped_point = unshaped_point.reshape(self._num_points, self.domain.dim)
          self.objective_function.current_point = shaped_point
function_tokens: def optimize ( self , * * kwargs ) : unshaped_point = self . _optimize_core ( * * kwargs ) if self . _num_points == 1 : shaped_point = unshaped_point else : shaped_point = unshaped_point . reshape ( self . _num_points , self . domain . dim ) self . objective_function . current_point = shaped_point