Skip to content

Dynamic stop condition #183

@yhamadi75

Description

@yhamadi75

Hi Antonio,
I’m working on a custom convergence criterion that I can compute externally (based on the solutions produced in evaluate()). Once I detect convergence, I want to stop the algorithm cleanly.

On sequential runs, try/except works, however, when using multiprocessing, it is not possible to exit the Pool cleanly.

Any guidance or examples would be much appreciated! Thanks!

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