[SCIP] Setup PyScipOpt failed
Ambros Gleixner
gleixner at zib.de
Mon Jul 9 18:51:14 CEST 2018
Hi,
Thank you again for reporting this.
For the record: we will provide a patched Makefile for download soon.
But also Gregor is correct: PySCIPOpt is only compatible with builds
created by CMake.
Best,
Ambros
Am 06.07.2018 um 08:01 schrieb cuiyouzhi0000:
> Yes, I agree with Michael.
> I think this is SCIP issue, the header file symmetry/type_symmetry.h was
> not included by
> "make install" in SCIP.
>
>
> ------------------ Original ------------------
> *From: * "michael.winkler"<michael.winkler at zib.de>;
> *Date: * Thu, Jul 5, 2018 06:00 PM
> *To: * "Gregor Hendel"<hendel at zib.de>;
> *Cc: * "scip"<scip at zib.de>;
> *Subject: * Re: [SCIP] Setup PyScipOpt failed
>
> Hi,
>
> could it be that this is due the wrong include which should be in ""
> instead of <> (#include "symmetry/type_symmetry.h" in
> symmetry/type_symmetry.h). Maybe the SCIP group can fix this.
>
> Michael
>
> > Hello SCIP user,
> >
> > I think that you used the classical Makefile system of SCIP for
> > installation, and discovered its only flaw.
> > As far as I know, the Python interface is only compatible with the
> > libraries and installation that CMake produces. Please try again using
> > CMake.
> >
> > Good luck,
> > Gregor
> >
> > Am 05.07.2018 um 08:45 schrieb cuiyouzhi0000:
> >> Hello SCIP experts,
> >>
> >> I got below error when I build PyScipOpt on my machine after I built and
> >> installed scip 6.0. Could I ask for help? Thanks a lot.
> >>
> >> python setup.py install --debug
> >> running install
> >> running bdist_egg
> >> running egg_info
> >> writing PySCIPOpt.egg-info/PKG-INFO
> >> writing dependency_links to PySCIPOpt.egg-info/dependency_links.txt
> >> writing top-level names to PySCIPOpt.egg-info/top_level.txt
> >> reading manifest file 'PySCIPOpt.egg-info/SOURCES.txt'
> >> writing manifest file 'PySCIPOpt.egg-info/SOURCES.txt'
> >> installing library code to build/bdist.macosx-10.7-x86_64/egg
> >> running install_lib
> >> running build_py
> >> running build_ext
> >> building 'pyscipopt.scip' extension
> >> gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g
> >> -fwrapv -O3 -Wall -Wstrict-prototypes
> >> -I/Users/cuiyouzhi/anaconda3/include -arch x86_64
> >> -I/Users/cuiyouzhi/anaconda3/include -arch x86_64
> >> -I/Users/cuiyouzhi/scipoptsuite-6.0.0/scip/include
> >> -I/Users/cuiyouzhi/anaconda3/include/python3.6m -c src/pyscipopt/scip.c
> >> -o build/temp.macosx-10.7-x86_64-3.6/src/pyscipopt/scip.o -UNDEBUG
> >> In file included from src/pyscipopt/scip.c:550:
> >> In file included from /usr/local/include/scip/scipdefplugins.h:159:
> >> /usr/local/include/scip/presol_symmetry.h:34:10: fatal error:
> >> 'symmetry/type_symmetry.h' file not found
> >> #include <symmetry/type_symmetry.h>
> >> ^~~~~~~~~~~~~~~~~~~~~~~~~~
> >> 1 error generated.
> >> error: command 'gcc' failed with exit status 1
> >>
> >> _______________________________________________
> >> Scip mailing list
> >> Scip at zib.de
> >> https://listserv.zib.de/mailman/listinfo/scip
> >
> > _______________________________________________
> > Scip mailing list
> > Scip at zib.de
> > https://listserv.zib.de/mailman/listinfo/scip
> >
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip
>
--
Ambros Gleixner, Research Group Mathematical Optimization Methods at
Zuse Institute Berlin, http://www.zib.de/gleixner
More information about the Scip
mailing list