Hello,<br> I'm very new to ADOL-C. I'm trying to use it in the following environment:<br>- Linux 32bit ubuntu 12.04<br>- ADOL-C 2.3.0<br>- Ipopt 3.10.2<br>- ColPack 1.0.6<br><br>The first problem I had, the ADOL-C could no find the ColPack source, even if I placed it in [ADOL-C SRC]/ThirdParty/ColPack. I had to first make and install ColPack in /usr, then the ADOL-C configure (also with --prefix=/usr) had no problems find it.<br>
<br>Then I run the ipopt examples, and, as far as I include the #include <cassert> directive, I am able to run both the LuksanVlcek1 and MittelmannDistCntrlNeumA examples. Great !<br>However, when I try their equivalent *_sparce version, I got the program crashing.<br>
<br>The call stack is as follow:<br><br>0 ColPack::JacobianRecovery1D::RecoverD2Cln_CoordinateFormat_usermem JacobianRecovery1D.cpp 514 0xb617cdb4 <br>1 sparse_jac sparsedrivers.cpp 388 0xb7d8ec16 <br>
2 MyADOLC_sparseNLP::eval_jac_g Adolc_debugtest.cpp 275 0x8053a43 <br>3 Ipopt::TNLPAdapter::internal_eval_jac_g(bool) /usr/lib/libipopt.so.1 0 0xb7dfa35f <br>4 Ipopt::TNLPAdapter::Eval_jac_c(Ipopt::Vector const&, Ipopt::Matrix&) /usr/lib/libipopt.so.1 0 0xb7dfcf8b <br>
5 Ipopt::GradientScaling::DetermineScalingParametersImpl(Ipopt::SmartPtr<Ipopt::VectorSpace const>, Ipopt::SmartPtr<Ipopt::VectorSpace const>, Ipopt::SmartPtr<Ipopt::VectorSpace const>, Ipopt::SmartPtr<Ipopt::MatrixSpace const>, Ipopt::SmartPtr<Ipopt::MatrixSpace const>, Ipopt::SmartPtr<Ipopt::SymMatrixSpace const>, Ipopt::Matrix const&, Ipopt::Vector const&, Ipopt::Matrix const&, Ipopt::Vector const&, double&, Ipopt::SmartPtr<Ipopt::Vector>&, Ipopt::SmartPtr<Ipopt::Vector>&, Ipopt::SmartPtr<Ipopt::Vector>&) /usr/lib/libipopt.so.1 0 0xb7e5d697 <br>
6 Ipopt::StandardScalingBase::DetermineScaling(Ipopt::SmartPtr<Ipopt::VectorSpace const>, Ipopt::SmartPtr<Ipopt::VectorSpace const>, Ipopt::SmartPtr<Ipopt::VectorSpace const>, Ipopt::SmartPtr<Ipopt::MatrixSpace const>, Ipopt::SmartPtr<Ipopt::MatrixSpace const>, Ipopt::SmartPtr<Ipopt::SymMatrixSpace const>, Ipopt::SmartPtr<Ipopt::MatrixSpace const>&, Ipopt::SmartPtr<Ipopt::MatrixSpace const>&, Ipopt::SmartPtr<Ipopt::SymMatrixSpace const>&, Ipopt::Matrix const&, Ipopt::Vector const&, Ipopt::Matrix const&, Ipopt::Vector const&) /usr/lib/libipopt.so.1 0 0xb7ea6838 <br>
7 Ipopt::OrigIpoptNLP::InitializeStructures(Ipopt::SmartPtr<Ipopt::Vector>&, bool, Ipopt::SmartPtr<Ipopt::Vector>&, bool, Ipopt::SmartPtr<Ipopt::Vector>&, bool, Ipopt::SmartPtr<Ipopt::Vector>&, bool, Ipopt::SmartPtr<Ipopt::Vector>&, bool, Ipopt::SmartPtr<Ipopt::Vector>&, Ipopt::SmartPtr<Ipopt::Vector>&) /usr/lib/libipopt.so.1 0 0xb7eb141a <br>
8 Ipopt::IpoptData::InitializeDataStructures(Ipopt::IpoptNLP&, bool, bool, bool, bool, bool) /usr/lib/libipopt.so.1 0 0xb7e87bab <br>9 Ipopt::DefaultIterateInitializer::SetInitialIterates() /usr/lib/libipopt.so.1 0 0xb7e4d2d0 <br>
10 Ipopt::IpoptAlgorithm::InitializeIterates() /usr/lib/libipopt.so.1 0 0xb7e5f83d <br>11 Ipopt::IpoptAlgorithm::Optimize(bool) /usr/lib/libipopt.so.1 0 0xb7e64114 <br>12 Ipopt::IpoptApplication::call_optimize() /usr/lib/libipopt.so.1 0 0xb7ded769 <br>
13 Ipopt::IpoptApplication::OptimizeNLP(Ipopt::SmartPtr<Ipopt::NLP> const&, Ipopt::SmartPtr<Ipopt::AlgorithmBuilder>&) /usr/lib/libipopt.so.1 0 0xb7df17a1 <br>14 Ipopt::IpoptApplication::OptimizeNLP(Ipopt::SmartPtr<Ipopt::NLP> const&) /usr/lib/libipopt.so.1 0 0xb7df2944 <br>
15 Ipopt::IpoptApplication::OptimizeTNLP(Ipopt::SmartPtr<Ipopt::TNLP> const&) /usr/lib/libipopt.so.1 0 0xb7ded224 <br>16 Sandbox::testAdolc Sandbox.cpp 768 0x808b312 <br>17 main main.cpp 52 0x806a45d <br>
<br><br>Any hint ?<br><br>Thank you,<br> Antonello<br clear="all"><br>-- <br>Antonello Lobianco<br>INRA, Laboratoire d'Economie Forestičre<br>14 Rue Girardet - 54000 Nancy, France<br>Tel: +33.652392310<br>Email: <a href="mailto:antonello.lobianco@nancy-engref.inra.fr" target="_blank">antonello.lobianco@nancy-engref.inra.fr</a><br>
<a href="http://antonello.lobianco.org/" target="_blank">http://antonello.lobianco.org</a><br>