AssertionError: Invalid progress was set by the TerminationCriterion #533
-
Hi Julian, I see this error after 2 iterations and 90 evaluations for a 4-objective, 32-solution-varialbe (integers) problem, and I didn't see it last time with the same termination and minimize loop code. Looking at calss DefaultTermination:
It seems something to do the criterion.update method, but I don't know why self.f, etc. has an update method.
Here are the error messages:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
A quick update, this error seems to be caused by objective values as np.nan, I have modified the _evaluate method to avoid it, will see if this problem still occurs, thanks. |
Beta Was this translation helpful? Give feedback.
-
Great you could resolve. Please next time also post code to reproduce your error (with a test problem and not your whole application if possible). |
Beta Was this translation helpful? Give feedback.
A quick update, this error seems to be caused by objective values as np.nan, I have modified the _evaluate method to avoid it, will see if this problem still occurs, thanks.