Browse Source

Add parent algorithm

Jérôme BUISINE 4 months ago
parent
commit
a6d80d5af8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      optimization/ILSPopNoSurrogate.py

+ 1 - 1
optimization/ILSPopNoSurrogate.py

@@ -271,7 +271,7 @@ class ILSPopSurrogate(Algorithm):
                             ls_policy,
                             self.validator,
                             self._maximise,
-                            parent=None,
+                            parent=self,
                             verbose=False)
 
                 ls.addCallback(UCBCheckpoint(every=1, filepath=self._inter_policy_ls_file))