[Lemon-user] Lemon cplex support
Alpar Juttner
alpar at cs.elte.hu
Tue Jul 16 09:25:14 CEST 2013
Hi,
The non-hacker solution is to use the latest development version, which
will automatically discover CPLEX 12.5. In addition, it has the ability
to switch on/off each LP backend and choose the default one from the
CMAKE config. You can find it here:
https://lemon.cs.elte.hu/hg/lemon-main/
And yes, you should use CMAKE instead of ./configure. For instructions,
please refer to the INSTALL file in the source repo (or
https://lemon.cs.elte.hu/trac/lemon/wiki/InstallLinux )
Regards,
Alpar
On Fri, 2013-07-12 at 14:31 +0200, Attila Bernáth wrote:
> Hi Bruce,
>
>
> I only have a hacker solution, but it might work for you, too.
> Insert the following (after suitable modifications, of course) into
> CMakeLists.txt
>
>
> #Hacking cplex
> SET(CPLEX_LIBRARY /opt/ibm/ILOG/CPLEX_Studio125/cplex/lib/x86_sles10_4.1/static_pic/)
> SET(CPLEX_INCLUDE_DIR /opt/ibm/ILOG/CPLEX_Studio125/cplex/include/)
> FIND_PACKAGE(CPLEX)
> INCLUDE_DIRECTORIES(${CPLEX_INCLUDE_DIR})
> LINK_DIRECTORIES(${CPLEX_LIBRARY})
>
>
> Attila
>
>
> 2013/7/12 bruce.loski <bruce.loski at gmail.com>
> Hi,guys,
> I am a newbie wanting to use cplex for lemon.I downloaded
> cplex_studio125.linux-x86-64.bin.I
> run ./cplex_studio125.linux-x86-64.bin all with the default
> settings.At last,the cplex was successfully installed
> at /opt/ibm/ILOG/CPLEX_Studio125/ .I recompiled lemon
> using ./configure.However,the summary tells that CPLEX
> support............:no.Has anyone successfully configured
> cplex?Please help me.
> Thanks for your kind help.
>
>
> Best Regards,
> bruce.loski
>
> _______________________________________________
> Lemon-user mailing list
> Lemon-user at lemon.cs.elte.hu
> http://lemon.cs.elte.hu/mailman/listinfo/lemon-user
>
>
>
More information about the Lemon-user
mailing list