We have added scip support in the linear_solver wrappers of or-tools. For now, support is limited to mac os X and linux 32/64 bit. Windows support will come later.
Please note that soplex and scip have special licenses and you should make sure you are allowed to use it. We believe scip is the best open source solver out there.
Here are the needed steps to use it:
- First download soplex from
soplex.zib.de (last version is 1.5.0) and untar it.
to soplex-1.5.0/make directory. Then remove the soplex prefix from the file. It should be make.linux.x86_64.gnu.opt-pic for instance.
- Step into soplex-1.5.0 and type:
* on mac OS X: make
* on linux make OPT=opt-pic
- Download scip from
scip.zib.de (last version is 2.01) and untar it.
- on linux, copy le scip.make.linux* and to the make directory and remove the scip prefix.
- Step into scip-2.0.1 and type:
* on mac OS X: make ZIMPL=false
* on linux make OPT=opt-pic ZIMPL=false
To compile scip, it will asks for path to soplex/src and soplex library (e.g. libsoplex.linux.x86_64.gnu.opt-pic.a). We do not use dynamic libraries.
- Go into or-tools, add UNIX_SCIP_DIR=../scip-2.0.1 (change the path if needed) to Makefile.local
- make clean; make lpexe
- You should be able to launch integer_solver_example and see
examples/integer_solver_example.cc:52: ----- Running MIP Example with SCIP -----
examples/integer_solver_example.cc:36: objective = 6
Then you are all set.
--Laurent Perron