[Scip] using gurobi as lp solver

Robert Schwarz mail at rschwarz.net
Sat Nov 28 23:17:34 MET 2009


Hey all,

is Gurobi officially supported to be interfaced with SCIP 1.2.0?
The Makefile recognizes the LPS=grb option, but I'm getting build errors
for my application:

-> linking bin/scip-1.2.0.linux.x86_64.gnu.opt.grb
lib/liblpigrb-1.2.0.linux.x86_64.gnu.opt.a(lpi_grb.o): In function
`SCIPlpiWriteLP':
lpi_grb.c:(.text+0x362): undefined reference to `GRBwrite'
lpi_grb.c:(.text+0x38a): undefined reference to `GRBgeterrormsg'

And yet I can build scip itself with
  make LPS=grb
and run some of the test IPs with a speed up of 2 compared to soplex.
Still, there are many errors:
[src/scip/lpi_grb.c:2796] ERROR: SCIPlpiGetDualfarkas() not supported by
Gurobi

I'm using Gurobi 2.0.0 for 64 bit linux. In the Gurobi docs I read that
one should use gcc 4.3 for interfacing it, so I run g++-4.3 (GCC) 4.3.3

When building scip and setting up the links, I only link to the .so library.

Any ideas?

Thanks,

-- 
Robert Schwarz <mail at rschwarz.net>

Get my public key at http://rschwarz.net/key.asc


More information about the Scip mailing list