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