MCPcopy Create free account
hub / github.com/anyoptimization/pymoo / next

Method next

pymoo/core/algorithm.py:159–171  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

157 return self._finalize()
158
159 def next(self) -> None:
160
161 # get the infill solutions
162 infills = self.infill()
163
164 # call the advance with them after evaluation
165 if infills is not None:
166 self.evaluator.eval(self.problem, infills, algorithm=self)
167 self.advance(infills=infills)
168
169 # if the algorithm does not follow the infill-advance scheme just call advance
170 else:
171 self.advance()
172
173 def _initialize(self) -> None:
174

Callers 5

runMethod · 0.95
loop.pyFile · 0.45
nrbo.pyFile · 0.45

Calls 3

infillMethod · 0.95
advanceMethod · 0.95
evalMethod · 0.45