Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

differential_evolution: improve callback #6907

Closed
wants to merge 1 commit into from

Conversation

ZacDiggum
Copy link

exposes func_val, nfev, nit and population to the user-provided callback function in order to create custom terminators

@dlax
Copy link
Member

dlax commented Dec 31, 2016

As discussed in #6878, I don't think this is the best way to go. We should instead expose an API for the user to control solver iteration.

@dlax dlax added needs-decision Items that need further discussion before they are merged or closed scipy.optimize labels Dec 31, 2016
@mdhaber
Copy link
Contributor

mdhaber commented Oct 8, 2022

Based on discussion in the issue gh-6878, it sounds like this is not the preferred approach. Since this has been inactive for a while and there are merge conflicts, I'll go ahead and close it, but feel free to re-open if you're interested in finishing it up (adding tests and documentation). I would also be more comfortable if this were to use features of the inspect module to do the introspection.

@mdhaber mdhaber closed this Oct 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-decision Items that need further discussion before they are merged or closed scipy.optimize
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants