intermediate_callback on StdInterfaceTNLP
|Reported by:||rafael||Owned by:||ipopt-team|
It should be nice to have the TNLP::intermediate_callback implemented on StdInterfaceTNLP.
Then, this callback could be replicated on std C interface or even F interface.
It is easy to implement, but there are at least two ways:
- It should be added as an additional argument on the StdInterfaceTNLP constructor (this will break source compatibility with old implementations).
- Create an additional method like setIntermediateCallBack(), this will keep it source compatible.
I could produce a patch with it if you want.