You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ea = EA(problem, max_generations= 20)
final_pop = ea.run()
I optimized the model using the above codes and found that it doesn't stop after the maximum number of iterations. The result of the 20th iteration has already been printed.
The text was updated successfully, but these errors were encountered:
After the optimization, MEWpy tries to simplify the final solutions by
removing modifications that do not contribute to the solution performance.
If you want to skip the simplification step add the option:
final_pop = ea.run(*simplify=False*)
Vítor Pereira
On Mon, Dec 9, 2024 at 8:50 AM WILLIAMWEITHU ***@***.***> wrote:
from mewpy.optimization import EA
import warnings warnings.filterwarnings("ignore")
ea = EA(problem, max_generations= 20)
final_pop = ea.run()
I optimized the model using the above codes and found that it doesn't stop
after the maximum number of iterations. The result of the 20th iteration
has already been printed.
—
Reply to this email directly, view it on GitHub
<#50>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFBG5EHQIIN54H2IQ3GJMRL2EVKU5AVCNFSM6AAAAABTIJ5IUSVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4ZDMMZZGI4DCNA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
from mewpy.optimization import EA
import warnings
warnings.filterwarnings("ignore")
ea = EA(problem, max_generations= 20)
final_pop = ea.run()
I optimized the model using the above codes and found that it doesn't stop after the maximum number of iterations. The result of the 20th iteration has already been printed.
The text was updated successfully, but these errors were encountered: