浏览代码

Remove add of surrogate model during local search

Jérôme BUISINE 3 年之前
父节点
当前提交
75bfebb06b
共有 1 个文件被更改,包括 0 次插入2 次删除
  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)