[SCIP] compiling with LPS=grb

Stefan Vigerske stefan at math.hu-berlin.de
Tue Aug 8 19:21:05 CEST 2017


Hi,

READLINE=false

Stefan

On 08/08/2017 07:12 PM, Ziye Tang wrote:
> Well after I rescpecified the gurobi include, and lib, I got the following
> error:
> 
> /usr/bin/ld: cannot find -lncurses
> collect2: error: ld returned 1 exit status
> 
> Can you give some hint? Thanks in advance.
> 
> 
> On Tue, Aug 8, 2017 at 12:48 PM, Ziye Tang <ziyet at andrew.cmu.edu> wrote:
> 
>> 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
>>>
>>
>>
> 


-- 
http://www.gams.com/~stefan


More information about the Scip mailing list