<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: 微软雅黑; COLOR: #000080; FONT-SIZE: 10.5pt
}
</STYLE>

<META name=GENERATOR content="MSHTML 8.00.7601.17514"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Thanks,you guys.Really appreciate your help.</DIV>
<DIV> </DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>

<DIV><SPAN>bruce.loski</SPAN></DIV>
<DIV> </DIV>
<DIV 
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<DIV 
style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV><B>From:</B> <A href="mailto:alpar@cs.elte.hu">Alpar Juttner</A></DIV>
<DIV><B>Date:</B> 2013-07-16 15:25</DIV>
<DIV><B>To:</B> <A 
href="mailto:bernath.athos@gmail.com">AttilaBernáth</A></DIV>
<DIV><B>CC:</B> <A href="mailto:bruce.loski@gmail.com">bruce.loski</A>; <A 
href="mailto:lemon-user@lemon.cs.elte.hu">lemon-user</A></DIV>
<DIV><B>Subject:</B> Re: [Lemon-user] Lemon cplex support</DIV></DIV></DIV>
<DIV>
<DIV> </DIV>
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>The non-hacker solution is to use the latest development version, which</DIV>
<DIV>will automatically discover CPLEX 12.5. In addition, it has the ability</DIV>
<DIV>to switch on/off each LP backend and choose the default one from the</DIV>
<DIV>CMAKE config. You can find it here:</DIV>
<DIV>https://lemon.cs.elte.hu/hg/lemon-main/</DIV>
<DIV> </DIV>
<DIV>And yes, you should use CMAKE instead of ./configure. For instructions,</DIV>
<DIV>please refer to the INSTALL file in the source repo (or</DIV>
<DIV>https://lemon.cs.elte.hu/trac/lemon/wiki/InstallLinux )</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Alpar</DIV>
<DIV> </DIV>
<DIV>On Fri, 2013-07-12 at 14:31 +0200, Attila Bernáth wrote:</DIV>
<DIV>> Hi Bruce,</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> I only have a hacker solution, but it might work for you, too.</DIV>
<DIV>> Insert the following (after suitable modifications, of course) into</DIV>
<DIV>> CMakeLists.txt</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> #Hacking cplex</DIV>
<DIV>> SET(CPLEX_LIBRARY /opt/ibm/ILOG/CPLEX_Studio125/cplex/lib/x86_sles10_4.1/static_pic/)</DIV>
<DIV>> SET(CPLEX_INCLUDE_DIR /opt/ibm/ILOG/CPLEX_Studio125/cplex/include/)</DIV>
<DIV>> FIND_PACKAGE(CPLEX)</DIV>
<DIV>> INCLUDE_DIRECTORIES(${CPLEX_INCLUDE_DIR})</DIV>
<DIV>> LINK_DIRECTORIES(${CPLEX_LIBRARY})</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> Attila</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> 2013/7/12 bruce.loski <bruce.loski@gmail.com></DIV>
<DIV>>         Hi,guys,</DIV>
<DIV>>              I am a newbie wanting to use cplex for lemon.I downloaded</DIV>
<DIV>>         cplex_studio125.linux-x86-64.bin.I</DIV>
<DIV>>         run ./cplex_studio125.linux-x86-64.bin all with the default</DIV>
<DIV>>         settings.At last,the cplex was successfully installed</DIV>
<DIV>>         at /opt/ibm/ILOG/CPLEX_Studio125/ .I recompiled lemon</DIV>
<DIV>>         using ./configure.However,the summary tells that CPLEX</DIV>
<DIV>>         support............:no.Has anyone successfully configured</DIV>
<DIV>>         cplex?Please help me.</DIV>
<DIV>>         Thanks for your kind help.</DIV>
<DIV>>         </DIV>
<DIV>>         </DIV>
<DIV>>         Best Regards,</DIV>
<DIV>>         bruce.loski</DIV>
<DIV>>         </DIV>
<DIV>>         _______________________________________________</DIV>
<DIV>>         Lemon-user mailing list</DIV>
<DIV>>         Lemon-user@lemon.cs.elte.hu</DIV>
<DIV>>         http://lemon.cs.elte.hu/mailman/listinfo/lemon-user</DIV>
<DIV>>         </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV></DIV></BODY></HTML>