[Ipopt] Continuing with the portfolio optimization problem
Stefan Vigerske
stefan at math.hu-berlin.de
Thu Aug 7 05:22:05 EDT 2008
Hi,
INVALID_TNLP is an exception that you should be able to catch and have a
look into the error message.
Around your call of OptimizeTNLP, you do something like
try {
...OptimizeTNLP(...);
} catch (IpoptException e) {
std::cout << e.Message() << std::endl;
}
Maybe it gives you a hint on what Ipopt did not like on your NLP.
Good luck,
Stefan
Krish Krishnan schrieb:
> Hi All:
>
> I recoded a large part of my program (I have to use MFC and so I don't have
> access to Valgrind and other nice tools). When I start up ipopt from within my
> code (C++ interface) it calls get_nlp_info first and then get_bounds_info.
> Right after this it crashes, with the error message INVALID_TNLP at memory
> location 0x0012caa0. Even though I compiled Ipopt with the debug option, I get
> only the assembly code and I am unable to locate what the problem is. Any clues
> as to what might be happening?
>
> Thanks and regards
> Krish
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
--
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan
More information about the Ipopt
mailing list