Skip to content

Commit 9822751

Browse files
authored
update pyscipopt installation instructions
1 parent 5d0b9da commit 9822751

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ This work is built upon [learn2branch](https://github.com/ds4dm/learn2branch), w
1010
We use it as a [git submodule](https://www.git-scm.com/book/en/v2/Git-Tools-Submodules).
1111
Follow installation instructions of [learn2branch](https://github.com/ds4dm/learn2branch/blob/master/INSTALL.md) to install [SCIP](https://www.scipopt.org/) and PySCIPOpt.
1212

13+
**UPDATE** As pointed out in [PR#2](https://github.com/pg2455/Hybrid-learn2branch/issues/2), a function needs to be added in the [class Column](https://github.com/scipopt/PySCIPOpt/blob/v3.0.4/src/pyscipopt/scip.pyx#L314) of PySCIPOpt. Please add the following function there before installation of PySCIPOpt-
14+
```cpython
15+
def getIndex(self):
16+
return SCIPcolGetIndex(self.scip_col)
17+
```
18+
1319
Following python dependencies were used to run the code in this repository
1420
```
1521
torch==1.4.0.dev20191031

0 commit comments

Comments
 (0)