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

Support "OutputFcn" option in MATLAB interface #168

Open
Arrowstar opened this issue Feb 27, 2024 · 2 comments
Open

Support "OutputFcn" option in MATLAB interface #168

Arrowstar opened this issue Feb 27, 2024 · 2 comments
Labels
enhancement New feature or request matlab Issues related to the MATLAB interface or implementation

Comments

@Arrowstar
Copy link

The "OutputFcn" option in MATLAB's fmincon allows the user to specify a callback function that is called at the end of each iteration (as well as prior to optimization start and after optimization end). Please support this functionality in the MATLAB interface of the solver. Thank you!

@zaikunzhang
Copy link
Member

zaikunzhang commented Feb 27, 2024

Thank you for raising this @Arrowstar. Something similar has been on my mind. Since the Fortran backend supports a callback function, the MATLAB interface should support one as well. I will try to find someone to do it.

@zaikunzhang zaikunzhang added enhancement New feature or request matlab Issues related to the MATLAB interface or implementation labels Feb 27, 2024
@Arrowstar
Copy link
Author

Thank you! A callback function is critical to and required for my application, and I can't implement PRIMA into it without it. I appreciate it all the effort you've put into this project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request matlab Issues related to the MATLAB interface or implementation
Projects
None yet
Development

No branches or pull requests

2 participants