-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default progress function does not show iteration 0 #100
Comments
… computed, other values of interest now show, ref #100
The reason for not showing the f-value at iteration 0 is that it is not computed. However, this is preventing showing other values, such as fevals and initial sigma, which is useful in plots. Solution here is to show a NaN (not a number) value instead of nothing. This saves a call to the objective function while allowing other values to be printed out. It also fixes a potential crash in CMASolution::best_candidate() function on iteration 0. There could be an option to compute the initial value of f and report it instead of NaN. |
Example output with iteration 0:
|
… computed, other values of interest now show, ref CMA-ES#100
…ber of column even when eigenvalues are not yet available, ref CMA-ES#100, CMA-ES#107
The first iteration and f-value is not shown.
The text was updated successfully, but these errors were encountered: