Skip to content

The run of EA don't stop #50

@thuwilliamwyx

Description

@thuwilliamwyx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions