<div dir="ltr"><div>Ok, I have tried connecting with SCIP too. I am getting the same error. At first I thought it was problem with the demo version of CPLEX. Has anyone successfully connected to CPLEX or SCIP in Windows environment?</div><div> </div><div>Regards,</div><div>Indrajit</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 22, 2014 at 9:11 PM, Indrajit Sen Gupta <span dir="ltr"><<a href="mailto:indrajitsg@gmail.com" target="_blank">indrajitsg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I tried all of the above and some more - but none worked. </div><div> </div><div>I tried putting ../../ before the path to filename. So the full path would look like: ../../AMPL/ampl/cplex.exe</div><div> </div><div>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> </div><div>Regards,</div><div>Indrajit</div><div> </div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 22, 2014 at 3:02 PM, Mike Steglich <span dir="ltr"><<a href="mailto:mike.steglich@th-wildau.de" target="_blank">mike.steglich@th-wildau.de</a>></span> wrote:<br><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>
<br>
It is unfortunately not possible to use drive letters to specify where Cplex is located. Furthermore please use / instead of \. e.g. /DPF/Ampl/ampl/cplex.exe.<br>
<br>
Cheers,<br>
<br>
Mike<br>
<br>
<br>
<br>
> Am 22.11.2014 um 09:29 schrieb Kamil Figiela <<a href="mailto:kfigiela@agh.edu.pl" target="_blank">kfigiela@agh.edu.pl</a>>:<br>
<div><div>><br>
> Probably it should say:<br>
><br>
> CplexFileName = D:\DPF\AMPL\ampl\cplex.exe<br>
><br>
> Best,<br>
> Kamil<br>
><br>
>> Wiadomość napisana przez Indrajit Sen Gupta <<a href="mailto:indrajitsg@gmail.com" target="_blank">indrajitsg@gmail.com</a>> w dniu 22 lis 2014, o godz. 05:56:<br>
>><br>
>> Hi Mike,<br>
>><br>
>> I have a CPLEX demo version which came with AMPL demo version. I tried to use this solver with the option:<br>
>><br>
>> %arg -solver cplex<br>
>><br>
>> and with the following line in cmpl.opt file:<br>
>><br>
>> CplexFileName = D:\DPF\AMPL\ampl\<br>
>><br>
>> This is the path to the folder where cplex.exe is located. When I try to execute a model it says<br>
>><br>
>> Error (interfaces): can not connect the solver: Cplex -><br>
>><br>
>> Any idea why this is happening?<br>
>><br>
>> Regards,<br>
>> Indrajit<br>
>><br>
>> _______________________________________________<br>
>> Cmpl mailing list<br>
>> <a href="mailto:Cmpl@list.coin-or.org" target="_blank">Cmpl@list.coin-or.org</a><br>
>> <a href="http://list.coin-or.org/mailman/listinfo/cmpl" target="_blank">http://list.coin-or.org/mailman/listinfo/cmpl</a><br>
><br>
><br>
> _______________________________________________<br>
> Cmpl mailing list<br>
> <a href="mailto:Cmpl@list.coin-or.org" target="_blank">Cmpl@list.coin-or.org</a><br>
> <a href="http://list.coin-or.org/mailman/listinfo/cmpl" target="_blank">http://list.coin-or.org/mailman/listinfo/cmpl</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>