[Ipopt] Problem in setting "max_iter" in C++ interface
Nuno Silva
pg17455 at alunos.uminho.pt
Tue Oct 9 09:17:27 EDT 2012
Greetings
I'm using the C++ interface and I'm trying to set the "max_iter" option,
but I get an exception:
"...Microsoft C++ exception: std::bad_alloc at memory location..."
Here is the surrounding code, the exception is thrown at the second line:
SmartPtr<IpoptApplication> app = IpoptApplicationFactory();
app->Options()->SetIntegerValue("max_iter", 500);
ApplicationReturnStatus status = app->Initialize();
Thanks
Nuno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20121009/2e3460a9/attachment.html>
More information about the Ipopt
mailing list