[Ipopt] Overriding ConvergenceCheck from a User Application

Stefan Vigerske stefan at math.hu-berlin.de
Wed Feb 15 17:16:22 EST 2012


> Is there a facility within Ipopt to to employ a custom ConvergenceCheck
> subclass from a user application? I can always add a custom version to the
> Ipopt source and rebuild Ipopt, but this involves distributing a patch to
> all users of the custom version, which is a bit cumbersome.

The TNLP has a routine intermediate_callback that is called at every 
iteration. You could implement some checks there and tell Ipopt to stop.

Regarding the compressed row or column format, I think there is no such 
interface. But converting from one to the other should be very simple, 
since you need to adapt only one of the three arrays.

> Thank you for your advice!
> Best regards,
> Breannan Smith
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt

More information about the Ipopt mailing list