Explorar el Código

Remove add of surrogate model during local search

Jérôme BUISINE hace 3 años
padre
commit
75bfebb06b
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      optimization/LSSurrogate.py

+ 0 - 2
optimization/LSSurrogate.py

@@ -67,8 +67,6 @@ class LocalSearchSurrogate(Algorithm):
                 for callback in self._callbacks:
                     callback.run()
 
-                self.add_to_surrogate(newSolution)
-
                 logging.info(f"---- Current {newSolution} - SCORE {newSolution.fitness}")
 
                 # add to surrogate pool file if necessary (using ILS parent reference)