Recompiling PyScipOPT after extending the interface #787
-
Hi,
I'm using an unmodified version of SCIP, so I have not compiled my SCIP from source. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hello, @jgroenheide! You need to go to the folder with the setup.py file and write Cython creates a C file when translating the python code, that's why you don't recognize the line :) Also, please consider creating a PR with your changes, if you think it might be helpful! |
Beta Was this translation helpful? Give feedback.
-
From what I can tell, the only way to extend the interface is by compiling it from source. I performed the following steps on Windows.
I did not need to install the Python development files, or use |
Beta Was this translation helpful? Give feedback.
From what I can tell, the only way to extend the interface is by compiling it from source.
I performed the following steps on Windows.
SCIPOPTDIR=/path/to/scip/install/dir
as explained in INSTALL.md(I used Windows' built-in System Properties window for this.)
cd
and install the package withpython -m pip install .
scip.pxd
andscip.pxi
files. I used VS Code for this without issues.