jgillis edited this page Nov 6, 2012 · 6 revisions

Ipopt makes it difficult to allow callbacks on iteration. To enable it, copy all Ipopt headers you can find in the Ipopt source distribution to the Ipopt include path manually. At least these headers are required: <coin/IpIpoptData.hpp> <coin/IpOrigIpoptNLP.hpp> <coin/IpTNLPAdapter.hpp> <coin/IpDenseVector.hpp> <coin/IpExpansionMatrix.hpp>.

This snippet might be handy to achieve the copying on a linux system:

find src -name *.hpp | xargs -I '{}' cp '{}' myipoptincludedir/coin