[Ipopt] re-use AmplTNLP

Ali Baharev ali.baharev at gmail.com
Tue May 26 11:18:25 EDT 2009

Dear Andreas,

Thanks for the detailed answer. The only thing i could not figure out
is the following.

How can i retrieve the optimal solution / minimizer for constraint
violation without changing the code of the AmplTNLP class or writing a
new class?

The Lastx_component of the asl structure seems OK but i do not know
for sure if the Lastx_ is indeed the optimal solution / minimizer for
constraint violation.


 Although i posted this question to the AMPL mailing list, i guess it
rather depends on the solver not on the AMPL executable.

Many thanks,


More information about the Ipopt mailing list