[Scip] Installed python-zibopt on ubuntu

Gerald Gamrath gamrath at zib.de
Thu Sep 26 12:15:00 CEST 2013


Hi Raphael,

welcome to the SCIP mailing list! Comments inline (although you might
have figured everything out yourself, looking at your other mails).

> I am attempting and failing to install python-zibopt on ubuntu.  I
> have tried to follow the instructions at
> https://code.google.com/p/python-zibopt/wiki/Installation and am stuck
> in the step that involves compiling scip.  I run "make" and do my best
> to follow the instructions to make the soft links. I however can't
> find any .so file to link to so have to sklp those steps. 
that you don't add links to the dynamic .so libraries is not a problem,
as long as you set the links to the static .a libraries correctly,
either of them is sufficient.
> When I then run make I get
>
> -> compiling obj/O.linux.x86.gnu.opt/lib/scip/reader_zpl.o
> src/scip/reader_zpl.c:42:24: fatal error: zimpl/bool.h: No such file
> or directory
> compilation terminated.
>
> I can see that file in ./zimpl-3.2.0/src but it doesn't seem to be
> looking there.
The error you postet looks like your zimpl softlink is incorrect. If you
use a relative path, make sure that it is relative to the position where
the link is created. Most softlinks are created directly in the lib
directory, the zimpl softlink, however, is in a subdirectory of the lib
directory, so you have to go up two directories to get to the main SCIP
directory.
> I also tried pip install python-zipopt but understandably that fails as well.
>
> I then tried instead to just download and make scipoptsuite-3.0.1.tgz
> hoping that might be a way to solve the problem.  I got as far as
> 'make test' which works. What should I do now? How can I tell pip
> install python-zibopt to look in ~/scip-3.0.1/src for
> blockmemshell/memory.h?  Scip hasn't installed anything centrally as
> make install does not seem to be implemented.
The python-zibopt project is a separate project which is not developed
by the SCIP team, but by a SCIP user, Ryan J. O'Neil. We are very
grateful for that, but I'm not sure whether it is still maintained.
However, the installation documentation on the project web page should
be easy to apply to the current version of the SCIPoptSuite (we recently
renamed it to that, so you need to replace zibopt by scipopt everywhere
in the description, except for the softlink in your global lib
directory, which should probably still be named libzibopt so the python
code finds it).  Did you add your SCIP src/ directory to the C_INCLUDE_PATH?

Best,
Gerald



More information about the Scip mailing list