[Bonmin] error in running bonmin

Giuseppe Aprea giuseppe.aprea at gmail.com
Sun Jun 28 17:15:56 EDT 2009


Hi,

I am using Bonmin (retrieved by svn last week) with Ipopt+ MUMPS
(unfortunately I have not received any answer from MA27 developers)
I get this error while running my MINLP.

It seems it Cannot access memory for new_x. My problem is that I
could not find anything about new_x in the documentation. I am just using
the same eval_jac_g function definition of the cpp example directory of bonmin
which works fine. Of course the values of the jacobian are different.

Does anybody have an idea about the possible error?

Core was generated by `./CppExample'.
Program terminated with signal 11, Segmentation fault.
[New process 4384]
#0  0x0804e96d in MyTMINLP::eval_jac_g (this=0x805ca38, n=3911, x=0x0,
new_x=Cannot access memory at address 0xb9652394
) at MyTMINLP.cpp:408
408                          Number* values)
(gdb) bt
#0  0x0804e96d in MyTMINLP::eval_jac_g (this=0x805ca38, n=3911, x=0x0,
new_x=Cannot access memory at address 0xb9652394
) at MyTMINLP.cpp:408
#1  0xb7ea51b6 in Bonmin::TMINLP2TNLP::eval_jac_g () from
/home/gaprea/usr/local/lib/libbonmin.so.0
#2  0xb7a9f461 in Ipopt::TNLPAdapter::GetSpaces () from
/home/gaprea/usr/local/lib/libipopt.so.0
#3  0xb7cc250f in Ipopt::OrigIpoptNLP::InitializeStructures () from
/home/gaprea/usr/local/lib/libipopt.so.0
#4  0xb7c86b9a in Ipopt::IpoptData::InitializeDataStructures () from
/home/gaprea/usr/local/lib/libipopt.so.0
#5  0xb7c2c569 in Ipopt::DefaultIterateInitializer::SetInitialIterates
() from /home/gaprea/usr/local/lib/libipopt.so.0
#6  0xb7c4e08f in Ipopt::IpoptAlgorithm::InitializeIterates () from
/home/gaprea/usr/local/lib/libipopt.so.0
#7  0xb7c4e7e7 in Ipopt::IpoptAlgorithm::Optimize () from
/home/gaprea/usr/local/lib/libipopt.so.0
#8  0xb7a7b718 in Ipopt::IpoptApplication::call_optimize () from
/home/gaprea/usr/local/lib/libipopt.so.0
#9  0xb7a8094e in Ipopt::IpoptApplication::OptimizeNLP () from
/home/gaprea/usr/local/lib/libipopt.so.0
#10 0xb7a80e9a in Ipopt::IpoptApplication::OptimizeNLP () from
/home/gaprea/usr/local/lib/libipopt.so.0
#11 0xb7a80fdd in Ipopt::IpoptApplication::OptimizeTNLP () from
/home/gaprea/usr/local/lib/libipopt.so.0
#12 0xb7ebcd85 in Bonmin::IpoptSolver::OptimizeTNLP () from
/home/gaprea/usr/local/lib/libbonmin.so.0
#13 0xb7e9bc4d in Bonmin::OsiTMINLPInterface::solveAndCheckErrors ()
from /home/gaprea/usr/local/lib/libbonmin.so.0
#14 0xb7e9da18 in Bonmin::OsiTMINLPInterface::initialSolve () from
/home/gaprea/usr/local/lib/libbonmin.so.0
#15 0xb79c861e in CbcModel::initialSolve () from
/home/gaprea/usr/local/lib/libCbc.so.0
#16 0xb7e21b37 in Bonmin::Bab::branchAndBound () from
/home/gaprea/usr/local/lib/libbonmin.so.0
#17 0xb7e20e17 in Bonmin::Bab::operator() () from
/home/gaprea/usr/local/lib/libbonmin.so.0
#18 0x0804b709 in main () at MyBonmin.cpp:79

thanks in advance,

giuseppe



More information about the Bonmin mailing list