Skip to content

ENH: add best cost function evaluation to differential evolution callback #19612

@FlorianPix

Description

@FlorianPix

Is your feature request related to a problem? Please describe.

During the optimization progress I'd like to monitor the improvement of the cost function.

Describe the solution you'd like.

Add the cost of the best candidate so far as a parameter to the callback.

Describe alternatives you've considered.

Print out or overwriting a global variable in the cost function.

Additional context (e.g. screenshots, GIFs)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions