code: def test_mvo_update():
      def square(x):
          return np.sum(x**2)
  
      new_mvo = mvo.MVO()
  
      search_space = search.SearchSpace(
          n_agents=2,
          n_variables=2,
          lower_bound=[1, 1],
          upper_bound=[10, 10],
      )
  
      new_mvo.update(search_space, square, 1, 10)
      new_mvo.update(search_space, square, 5, 10)
  
imports: import numpy
  from opytimizer.optimizers.science import mvo
  from opytimizer.spaces import search
label_desc: Use image node_id 3 for calling a global function with example usage: test_mvo_update() and returns: np