Skip to content

Can't find "nlpi/pub_expr.h" #552

@rgreen13

Description

@rgreen13

(Also posted at #552)

Using Debian 11.1 with the SCIPOpt .deb package for version 8.0.0 (which installs and runs with no issue) alongside Python 3.9. I'm running into the following error when installing PySCIPOpt:

x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/build/python3.9-RNBry6/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/tmp/pip-install-xcm34ryv/pyscipopt_7be7d20bdcc447dcafdaaadb2d1f13a9/src -I/usr/include/python3.9 -c src/pyscipopt/scip.c -o build/temp.linux-x86_64-3.9/src/pyscipopt/scip.o
  src/pyscipopt/scip.c:716:10: fatal error: nlpi/pub_expr.h: No such file or directory
    716 | #include "nlpi/pub_expr.h"
        |          ^~~~~~~~~~~~~~~~~
  compilation terminated.

I've searched through source files and there is no nlpi directory in the scip include directory, but there is a pub_expr.h in the main scip include directory (/usr/include/scip). I have a feeling that the error is related to line 1,457 in scip.pxd in the PyScipOpt source code, but am not 100% sure. It seems that it may also be related to a difference between ScipOpt versions 7.0.3 and 8.0.0 and the nlpi directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions