[SCIP] Installing SCIP linking CPLEX 12.8 under Windows using MinGW

Shin, Jungeun jungeun4 at illinois.edu
Sat May 16 18:54:10 CEST 2020


Hi,

I have been trying to install SCIP with Cplex 12.8 on Windows using MinGW and have some questions.



  1.  I don't quite understand the following part of the "Remarks on Installing under Windows using MinGW" from installation information of your website.


" Second you need to copy the file sh.exe to bash.exe otherwise various scripts (including makefiles) will not work. Normally unistd.h covers also the getopt-options, but for mingw you need to add the entry #include <getopt.h> into "/mingw/include/unistd.h" after the other include-entries (if not present). "

What does it mean by copying the file sh.exe to bash.exe? Does it mean to change the file name? Also, there is no unistd.h file in my ""/mingw/include/".

Directory of C:\msys\mingw32\include

05/05/2020  11:01 AM    <DIR>          .
05/05/2020  11:01 AM    <DIR>          ..
05/11/2018  09:34 PM            13,037 ansidecl.h
05/11/2018  09:34 PM           262,716 bfd.h
05/11/2018  09:34 PM            34,356 bfdlink.h
05/11/2018  09:35 PM            14,771 dis-asm.h
05/05/2020  11:01 AM    <DIR>          gdb
05/11/2018  09:36 PM             2,912 gnumake.h
05/05/2020  11:01 AM    <DIR>          libiberty
05/11/2018  08:28 PM             3,700 libmangle.h
05/11/2018  09:34 PM            14,593 plugin-api.h
05/11/2018  09:34 PM             2,191 symcat.h


  1.  I proceeded to installation ignoring the part described in 1). Then, I encountered the following error, saying that my cplex directory is not a directory. Can this error related to bash.exe? or did I use wrong path?


C:\Program Files\scip-7.0.0>make ZLIB=false READLINE=false GMP=false LPS=cpx
-> generating necessary links

- Current settings: LPS=cpx OSTYPE=mingw ARCH=x86 COMP=gnu SHARED=false SUFFIX= ZIMPL=false ZIMPLOPT=opt IPOPT=false IPOPTOPT=opt WORHP=false WORHPOPT=opt FILTERSQP=false EXPRINT=cppad GAMS=false SYM=none

* SCIP needs some softlinks to external programs, in particular, LP-solvers.
* Please insert the paths to the corresponding directories/libraries below.
* The links will be installed in the 'lib/include' and 'lib/static' directories.
* For more information and if you experience problems see the INSTALL file.

  -> "cpxinc" is the path to the CPLEX "include" directory, e.g., "<CPLEX-path>/include/ilcplex".
  -> "libcplex.*.a" is the path to the CPLEX library, e.g., "<CPLEX-path>/lib/x86-64_linux/static_pic/libcplex.a"
  -> "libcplex.*.so" is the path to the CPLEX library, e.g., "<CPLEX-path>/bin/x86-64_linux/libcplex1263.so"

> Enter soft-link target file or directory for "lib/include/cpxinc" (return if not needed):
> C:/Program Files/IBM/ILOG/CPLEX_Studio129/cplex/include/ilcplex/
-> creating softlink "lib/include/cpxinc" -> "C:/Program Files/IBM/ILOG/CPLEX_Studio129/cplex/include/ilcplex/"
ln: target `lib/include/cpxinc' is not a directory
make[2]: *** [lib/include/cpxinc] Error 1
make[1]: *** [lib/static/linkscreated.cpx-opt.mingw.x86.gnu.false-opt.false-opt.false.false.none.false] Error 2
make: *** [preprocess] Error 2


  1.  From the mailing list archives, I found this.  http://listserv.zib.de/pipermail/scip/2017-February/002995.html
It says there was an interface change in Cplex 12.7 and recommend to use an older vertion of CPLEX.
Is this still an issue if I want to install Cplex 12.9 ?


Thank you all !

Jungeun
Best,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20200516/73dcfd49/attachment.html>


More information about the Scip mailing list