prima icon indicating copy to clipboard operation
prima copied to clipboard

Support "OutputFcn" option in MATLAB interface

Open Arrowstar opened this issue 2 years ago • 2 comments

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!

Arrowstar avatar Feb 27 '24 20:02 Arrowstar

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 avatar Feb 27 '24 23:02 zaikunzhang

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!

Arrowstar avatar Feb 28 '24 14:02 Arrowstar