<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Anfang der weitergeleiteten Nachricht:</div><br class="Apple-interchange-newline"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">Von: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Mike Steglich &lt;<a href="mailto:mike.steglich@th-wildau.de" class="">mike.steglich@th-wildau.de</a>&gt;<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">Betreff: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Aw: [Cmpl] Error connecting to CPLEX</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">Datum: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">22. November 2014 18:42:16 MEZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">An: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Indrajit Sen Gupta &lt;<a href="mailto:indrajitsg@gmail.com" class="">indrajitsg@gmail.com</a>&gt;<br class=""></span></div><br class=""><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Indrajit,<div class=""><br class=""></div><div class="">Framework is still in the (temporary) search path if you use Coliop.bat or cmplShell.bat. Does scip work out of the box w/o Cmpl? &nbsp;</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Mike</div><div class=""><br class=""></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">Am 22.11.2014 um 18:36 schrieb Indrajit Sen Gupta &lt;<a href="mailto:indrajitsg@gmail.com" class="">indrajitsg@gmail.com</a>&gt;:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Still no luck. :( Copied all the dlls and lib files to the Frameworks folder. I made sure that Frameworks is in search path. Am giving up for tonight.</div><div class="">&nbsp;</div><div class="">Regards,</div><div class="">Indrajit</div><div class="">&nbsp;</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sat, Nov 22, 2014 at 10:45 PM, Mike Steglich <span dir="ltr" class="">&lt;<a href="mailto:mike.steglich@th-wildau.de" target="_blank" class="">mike.steglich@th-wildau.de</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">The entry&nbsp;<i class="">ScipFileName = ../Thirdparty/scip/scip-3.1.0.win.x86.msvc.opt.spx.ld.exe</i> is fine. &nbsp;<div class=""><br class=""><div class="">As mentioned before, please move the required libs (scip-3.1.0.win.x86.msvc.opt.spx.ld.dll and scip-3.1.0.win.x86.msvc.opt.spx.ld.lib) &nbsp;into Cmpl/Frameworks … &nbsp;</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">Am 22.11.2014 um 18:08 schrieb Indrajit Sen Gupta &lt;<a href="mailto:indrajitsg@gmail.com" target="_blank" class="">indrajitsg@gmail.com</a>&gt;:</div><div class=""><div class="h5"><br class=""><div class=""><div dir="ltr" class=""><div class="">These are the three files that I have in /Thirdparty/SCIP/</div><div class="">&nbsp;</div><div class="">scip-3.1.0.win.x86.msvc.opt.spx.ld.dll</div><div class="">scip-3.1.0.win.x86.msvc.opt.spx.ld.exe</div><div class="">scip-3.1.0.win.x86.msvc.opt.spx.ld.lib</div><div class="">&nbsp;</div><div class="">And this is the line in /bin/cmpl.opt</div><div class="">&nbsp;</div><div class="">ScipFileName = ../Thirdparty/SCIP/scip-3.1.0.win.x86.msvc.opt.spx.ld.exe</div><div class="">&nbsp;</div><div class="">Regards,</div><div class="">Indrajit</div><div class="">&nbsp;</div><div class="">&nbsp;</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sat, Nov 22, 2014 at 10:20 PM, Mike Steglich <span dir="ltr" class="">&lt;<a href="mailto:mike.steglich@th-wildau.de" target="_blank" class="">mike.steglich@th-wildau.de</a>&gt;</span> wrote:<br class=""><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div style="word-wrap:break-word" class="">The following entries are working on my Windows test system:<div class=""><br class=""></div><div class=""><div class="">CbcPath = ../Thirdparty/CBC/</div><div class="">GlpkPath = &nbsp;../Thirdparty/GLPK/</div><div class="">ScipFileName = ../Thirdparty/scip/scip.exe</div><div class="">CplexFileName =&nbsp;</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">It works as expected when I include the CMPL header entry <i class="">%arg -solver scip</i> in my model.</div><div class=""><br class=""></div><div class="">Please copy the required DLLs into CMPL/Frameworks or in another folder that is in the search path.</div><div class=""><br class=""></div><div class="">This should work similar for Cplex.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Mike</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="">Am 22.11.2014 um 16:41 schrieb Indrajit Sen Gupta &lt;<a href="mailto:indrajitsg@gmail.com" target="_blank" class="">indrajitsg@gmail.com</a>&gt;:</div><div class=""><div class=""><br class=""><div class=""><div dir="ltr" class=""><div class="">I tried all of the above and&nbsp;some more - but none worked. </div><div class="">&nbsp;</div><div class="">I tried putting ../../ before the path to filename. So the full path would look like: ../../AMPL/ampl/cplex.exe</div><div class="">&nbsp;</div><div class="">I even copied cplex.exe and cplex1260.dll into a folder under Thirdparty and tried running it with filename path as: ../Thirdparty/CPLEX/cplex.exe</div><div class="">&nbsp;</div><div class="">Regards,</div><div class="">Indrajit</div><div class="">&nbsp;</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sat, Nov 22, 2014 at 3:02 PM, Mike Steglich <span dir="ltr" class="">&lt;<a href="mailto:mike.steglich@th-wildau.de" target="_blank" class="">mike.steglich@th-wildau.de</a>&gt;</span> wrote:<br class=""><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">Hi Indrajit,<br class="">
<br class="">
It is unfortunately not possible to use drive letters to specify where Cplex is located.&nbsp; Furthermore please use / instead of \. e.g. /DPF/Ampl/ampl/cplex.exe.<br class="">
<br class="">
Cheers,<br class="">
<br class="">
Mike<br class="">
<br class="">
<br class="">
<br class="">
&gt; Am 22.11.2014 um 09:29 schrieb Kamil Figiela &lt;<a href="mailto:kfigiela@agh.edu.pl" target="_blank" class="">kfigiela@agh.edu.pl</a>&gt;:<br class="">
<div class=""><div class="">&gt;<br class="">
&gt; Probably it should say:<br class="">
&gt;<br class="">
&gt; CplexFileName = D:\DPF\AMPL\ampl\cplex.exe<br class="">
&gt;<br class="">
&gt; Best,<br class="">
&gt; Kamil<br class="">
&gt;<br class="">
&gt;&gt; Wiadomość napisana przez Indrajit Sen Gupta &lt;<a href="mailto:indrajitsg@gmail.com" target="_blank" class="">indrajitsg@gmail.com</a>&gt; w dniu 22 lis 2014, o godz. 05:56:<br class="">
&gt;&gt;<br class="">
&gt;&gt; Hi Mike,<br class="">
&gt;&gt;<br class="">
&gt;&gt; I have a CPLEX demo version which came with AMPL demo version. I tried to use this solver with the option:<br class="">
&gt;&gt;<br class="">
&gt;&gt; %arg -solver cplex<br class="">
&gt;&gt;<br class="">
&gt;&gt; and with the following line in cmpl.opt file:<br class="">
&gt;&gt;<br class="">
&gt;&gt; CplexFileName = D:\DPF\AMPL\ampl\<br class="">
&gt;&gt;<br class="">
&gt;&gt; This is the path to the folder where cplex.exe is located. When I try to execute a model it says<br class="">
&gt;&gt;<br class="">
&gt;&gt; Error (interfaces): can not connect the solver: Cplex -&gt;<br class="">
&gt;&gt;<br class="">
&gt;&gt; Any idea why this is happening?<br class="">
&gt;&gt;<br class="">
&gt;&gt; Regards,<br class="">
&gt;&gt; Indrajit<br class="">
&gt;&gt;<br class="">
&gt;&gt; _______________________________________________<br class="">
&gt;&gt; Cmpl mailing list<br class="">
&gt;&gt; <a href="mailto:Cmpl@list.coin-or.org" target="_blank" class="">Cmpl@list.coin-or.org</a><br class="">
&gt;&gt; <a href="http://list.coin-or.org/mailman/listinfo/cmpl" target="_blank" class="">http://list.coin-or.org/mailman/listinfo/cmpl</a><br class="">
&gt;<br class="">
&gt;<br class="">
&gt; _______________________________________________<br class="">
&gt; Cmpl mailing list<br class="">
&gt; <a href="mailto:Cmpl@list.coin-or.org" target="_blank" class="">Cmpl@list.coin-or.org</a><br class="">
&gt; <a href="http://list.coin-or.org/mailman/listinfo/cmpl" target="_blank" class="">http://list.coin-or.org/mailman/listinfo/cmpl</a><br class="">
</div></div></blockquote></div><br class=""></div>
_______________________________________________<br class="">Cmpl mailing list<br class=""><a href="mailto:Cmpl@list.coin-or.org" target="_blank" class="">Cmpl@list.coin-or.org</a><br class=""><a href="http://list.coin-or.org/mailman/listinfo/cmpl" target="_blank" class="">http://list.coin-or.org/mailman/listinfo/cmpl</a></div></div></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div>
_______________________________________________<br class="">Cmpl mailing list<br class=""><a href="mailto:Cmpl@list.coin-or.org" target="_blank" class="">Cmpl@list.coin-or.org</a><br class=""><a href="http://list.coin-or.org/mailman/listinfo/cmpl" target="_blank" class="">http://list.coin-or.org/mailman/listinfo/cmpl</a></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></body></html>