[SCIP] ERROR in using Gurobi as a solver with GCG

Gurjot singh gurjot91201 at gmail.com
Thu Apr 28 13:21:04 CEST 2022


Hello,
Yes, Gurobi is installed on Dev machine and I am able to run Gurobu
standalone.

On Thu, Apr 28, 2022 at 4:44 PM Naga Venkata Chaitanya Gudapati -
nagavenkata.gudapati at studio.unibo.it <nagavenkata.gudapati at studio.unibo.it>
wrote:

> Hey Gurjot,
>
> Is gurobi installed on your dev machine?
>
> ------------------------------
> *From:* Scip <scip-bounces at zib.de> on behalf of Gurjot singh <
> gurjot91201 at gmail.com>
> *Sent:* Thursday, April 28, 2022 12:28:35 PM
> *To:* Franziska Schloesser <schloesser at zib.de>; scip at zib.de <scip at zib.de>
> *Subject:* Re: [SCIP] ERROR in using Gurobi as a solver with GCG
>
>
> Thanks for the reply, I subscribe to the mailing list.
> As suggested by you , I installed tbb using command l
>
> sudo apt update
>
> sudo apt install libtbb-dev
>
> Now this error coming is as follows
>
> CMake Error at
> soplex/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
>
>   Could NOT find GUROBI (missing: GUROBI_LIBRARIES)
>
> Call Stack (most recent call first):
>
>   soplex/cmake/Modules/FindPackageHandleStandardArgs.cmake:378
> (_FPHSA_FAILURE_MESSAGE)
>
>   scip/cmake/Modules/FindGUROBI.cmake:15
> (find_package_handle_standard_args)
>
>   scip/CMakeLists.txt:321 (find_package)
>
>
> Thanks
> Gurjot Singh
>
>
> On Thu, Apr 28, 2022 at 1:37 PM Franziska Schloesser <schloesser at zib.de>
> wrote:
>
> Dear Gurjot,
>
> Please subscribe to the mailinglist before submitting your question.
>
> Also, your problem looks like you are missing tbb on your machine. You
> could install this or deactivate papilo with `-DPAPILO=off`.
>
> Best,
> Franziska
> On 4/28/22 07:32, Gurjot singh wrote:
>
> Good Morning,
>
> I am Gurjot Singh, an undergraduate student at IIT Kharagpur. I am
> exploring GCG (use PyGCGOpt) on decomposition problems where I want to use
> Gurobi as a LP solver. Is it possible to use gurobi as a solver with GCG.
>
>
> I used the following command to do so.
>
> cmake .. -DGUROBI_DIR=/opt/gurobi951/linux64 -DLPS=grb
>
>
> ERROR I am getting is as follows:-
>
>
> (base) gurjot at IABLRLT233:~/Documents/scipoptsuite-8.0.0/scip$ cmake ..
> -DGUROBI_DIR=/opt/gurobi951/linux64 -DLPS=grb
>
> -- The C compiler identification is GNU 11.2.0
>
> -- The CXX compiler identification is GNU 11.2.0
>
> -- Detecting C compiler ABI info
>
> -- Detecting C compiler ABI info - done
>
> -- Check for working C compiler: /usr/bin/cc - skipped
>
> -- Detecting C compile features
>
> -- Detecting C compile features - done
>
> -- Detecting CXX compiler ABI info
>
> -- Detecting CXX compiler ABI info - done
>
> -- Check for working CXX compiler: /usr/bin/c++ - skipped
>
> -- Detecting CXX compile features
>
> -- Detecting CXX compile features - done
>
> -- Could NOT find TBB (missing: TBB_DIR)
>
> CMake Warning at CMakeLists.txt:89 (message):
>
>   Cannot find papilo dependency TBB.  Please set PAPILO to off or specify
>
>   TBB_DIR!
>
>
> FATALMissing papilo dependencies. Aborting.
>
> -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
>
> -- Found GMP: /usr/include/x86_64-linux-gnu
>
> -- SoPlex with Boost CPP multiprecision libraries.
>
> -- Finding PAPILO
>
> CMake Error at soplex/CMakeLists.txt:171 (find_package):
>
>   Could not find a package configuration file provided by "PAPILO"
> (requested
>
>   version 2.0.0.0) with any of the following names:
>
>
> PAPILOConfig.cmake
>
> papilo-config.cmake
>
>
>   Add the installation prefix of "PAPILO" to CMAKE_PREFIX_PATH or set
>
>   "PAPILO_DIR" to a directory containing one of the above files.  If
> "PAPILO"
>
>   provides a separate development package or SDK, be sure it has been
>
>   installed.
>
>
> -- Configuring incomplete, errors occurred!
>
> See also
> "/home/gurjot/Documents/scipoptsuite-8.0.0/scip/CMakeFiles/CMakeOutput.log".
>
>
>
>
> Thanks
> Gurjot Singh
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20220428/2d25f009/attachment.html>


More information about the Scip mailing list