Dear Pietro<br><br>I'm so happy, I did everything you told me and now couenne is working fine. <br><br>I downloaded before the trunk version. But now I'm working with the stable version 0.3.<br><br>Thank you so much for your help. <br><br>Best regards, <br><br>Nathalie Jamett G.<br><br>
<br>
<blockquote>
----Mensaje original----<br>De: pbelott@clemson.edu<br>Fecha: 01-12-2010 19:45 <br>Para: "njamett@uantof.cl"&lt;njamett@uantof.cl&gt;<br>CC: &lt;couenne@list.coin-or.org&gt;, &lt;jvielma@pitt.edu&gt;<br>Asunto: Re: Couenne with Cplex<br><br>Dear Nathalie,<br><br>unfortunately I cannot replicate your problem. The error you are showing <br>appears to be a missing #include in <br>Couenne/src/problem/CouenneSolverInterface.cpp, which defines a template <br>LP solver without ever declaring any OsiCpxSolverInterface. You could <br>change CouenneSolverInterface.cpp and add the lines<br><br>#ifdef COIN_HAS_CPX<br>#include "OsiCpxSolverInterface.hpp"<br>#endif<br><br>right below the other two "#include" commands. However, this is totally <br>unnecessary in the version I have tried, because no object <br>OsiCpxSolverInterface is ever referenced explicitly in that source file.<br><br>More specifically: if I configure Couenne (version stable-0.3) using the <br>command<br><br>../configure --with-cplex-incdir=/usr/share/cplex122/cplex/include/ilcplex --with-cplex-lib='/usr/share/cplex122/cplex/lib/x86-64_sles10_4.1/static_pic/libcplex.a -lpthread'<br><br>it builds couenne without errors and it solves MINLP problems correctly. <br>One caveat: after solving the LP relaxation, for some reason <br>OsiCpxSolverInterface will print an error message of the form "Cplex error <br>1217: no solution found" or something similar. As far as I can understand, <br>that doesn't really affect the behavior of Couenne, which in fact obtain <br>the right solution from the LP solver and is able to solve the MINLP to <br>global optimality. I'm just anticipating that if you receive that error <br>you shouldn't worry (see related, if outdated, discussion at <br>http://list.coin-or.org/pipermail/osi/2008-June/thread.html#138)<br><br>Can you please email your configuration command and the version of Couenne <br>you are using?<br><br>PS: please direct all questions on Couenne to its mailing list:<br><br>couenne@list.coin-or.org<br><br><br>--<br>Pietro Belotti<br>Dept. of Mathematical Sciences<br>Clemson University<br>email: pbelott@clemson.edu<br>phone: 864-656-6765<br>web:&nbsp;&nbsp; myweb.clemson.edu/~pbelott<br><br>On Wed, 1 Dec 2010, njamett@uantof.cl wrote:<br><br>&gt; <br>&gt; Hi<br>&gt; <br>&gt; I was in touch with Mr Belotti. I was working in a windows platform and installing couenne with cplex.<br>&gt; <br>&gt; I had several troubles. So now I'm working in a Linux ubuntu machine.<br>&gt; <br>&gt; The solvers works fine, but when I tried to configure cplex as a subsolver I had the following answer:<br>&gt; <br>&gt; /home/nathalie/Couenne-trunk/Couenne/src/problem/CouenneSolverInterface.cpp: In member function 'bool Couenne::CouenneSolverInterface&lt;T&gt;::isProvenDualInfeasible() const [with T = OsiCpxSolverInterface]':<br>&gt; /home/nathalie/Couenne-trunk/Couenne/src/problem/CouenneSolverInterface.cpp:250:&nbsp;&nbsp; instantiated from 'void Couenne::CouenneSolverInterface&lt;T&gt;::solveFromHotStart() [with T = OsiCpxSolverInterface]'<br>&gt; ../../../../Couenne/src/main/BonCouenneSetup.cpp:871:&nbsp;&nbsp; instantiated from here<br>&gt; /home/nathalie/Couenne-trunk/Couenne/src/problem/CouenneSolverInterface.cpp:90: error: incomplete type 'OsiCpxSolverInterface' used in nested name specifier<br>&gt; make[2]: *** [BonCouenneSetup.lo] Error 1<br>&gt; make[2]: se sale del directorio `/home/nathalie/Couenne-trunk/build/Couenne/src/main'<br>&gt; make[1]: *** [all-recursive] Error 1<br>&gt; make[1]: se sale del directorio `/home/nathalie/Couenne-trunk/build/Couenne'<br>&gt; make: *** [all-recursive] Error 1<br>&gt; <br>&gt; Please, can you help me with this error?<br>&gt; <br>&gt; Thank you<br>&gt; <br>&gt; Best regards<br>&gt; <br>&gt; Nathalie Jamett<br>&gt; University of Antofagasta<br>&gt; Chile<br>&gt;<br></blockquote><br>