-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Addresses issue gh-2063 (currently closed, but unresolved). It adds the callback function to the COBYLA optimizer in `minimize`. I fully realize that in the COBYLA algorithm, each iteration is just a single function evaluation, and that the user is free to do whatever they want to in terms of callback behavior in that function. However, currently the implementation of how the callback argument is handled is just inconsistent between COBYLA and the other methods. Furthermore, a user may want to separate their objective function from the callback. This PR simply brings the COBYLA method in line with all the other methods. Co-authored-by: Daniël de Vries <danieldevries6@gmail.com>
- Loading branch information
1 parent
2461f2b
commit 2fc2458
Showing
6 changed files
with
53 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters