[SCIP] Working on Windows

Matthias Miltenberger miltenberger at zib.de
Tue Apr 9 13:45:08 CEST 2019


Dear Mahdi,

we appreciate that your colleague put together this guide. Still, I 
would like to encourage the use of the command line, because it is much 
less error prone and easier to reproduce.

1. install the SCIPOptSuite package (preferably also extending your PATH)
2. download the source package to get the examples
3. open the command line (Win key and enter `cmd`)
4. cd to one of the example directories
5. configure the build: `cmake -Bbuild -H. -G"Visual Studio 15 2017 Win64"`
6. compile the code: `cmake --build build --config Release`

The executable will then be in `build/Release`. It might be necessary to 
specify the `SCIP_DIR `in step 5 like this: `-DSCIP_DIR="C:\Program 
Files\SCIPOptSuite 6.0.1"`, for me it also worked without it. Depending 
on your Visual Studio version and whether you used the x86 or x64 
installer you may need to specify the generator in step 5 differently.

Eventually, you will end up with the exact same executable as in your 
manual. I just think that working with the command line is especially 
nice when you want to run SCIP afterwards, because you don't have to 
change any runtime parameters in Visual Studio.

As a final suggestion: There are very capable and pretty command line 
tools for Windows that can replace the default one. I can recommend 
Cmder: https://cmder.net/

Cheers
Matthias


On 08-Apr-19 13:43, mahdi noorizadegan wrote:
> Hello,
>
> One of my colleagues has prepared a document for installing and 
> running SCIP on MS Windows.
> As I could not find such a manual and there were some other people who 
> had
> difficulties to use SCIP on Windows, I am sending it along in case 
> some one needs such a manual.
>
> I hope it is useful.
>
> Cheers,
> Mahdi
>
> On Sat, 2 Feb 2019 at 15:09, Gregor Hendel <hendel at zib.de 
> <mailto:hendel at zib.de>> wrote:
>
>     Hey Mahdi,
>
>     the installers don't include the examples, you have to download the
>     source code for this. (which is why it says "Source code (including
>     applications and examples)" on our download page).
>
>     The branch and price examples have their own CMakeLists.txt and can
>     hence be treated as encapsulated projects.
>     If you have a working SCIP installation, it shouldn't be difficult to
>     build and run an example on your own.
>     Our documentation page
>     https://scip.zib.de/doc-6.0.1/html/START.php#START_CHOICE helps
>     you to
>     set up a project.
>
>     The answer is therefore: Yes, it is possible.
>
>     Have a nice weekend,
>     Gregor
>
>     Am 02.02.19 um 10:33 schrieb Mahdi Noorizadegan:
>     > Hey
>     >
>     > I have been using SCIP on Mac.
>     > I have to use it on Windows now.
>     > I installed the installation file for Windows. But I cannot see
>     the examples.
>     > I want to run branch-and-price algorithm in windows.
>     > Is it possible?
>     >
>     > Looking forward to hearing from you soon.
>     > Regards,
>     > Mahdi
>     > _______________________________________________
>     > Scip mailing list
>     > Scip at zib.de <mailto:Scip at zib.de>
>     > https://listserv.zib.de/mailman/listinfo/scip
>
>     _______________________________________________
>     Scip mailing list
>     Scip at zib.de <mailto:Scip at zib.de>
>     https://listserv.zib.de/mailman/listinfo/scip
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip

-- 
\__________________

Matthias Miltenberger
Zuse Institute Berlin
Takustr. 7, 14195 Berlin
www.zib.de/miltenberger
miltenberger at zib.de
+49 (30) 841 85 245

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20190409/95bcc2bd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5356 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listserv.zib.de/pipermail/scip/attachments/20190409/95bcc2bd/attachment.p7s>


More information about the Scip mailing list