|
@@ -158,14 +158,14 @@ class ILSSurrogate(Algorithm):
|
|
self.add_to_surrogate(newSolution)
|
|
self.add_to_surrogate(newSolution)
|
|
|
|
|
|
self.increaseEvaluation()
|
|
self.increaseEvaluation()
|
|
-
|
|
|
|
- # train surrogate on real evaluated solutions file
|
|
|
|
- self.train_surrogate()
|
|
|
|
- self.load_surrogate()
|
|
|
|
|
|
|
|
# initialize current solution
|
|
# initialize current solution
|
|
self.initRun()
|
|
self.initRun()
|
|
|
|
|
|
|
|
+ # train surrogate on real evaluated solutions file
|
|
|
|
+ self.train_surrogate()
|
|
|
|
+ self.load_surrogate()
|
|
|
|
+
|
|
# local search algorithm implementation
|
|
# local search algorithm implementation
|
|
while not self.stop():
|
|
while not self.stop():
|
|
|
|
|