Skip to content

Ecole on Colab not imported #244

Answered by AntoinePrv
Lessvn asked this question in Questions
Sep 14, 2021 · 2 comments · 12 replies
Discussion options

You must be logged in to vote

You could try installing (and compiling) Ecole through pip. There are few steps because you need to provide a SCIP installation and Ecole uses some quite modern features, but I got something like the following working.

1. Install Ecole

# Install SCIP
! apt-get update
! apt-get install libgmp3-dev
! wget --no-verbose https://scipopt.org/download/release/scipoptsuite-7.0.3.tgz
! tar -xzf scipoptsuite-7.0.3.tgz
! mkdir build
! cd build && cmake -S ../scipoptsuite-7.0.3 \
  -DCMAKE_BUILD_TYPE=Release \
  -DPARASCIP=ON \
  -DPAPILO=ON \
  -DGCG=OFF \
  -DZIMPL=OFF \
  -DBOOST=OFF \
  -DIPOPT=OFF
! cd build && make && make install

# Upgrade compiler, CMake and NumPy for Ecole
! add-apt-reposit…

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
8 replies
@Lessvn
Comment options

@AntoinePrv
Comment options

@Lessvn
Comment options

@AntoinePrv
Comment options

@Lessvn
Comment options

Comment options

You must be logged in to vote
4 replies
@Lessvn
Comment options

@Lessvn
Comment options

@AntoinePrv
Comment options

@peirisi
Comment options

Answer selected by Lessvn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants