[SCIP] How to make scip mex files
Ambros Gleixner
gleixner at zib.de
Tue Jun 21 11:47:24 CEST 2016
Hi,
The Matlab interface delivered in the /interfaces directory of the SCIP
distribution has unfortunately not been maintained for a while, so I
cannot guarantee whether it is still working. We are planning to
redesign it, but currently I am afraid we cannot help you with this.
Have you seen or considered using the OPTI Toolbox? It is a very
convenient Matlab extension that interfaces to SCIP:
http://www.i2c2.aut.ac.nz/Wiki/OPTI/
Maybe this is a solution for you.
Best,
Ambros
Am 18.06.2016 um 10:14 schrieb zjuzw at sohu.com:
> Hi,
>
> I'm sorry for my interruption. I've already compiled the
> scipoptsuite-3.2.1 through MinGW under win7 32-bit system,
>
> also including its AMPL interface. All check instances have been tested
> successfully. The brief information is as
>
> follows:
>
> SCIP version 3.2.1 [precision: 8 byte] [memory: block] [mode: optimized]
> [LP solver: SoPlex 2.2.1] [GitHash: c7c6c02]
>
> Copyright (c) 2002-2016 Konrad-Zuse-Zentrum fuer Informationstechnik
> Berlin (ZIB)
>
> External codes:
>
> SoPlex 2.2.1 Linear Programming Solver developed at Zuse
> Institute Berlin (soplex.zib.de) [GitHash: 267a44a]
>
> cppad-20140000.3 Algorithmic Differentiation of C++ algorithms
> developed by B. Bell (www.coin-or.org/CppAD <http://www.coin-or.org/CppAD>)
> ZLIB 1.2.8 General purpose compression library by J. Gailly
> and M. Adler (zlib.net)
> GMP 6.1.0 GNU Multiple Precision Arithmetic Library
> developed by T. Granlund (gmplib.org)
> ZIMPL 3.3.3 Zuse Institute Mathematical Programming Language
> developed by T. Koch (zimpl.zib.de)
> Ipopt 3.12.4 Interior Point Optimizer developed by A. Waechter
> et.al. (www.coin-or.org/Ipopt <http://www.coin-or.org/Ipopt>)
> ASL AMPL Solver Library developed by D. Gay
> (www.netlib.com/ampl <http://www.netlib.com/ampl>)
>
> number of parameters = 1887
>
> But I can't make scip mex file for MATLAB interface. MinGW and gnumex
> serve as auxiliary for doing this. Here,I adjust
>
> the 'mexopts.bat' to link
> "liblpispx.a","libnlpi.cppad.a","libscip.a","libsoplex.a",through the
> command line
>
> "set GM_ADD_LIBS=-llibmx -llibmex -llibmat
> -Lc:/yalmip/scipoptsuite-3.2.1/scip-3.2.1/lib -llpispx -lnlpi.cppad
>
> -lsoplex -lscip". So the flags in "installscip.m" should be "flags =
> ['-v' ' ' '-g' ' ' '-I"' pathtosrc '"' '
>
> matscip.c ' ];"
>
> The corresponding information appearing on MATLAB command window is
> attached here, named as "Info.txt".
>
> I hope someone can give me some suggestions about how to make sicp mex
> file, or directly send me a suitable mex file
>
> for my operation system.
>
> Thank you in advance.
>
>
>
>
>
> Best Regards,
>
> From Wei.
>
>
>
>
> ------------------------------------------------------------------------
>
> <http://score.mail.sohu.com/?ref=mail_tailad>
>
>
>
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> http://listserv.zib.de/mailman/listinfo/scip
>
--
Ambros Gleixner, Zuse Institute Berlin, http://www.zib.de/gleixner
More information about the Scip
mailing list