<div dir="ltr"><div><div>Hi Eduardo,<br><br></div>I'm cc'ing the mailing list, since other users might also find the discussion useful. It would be helpful if you could post relevant output so I could see more precisely what the problem might be, but your guess about is probably right. The solution is to make sure the version of Dippy you're using matches the version of the binaries you have installed. <br><br>I have a preliminary mechanism for automatically building and deploying binaries for new version if download binaries for the latest release version here:<br><br><a href="https://bintray.com/coin-or/download/Dip/0.92.3">https://bintray.com/coin-or/download/Dip/0.92.3</a><br><br></div><div>In particular, for Python 2.7, get this ZIP file:<br><br><a href="https://bintray.com/coin-or/download/download_file?file_path=Dip-0.92.3-win32-msvc9.zip">https://bintray.com/coin-or/download/download_file?file_path=Dip-0.92.3-win32-msvc9.zip</a><br><br></div><div>Unpack it somewhere and then set the variable COIN_INSTALL_DIR to point to the location with<br><br></div><div>set COIN_INSTALL_DIR=C:\dir\where\stored<br><br></div><div>Let me know if this works and if not, how far you get with it. I can help you get you past any sticking points. Sorry this isn't so well documented.<br><br></div><div>Cheers,<br><br></div><div>Ted<br></div> </div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 18, 2017 at 11:58 PM, Eduardo F. Silva <span dir="ltr"><<a href="mailto:efsilvaa@gmail.com" target="_blank">efsilvaa@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"><p class="MsoNormal"><span lang="EN-US">Hi Ted,<span></span></span></p><p class="MsoNormal"><span lang="EN-US"><br></span></p><p class="MsoNormal">Some time ago you help me installing dippy, and I am thinking if you mind help me again. <br></p><p class="MsoNormal"><span lang="EN-US"><br></span></p><p class="MsoNormal"><span lang="EN-US">It is being a pain try to install it again. Unfortunately, I keep working in windows, what make things worse.<span></span></span></p><p class="MsoNormal"><span lang="EN-US"><br></span></p>
<p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span lang="EN-US">Again, I could not
install <span class="m_7538050847228057121gmail-" id="m_7538050847228057121gmail-:3g2.6">coinor</span>.dippy in my Python 2.7 with easy install. So, following your
last guidance I tried </span><span style="font-size:9.5pt;line-height:107%;font-family:Arial,sans-serif" lang="EN-US">first install the Windows libraries
with the installer from </span><span style="font-size:9.5pt;line-height:107%;font-family:Arial,sans-serif"><a href="http://www.coin-or.org/download/binary/OptimizationSuite/COIN-OR-1.8.0-win32-msvc9-python.exe" target="_blank"><span lang="EN-US">http://www.coin-or.org/<wbr>download/binary/<span class="m_7538050847228057121gmail-" id="m_7538050847228057121gmail-:3g2.7">OptimizationSu<wbr>ite</span>/COIN-OR-1.8.0-win32-msvc9-<wbr>python.<span class="m_7538050847228057121gmail-" id="m_7538050847228057121gmail-:3g2.8">exe</span></span></a></span><span style="font-size:9.5pt;line-height:107%;font-family:Arial,sans-serif" lang="EN-US">, configure COIN_DIR_INSTALL to …\COIN-OR-1.8.0-win32-msvc9-<wbr>python\COIN-OR\win32-msvc9-<wbr>python
and use :<span></span></span></p><p class="MsoNormal" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span style="font-size:9.5pt;line-height:107%;font-family:Arial,sans-serif" lang="EN-US"><br></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span style="font-size:9.5pt;font-family:Arial,sans-serif">python setup.<span class="m_7538050847228057121gmail-" id="m_7538050847228057121gmail-:3g2.9">py</span> install<span></span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span style="font-size:9.5pt;font-family:Arial,sans-serif"><span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span style="font-size:9.5pt;font-family:Arial,sans-serif" lang="EN-US">But it does not work. Probably the problem is that
the code in dippy has changed, but not in the optimization suite. Therefore, the header files in optimization suite
are older and do not match the references done by the source files in dippy
anymore (e.g. m_infinity missing, …) <span></span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span style="font-size:9.5pt;font-family:Arial,sans-serif" lang="EN-US"><span> </span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span style="font-size:9.5pt;font-family:Arial,sans-serif" lang="EN-US">As far I remember, if I compile dippy using actual
visual studio, it will not work under my anaconda python because python is build
with cl.<span class="m_7538050847228057121gmail-" id="m_7538050847228057121gmail-:3g2.10">exe</span> 1500, which was shipped in Visual studio 2008 (I think).<span></span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><span style="font-size:9.5pt;font-family:Arial,sans-serif" lang="EN-US"><span> </span></span></p>
<span style="font-size:9.5pt;line-height:107%;font-family:Arial,sans-serif" lang="EN-US">Do you have any suggestion?</span><div><font face="Arial, sans-serif"><span style="font-size:12.6667px"><br></span></font></div><div><div dir="ltr"><font size="2"><font color="#999999">==============================<wbr>==========</font><br><font color="#666666">Prof. Eduardo Ferreira da Silva, PhD<br>Departamento de Engenharia de Produção - EPS</font></font></div><div><font size="2"><font color="#666666">Centro Tecnológico - CTC</font></font></div><div dir="ltr"><span style="color:rgb(102,102,102)">Universidade Federal de Santa Catarina - UFSC</span><font size="2"><font color="#666666"><br></font><a href="http://deps.ufsc.br/" target="_blank">http://deps.ufsc.br/</a></font></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br clear="all"><div><div class="m_7538050847228057121gmail_signature"><div dir="ltr"><div><div>------------------------------<wbr>---</div><div>Eduardo F. Silva</div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Mar 7, 2016 at 1:05 PM, Ted Ralphs <span dir="ltr"><<a href="mailto:ted@lehigh.edu" target="_blank">ted@lehigh.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">On Windows, you shouldn't have to do anything other than<div><br></div><div>easy_install coinor.dippy</div><div><br></div><div>Alternatively, you can first install the Windows libraries with the installer here:</div><div><br></div><div><a href="http://www.coin-or.org/download/binary/OptimizationSuite/COIN-OR-1.8.0-win32-msvc9-python.exe" target="_blank">http://www.coin-or.org/downloa<wbr>d/binary/OptimizationSuite/<wbr>COIN-OR-1.8.0-win32-msvc9-<wbr>python.exe</a><br></div><div><br></div><div>This will install everything you need and set all variables necessary to build DipPy. After that, if you just do</div><div><br></div><div>python setup.py install</div><div><br></div><div>in a terminal, it should work.</div><div><br></div><div>There is no easy way to get it to work if you build in the Visual Studio IDE. If you really want to build from source on Windows, you should use MSys2. Itmay also be possible using PyMinGW, although I have never tried it.</div><div><br></div><div>Cheers,</div><div><br></div><div>Ted</div></div><div class="m_7538050847228057121gmail-HOEnZb"><div class="m_7538050847228057121gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 7, 2016 at 10:13 AM, Eduardo F. Silva <span dir="ltr"><<a href="mailto:efsilvaa@gmail.com" target="_blank">efsilvaa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks for the help,<br><br>I am using windows and still trying to make it work.<div>I do have built Dip successfully, however I am not sure I have to create a folder structure (using COIN_INSTALL_DIR), and what I should include there.<br><br>Thanks again,<br>Eduardo</div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div>------------------------------<wbr>---</div><div>Eduardo F. Silva</div></div></div></div></div><div><div class="m_7538050847228057121gmail-m_-2199016932833152122h5">
<br><div class="gmail_quote">On Fri, Mar 4, 2016 at 11:52 PM, Ted Ralphs <span dir="ltr"><<a href="mailto:ted@lehigh.edu" target="_blank">ted@lehigh.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Eduardo,<div><br></div><div>As you observed, installation of DipPy does not work with pip at the moment. It is on my TODO list to make it work. However, it should work easily with easy_install following the instructions here:</div><div><br></div><div><a href="https://projects.coin-or.org/Dip/wiki/DipPy" target="_blank">https://projects.coin-or.org/D<wbr>ip/wiki/DipPy</a><br></div><div><br></div><div>If you are on Windows, all you need to do is </div><div><br></div><div>easy_install coinor.dippy and you should be good to go with no additional steps. Let me know if this does not work.</div><div><br></div><div>Cheers,</div><div><br></div><div>Ted</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Wed, Mar 2, 2016 at 5:56 PM, Eduardo F. Silva <span dir="ltr"><<a href="mailto:efsilvaa@gmail.com" target="_blank">efsilvaa@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><div><div dir="ltr">Hi,<br><br>I am having some problems to install dippy using "pip install <span style="background:yellow">coinor</span>.dippy" in a new version of python 2.7.<br><br>Errors starting with "<span style="background:yellow">ez</span>_setup" not found, but even working around it, other errors occurs.<br><br>Do you have any <span style="background:yellow">roadmap</span> to install coinor.dippy. Sorry for a basic question.<br><br>Thanks,<br><br> =============================<wbr>===========<br>Prof. Eduardo Ferreira da Silva, PhD<br>Federal University of Santa Catarina (UFSC)<br>Department of Industrial Engineering (DEPS)<br><a href="http://deps.ufsc.br/" target="_blank">http://deps.ufsc.br/</a>
</div></div></div>
</div>
</div><br></div>
<br></div></div>______________________________<wbr>_________________<br>
Dip mailing list<br>
<a href="mailto:Dip@list.coin-or.org" target="_blank">Dip@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/dip" rel="noreferrer" target="_blank">http://list.coin-or.org/mailma<wbr>n/listinfo/dip</a><span><font color="#888888"><br></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div><div dir="ltr">Dr. Ted Ralphs<br>Professor, Lehigh University<br><a href="tel:%28610%29%20628-1280" value="+16106281280" target="_blank">(610) 628-1280</a><br>ted 'at' lehigh 'dot' edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br></div></div>
</font></span></font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br></font></span></div></div></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_7538050847228057121gmail-m_-2199016932833152122gmail_signature"><div dir="ltr">Dr. Ted Ralphs<br>Professor, Lehigh University<br><a href="tel:(610)%20628-1280" value="+16106281280" target="_blank">(610) 628-1280</a><br>ted 'at' lehigh 'dot' edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br></div></div>
</font></span></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Dr. Ted Ralphs<br>Visiting Researcher, Zuse Institute Berlin<br>Professor, Lehigh University<br>(610) 628-1280<br>ted 'at' lehigh 'dot' edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br></div></div></div></div>
</div>