[Ipopt] intermediate_callback

Dominik Skanda dominik.skanda at web.de
Thu Nov 27 14:41:55 EST 2008


Thanks a lot, its working now!!!
Dominik



> -----Ursprüngliche Nachricht-----
> Von: "Stefan Vigerske" <stefan at vigerske.de>
> Gesendet: 27.11.08 17:22:45
> An:   ipopt mailing list <ipopt at list.coin-or.org>
> Betreff: Re: [Ipopt] intermediate_callback


> Hi,
> 
> > I have inserted your example code in mine and now I get this Error Message "Fehler: »OrigIpoptNLP« wurde in diesem Gültigkeitsbereich nicht definiert" (in English: »OrigIpoptNLP« was not defined in this region ) so I searched in the internet and found that this class is defined in IpOrigIpoptNLP.hpp, so I put "#include <IpOrigIpoptNLP.hpp>" in my code, but now I get a second error message that the compiler doen't find that hpp. So I looked at my IpOPT folder and didn't found the file. So I'm a little stranded! Has IpOPT changed ? Do you know what to do?
> 
> OK, here are the additional include files you need:
> includecoin_HEADERS = \
>   $(IPOPTSRCDIR)/src/Algorithm/IpIpoptCalculatedQuantities.hpp \
>   $(IPOPTSRCDIR)/src/Algorithm/IpIpoptNLP.hpp \
>   $(IPOPTSRCDIR)/src/Algorithm/IpNLPScaling.hpp \
>   $(IPOPTSRCDIR)/src/LinAlg/IpScaledMatrix.hpp \
>   $(IPOPTSRCDIR)/src/LinAlg/IpSymScaledMatrix.hpp \
>   $(IPOPTSRCDIR)/src/Algorithm/IpIpoptData.hpp \
>   $(IPOPTSRCDIR)/src/Algorithm/IpIteratesVector.hpp \
>   $(IPOPTSRCDIR)/src/LinAlg/IpCompoundVector.hpp \
>   $(IPOPTSRCDIR)/src/Algorithm/IpTimingStatistics.hpp \
>   $(IPOPTSRCDIR)/src/Interfaces/IpTNLPAdapter.hpp \
>   $(IPOPTSRCDIR)/src/Algorithm/IpOrigIpoptNLP.hpp
> 
> They do not get installed when you do a make install, so you need to
> copy them from the Ipopt source directory
> 
> In my program, I have the following include statements:
> #include "IpIpoptCalculatedQuantities.hpp"
> #include "IpTNLPAdapter.hpp"
> #include "IpOrigIpoptNLP.hpp"
> 
> Stefan
> 


_________________________________________________________________________
Sensationsangebot nur bis 30.11: WEB.DE FreeDSL - Telefonanschluss + DSL 
für nur 16,37 Euro/mtl.!* http://dsl.web.de/?ac=OM.AD.AD008K13805B7069a




More information about the Ipopt mailing list