<div>Hi,</div><div> I have successful experience of building python interface of SCIP on Windows, you may try following steps:</div><div>1. Tools:</div><div> Windows 7 64bit edition, MSVC 2010, Python 2.7.11 official amd64 build, with cython, setuptools etc. related modules installed.</div><div>2. Building:</div><div> 1> Slightly modify "setup_win.py', see attached "setup_win.py";</div><div> 2> Download SCIP-3.2.1 precompiled shared library and source codes from scip.zib.de, I renamed the shared library to "libscipopt.dll" and regenerated the import library just in correspondence with name of library used in 'setup_win.py', put 'libscipopt.lib' in same path with 'setup_win.py' and 'libscipopt.dll' in PATH variable.</div><div> 3> Create a simple batch script in same path with 'setup_win.py", let's name it "buildpyscipopt.bat", make sure 'vcvarsall.bat' is in PATH, or full path is required;</div><div> </div><div> @echo off</div><div> call vcvarsall.bat amd64</div><div> set INCLUDE=%INCLUDE%;..\..\src</div><div> python setup_win.py config --compiler=msvc build --compiler=msvc bdist_wininst</div><div> </div><div> double click 'buildpyscipopt.bat', find the installer in 'dist' subdirectory, it should work.</div><div><br></div><div>P.S. </div><div> Test screenshoot of 'test_knapsack.py' and 'test_heur.py' is also attached in zip file, installer tha I compiled can not be attached due to security issue reported by google gmail. </div><div> I just built the python interface but never use it, so full test was not performed, sorry for any possible problems you may encountered. </div><div><span class="Apple-tab-span" style="white-space: pre;"> </span> </div><div>Hope this help,</div><div> Wu Jian</div><br><br><div></div>
<meta content="text/html; charset=windows-1252" http-equiv="Content-Type">
<div> </div>
<blockquote style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<div>Matthias Miltenberger ะด:</div>
Dear Dago,<br>
<br>
unfortunately, installing the Python interface on Windows is not
that easy.<br>
Installing it requires to compile the Cython-generated C code and
linking it to the SCIPOpt library. We didn't manage to get this set
up correctly so currently we must say that Windows is not (yet)
supported.<br>
<br>
We recently externalized the interface to GitHub for easier
collaboration: <a class="moz-txt-link-freetext" href="https://github.com/SCIP-Interfaces/PySCIPOpt">https://github.com/SCIP-Interfaces/PySCIPOpt</a><br>
<br>
If you find a way to get it to work we would be very happy to accept
your pull request on GitHub! Or at least discuss the issues you
encountered.<br>
<br>
all the best<br>
Matthias<br>
<br>
<div class="moz-cite-prefix">On 07.07.2016 18:23, Dago Quevedo
wrote:<br>
</div>
<blockquote cite="mid:CANZVHuyPs79Rx+9wJG4-Dfg6Y-RJo3PyswVY8pKni+TndJ25=A@mail.gmail.com" type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr">
<div style="font-size:12.8px">Hi, SCIP Team</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">I'm trying to install python
interface of SCIP under Windows <span style="font-size:12.8px">OS</span><span style="font-size:12.8px">, however, all existing
documentation on installation refer only to Linux OS. Is
possible to install this interface without making a
compilation of source code as it happens in Linux OS? Or
what would be the best documented practice to install
this interface?</span></div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">I hope you can help me with
this issue.<br>
</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Best</div>
<span class="HOEnZb"><font color="#888888">
<div><br>
</div>
</font></span></div>
</div>
<div><br>
</div>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">Dago</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Scip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Scip@zib.de">Scip@zib.de</a>
<a class="moz-txt-link-freetext" href="http://listserv.zib.de/mailman/listinfo/scip">http://listserv.zib.de/mailman/listinfo/scip</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
\__________________
Matthias Miltenberger
Zuse Institute Berlin
Takustr. 7, 14195 Berlin
<a class="moz-txt-link-abbreviated" href="http://www.zib.de/miltenberger">www.zib.de/miltenberger</a>
<a class="moz-txt-link-abbreviated" href="mailto:miltenberger@zib.de">miltenberger@zib.de</a>
+49 (30) 841 85-245</pre>
</blockquote>