[SCIP] compiling with LPS=grb

Ziye Tang ziyet at andrew.cmu.edu
Tue Aug 8 18:48:21 CEST 2017


HI Stefan,

I got the following error:

-> compiling obj/static/O.linux.x86_64.gnu.opt/bin/main.o
-> linking bin/scip-4.0.0.linux.x86_64.gnu.opt.grb.none
/usr/bin/ld: cannot find -lgurobi.linux.x86_64.gnu

Is it a linking error to gurobi lib?

Ziye

On Tue, Aug 8, 2017 at 12:38 PM, Stefan Vigerske <stefan at math.hu-berlin.de>
wrote:

> Hi,
>
> well, what's your guess?
>
> Remove only the #if.
>
> Stefan
>
>
> On 08/08/2017 06:28 PM, Ziye Tang wrote:
>
>> HI Stephen, do you mean to remove the whole c file, or just the #if macro?
>>
>>
>> On Tue, Aug 8, 2017 at 12:09 PM, Stefan Vigerske <
>> stefan at math.hu-berlin.de>
>> wrote:
>>
>> Hi,
>>>
>>> no, only the check in lpi/lpi_grb.c is wrong. You can just remove it.
>>> This will also be fixed in a next release.
>>>
>>> Stefan
>>>
>>>
>>> On 08/08/2017 05:37 PM, Ziye Tang wrote:
>>>
>>> Dear SCIP team, I am trying to compile scip with gurobi LP solver. I've
>>>> created softlinks for both gurobi include and library folder. But I got
>>>> the
>>>> following error:
>>>>
>>>> src/lpi/lpi_grb.c:41:2: error: #error "The Gurobi intreface only works
>>>> for
>>>> Gurobi versions at least 7.0.2"
>>>>    #error "The Gurobi intreface only works for Gurobi versions at least
>>>> 7.0.2"
>>>>     ^~~~~
>>>>
>>>> I recently updated to Gurobi 7.5.0. Is that a problem?
>>>>
>>>> Best,
>>>> Ziye
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Scip mailing list
>>>> Scip at zib.de
>>>> https://listserv.zib.de/mailman/listinfo/scip
>>>>
>>>>
>>>>
>>> --
>>> http://www.gams.com/~stefan
>>>
>>>
>>
>
> --
> http://www.gams.com/~stefan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20170808/5cbb4007/attachment.html>


More information about the Scip mailing list