[SCIP] CPLEX as LP solver - Windows

Stefan Vigerske svigerske at gams.com
Sun Nov 17 02:55:32 CET 2019


Hi,

please make sure you are actually under MinGW, MSys, or MSys2 on 
Windows: https://scip.zib.de/doc/html/MAKE.php#WINDOWS
You seem to run from the Windows command prompt, which will not work for 
the make-system.

Stefan

On 11/16/19 5:44 PM, Douglas Nogueira do Nascimento wrote:
> Hi Gregor,
> 
> thank you for your response!
> 
> I have problems using both "make" (default SoPlex) and "make LPS=cpx
> ZIMPL=false". That is what get from each of them:
> 
> "make":
> 
> 
> 
> 
> 
> 
> 
> 
> *C:\Users\Douglas\scip-6.0.2>makemake[1]: Entering directory
> 'C:/Users/Douglas/scip-6.0.2''uname' is not recognized as an internal or
> external command,operable program or batch file.'uname' is not recognized
> as an internal or external command,operable program or batch file.'uname'
> is not recognized as an internal or external command,operable program or
> batch file.C:/Users/Douglas/scip-6.0.2/scip/make/make.project:521: ***
> ZIMPL requires the GMP to be linked. Use either ZIMPL=false or GMP=true.
> Stop.make[1]: Leaving directory 'C:/Users/Douglas/scip-6.0.2'make: ***
> [Makefile:83: scipbinary] Error 2*
> 
> *C:\Users\Douglas\scip-6.0.2>*
> 
> " make LPS=cpx ZIMPL=false":
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> *C:\Users\Douglas\scip-6.0.2>make LPS=cpx ZIMPL=falsemake[1]: Entering
> directory 'C:/Users/Douglas/scip-6.0.2''uname' is not recognized as an
> internal or external command,operable program or batch file.'uname' is not
> recognized as an internal or external command,operable program or batch
> file.'uname' is not recognized as an internal or external command,operable
> program or batch file."** Creating directory
> \"C:/Users/Douglas/scip-6.0.2/scip/lib/static\"."The syntax of the command
> is incorrect.make[1]: [Makefile.doit:162:
> C:/Users/Douglas/scip-6.0.2/scip/lib/static] Error 1 (ignored)"** Creating
> directory \"C:/Users/Douglas/scip-6.0.2/scip/lib/include\"."The syntax of
> the command is incorrect.make[1]: [Makefile.doit:162:
> C:/Users/Douglas/scip-6.0.2/scip/lib/include] Error 1 (ignored)"** Creating
> directory \"C:/Users/Douglas/scip-6.0.2/scip/lib/include/zimplinc\"."The
> syntax of the command is incorrect.make[1]: [Makefile.doit:162:
> C:/Users/Douglas/scip-6.0.2/scip/lib/include/zimplinc] Error 1
> (ignored)"""** Building SoPlex library
> \"C:/Users/Douglas/scip-6.0.2/soplex/lib/libsoplex...gnu.opt.a\"."make[2]:
> Entering directory 'C:/Users/Douglas/scip-6.0.2/soplex''uname' is not
> recognized as an internal or external command,operable program or batch
> file.'uname' is not recognized as an internal or external command,operable
> program or batch file.'uname' is not recognized as an internal or external
> command,operable program or batch file.process_begin: CreateProcess(NULL,
> cat src/depend.gmp, ...) failed.make[2]: Makefile:374: pipe: No such file
> or directoryprocess_begin: CreateProcess(NULL, cat src/depend.zlib, ...)
> failed.make[2]: Makefile:384: pipe: No such file or directoryprocess_begin:
> CreateProcess(NULL, cat src/depend.eglib, ...) failed.make[2]:
> Makefile:397: pipe: No such file or directoryMakefile:300:
> make/make...gnu.opt: No such file or directorymake[2]: *** No rule to make
> target 'make/make...gnu.opt'.  Stop.make[2]: Leaving directory
> 'C:/Users/Douglas/scip-6.0.2/soplex'make[1]: *** [Makefile.doit:178:
> C:/Users/Douglas/scip-6.0.2/soplex/lib/libsoplex...gnu.opt.a] Error
> 2make[1]: Leaving directory 'C:/Users/Douglas/scip-6.0.2'make: ***
> [Makefile:83: scipbinary] Error 2*
> 
> *C:\Users\Douglas\scip-6.0.2>*
> 
> And I will also try the CMake-Build System.
> 
> Thank you very much!
> 
> Have a nice weekend!
> 
> Douglas
> 
> 
> 
> Em sáb., 16 de nov. de 2019 às 05:59, Gregor Hendel <hendel at zib.de>
> escreveu:
> 
>> Hi Douglas,
>>
>> welcome to the mailing list.
>>
>> In order to help you with your issue, you need to be more explicit about
>> the issue you are facing. Do you succeed to compile SCIP with SoPlex using
>> make? Which issue do you face when you switch to LPS=cpx?
>>
>> A natural alternative would be to try out the CMake-Build System, which we
>> explain here <https://scip.zib.de/doc/html/CMAKE.php>.
>>
>> Have a nice weekend
>> Gregor
>>
>>
>>
>> Am 16.11.19 um 04:44 schrieb Douglas Nogueira do Nascimento:
>>
>> Hello!
>>
>> My name is Douglas Nogueira, I'm a PhD student from Brazil.
>>
>> I've been using SCIP for the last months in the operating system Windows
>> 10, and it is working perfectly. I used the SCIP Optimization Suite for
>> the installation.
>>
>> However, now I would like to run it using CPLEX as LP solver. The online
>> documentation (https://scip.zib.de/doc/html/MAKE.php) and the INSTALL
>> file provide an example of how to get CPLEX linked to SCIP via "make". On
>> Linux, this example worked well. But on Windows 10 I had some issues.
>>
>> I would like to know if it is possible to link CPLEX on Windows via this
>> example. Or is there an alternative way?
>>
>> Thank you!
>>
>> Douglas Nogueira
>>
>> _______________________________________________
>> Scip mailing listScip at zib.dehttps://listserv.zib.de/mailman/listinfo/scip
>>
>>
>> _______________________________________________
>> Scip mailing list
>> 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
> 



More information about the Scip mailing list