[SCIP] compiling with LPS=grb

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


Use the same flags for make test that you used for make, e.g.,
make LPS=grb READLINE=false test

On 08/08/2017 07:34 PM, Ziye Tang wrote:
> I got the following error when running make test:
> 
> ERROR: "bin/scip-4.0.0.linux.x86_64.gnu.opt.spx2.none" not found.
>         This is needed by ./check.sh to work. Check your
>         $PATH variable or install the tool
> "bin/scip-4.0.0.linux.x86_64.gnu.opt.spx2.none".
> 
> Should I add some variables to PATH?
> 
> Thanks
> 
> On Tue, Aug 8, 2017 at 1:21 PM, Stefan Vigerske <stefan at math.hu-berlin.de>
> wrote:
> 
>> 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
>>
> 


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


More information about the Scip mailing list