(self)
| 171 | self.advance() |
| 172 | |
| 173 | def _initialize(self) -> None: |
| 174 | |
| 175 | # the time starts whenever this method is called |
| 176 | self.start_time = time.time() |
| 177 | |
| 178 | # set the attribute for the optimization method to start |
| 179 | self.n_iter = 1 |
| 180 | self.pop = Population.empty() |
| 181 | self.opt = None |
| 182 | |
| 183 | def infill(self) -> Population | None: |
| 184 | if self.problem is None: |