coin-or / Ipopt

COIN-OR Interior Point Optimizer IPOPT
https://coin-or.github.io/Ipopt
Other
1.43k stars 284 forks source link

output function ipopt #284

Closed svigerske closed 5 years ago

svigerske commented 5 years ago

Issue created by migration from Trac.

Original creator: alexho

Original creation time: 2017-06-30 08:21:58

Assignee: ipopt-team

Version: 3.12

Hello,

I use the MatLab interface for the ipopt implementation. Normally I use MatLabs built-in fmincon function, where one can specify a output function to be called for each new iterate. Is this type of functionality available for ipopt as well, and if so how is it called?

Thanks, Alex.

svigerske commented 5 years ago

Comment by @svigerske created at 2017-06-30 09:44:16

Hi,

that is probably the iterfunc callback, which is shown in example hs038: https://projects.coin-or.org/Ipopt/browser/trunk/Ipopt/contrib/MatlabInterface/examples/examplehs038.m#L24

Stefan

svigerske commented 5 years ago

Comment by @svigerske created at 2017-06-30 09:44:16

Resolution: fixed

svigerske commented 5 years ago

Comment by @svigerske created at 2017-06-30 09:44:16

Changing type from defect to clarification.

svigerske commented 5 years ago

Comment by alexho created at 2017-07-05 08:41:08

Yes it worked very well

Thank you!