-
I am trying for a simple GA script, where in I do see that the X values converge to the ideal, even the F values reach the minimum (verbose = True and printing X values via evaluate function from my problem class), and yet the program just keeps on running without actually printing res.X and res.F. What could be potential reasons for it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
If it is a simple example please provide the source code so that we know what you are talking about. Are you using the Callback to print the values? https://pymoo.org/interface/callback.html |
Beta Was this translation helpful? Give feedback.
just use
algorithm.opt.get("X")
andalgorithm.opt.get("F")
. You can use the methods an ANY algorithm object (not only in callback)