[SCIP] Gurobi + SCIP
Matthias Walter
matthias at matthiaswalter.org
Fri Jun 18 09:31:17 CEST 2021
Hi Vincent,
please look into scip/cmake/Modules/FindGUROBI.cmake. In the
find_library call, cmake searches for different gurobi libraries.
Apparently, gurobi90 is not searched for (I do have a libgurobi.so.9.0.0
on my machine, but probably the file extension probably does not count
for cmake). So you can easily add a "gurobi90" to the NAMES parameter of
find_library and then retry.
Best,
Matthias
On 17.06.21 13:32, Vincent Wang wrote:
> Hi folks,
>
> I have a quite naive question. I was compiling SCIP (via cmake) in my
> ubuntu 20.04 system and was going to use Gurobi as its LP solver. So I
> follow the instruction here
> (https://scipopt.org/doc/html/md_INSTALL.php) and type
>
> cmake .. -DLPS=grb -DGUROBI_DIR=/opt/gurobi912/linux64/
>
> Then I had an error (see the attached) which says that
>
> CMake Error at
> papilo/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
> Could NOT find GUROBI (missing: GUROBI_LIBRARIES)
>
> Note that it did not say "missing GUROBI_INCLUDE_DIRS
> GUROBI_LIBRARIES" but only "GUROBI_LIBRARIES". Anybody has experienced
> this or has any thoughts? I would appreciate it.
>
> Best,
> Vincent.
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20210618/d7238d14/attachment.html>
More information about the Scip
mailing list