Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About install issues (Patch & PySCIPOpt) #9

Open
sugyeong-jo opened this issue Jul 30, 2020 · 0 comments
Open

About install issues (Patch & PySCIPOpt) #9

sugyeong-jo opened this issue Jul 30, 2020 · 0 comments

Comments

@sugyeong-jo
Copy link

sugyeong-jo commented Jul 30, 2020

Hello gasse,

I have been read your paper very impressively.
Currently, I am working on a task to solve the MILP problem of 100,000 by 100,000 sizes.
Many attempts have been made to adapt your model.
However, the following problems occurred.

My computer details are as follows.
-Linux 86X

1. patch issues

I had to patch after installing SCIP, but I couldn't patch because the scip/benders_default.o file was not found.

--- a/Makefile
+++ b/Makefile
@@ -512,6 +512,7 @@ SCIPPLUGINLIBOBJ= scip/benders_default.o \
 scip/branch_pscost.o \
 scip/branch_random.o \
 scip/branch_relpscost.o \
+ scip/branch_vanillafullstrong.o \
 scip/cons_abspower.o \
 scip/compr_largestrepr.o \
 scip/compr_weakcompr.o \

2. Install PySCIOpt
This also gave me the following error:

Collecting pyscipopt
  WARNING: Keyring is skipped due to an exception: Failed to create the collection: Prompt dismissed..
  Downloading http://mirror.kakao.com/pypi/packages/bd/1e/72203205f44999ab8982a75efa4a6b32343382d58235a4d607d2197df417/PySCIPOpt-3.0.1.tar.gz (615 kB)
     |████████████████████████████████| 615 kB 3.4 MB/s
Building wheels for collected packages: pyscipopt
  Building wheel for pyscipopt (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/sugyeong/anaconda3/bin/python -u -c'import sys, setuptools, tokenize; sys.argv[0] ='"'"'/tmp/pip-install-kkbly572/pyscipopt/setup.py'"'"'; __file__='"'"'/tmp/pip-install-kkbly572/pyscipopt/setup.py'"'"';f=getattr(tokenize,'"'"'open'"'"', open)(__file__) ;code=f.read().replace('"'"'\r\n'"'"','"'"'\n'"'"');f.close();exec(compile( code, __file__,'"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-6esiywdm
       cwd: /tmp/pip-install-kkbly572/pyscipopt/
  Complete output (37 lines):


...

  src/pyscipopt/scip.c:629:10: fatal error: scip/scip.h: No such file or directory
    629 | #include "scip/scip.h"
        | ^~~~~~~~~~~~~
  compilation terminated.
  error: command'gcc' failed with exit status 1

...

Probably, the problem occurred because the install did not work properly.
(I think it is an extension of the patch problem.)
As far as I know, pyscipopt is not needed on Linux.
Therefore, in the generating part, pysciopt was excluded from the utility, and it worked well. But in the second file, I need to use scip.Branchrule, which seems to be without pysciopt.

Sorry for asking too little of a problem.
Please answer if you are not very busy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant