Browse Source

Remove add of surrogate model during local search

Jérôme BUISINE 3 years ago
parent
commit
75bfebb06b
1 changed files with 0 additions and 2 deletions
  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)