Skip to content

Commit 36369dd

Browse files
authored
Merge pull request #63 from SCIP-Interfaces/rs/scip500
Update to SCIP 5.0.0
2 parents fe0e426 + cfbf595 commit 36369dd

File tree

4 files changed

+24
-15
lines changed

4 files changed

+24
-15
lines changed

.travis.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ dist: trusty
1111
script:
1212
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
1313
- julia -e 'Pkg.clone(pwd())'
14-
- wget http://scip.zib.de/download/release/scipoptsuite-4.0.0.tgz
15-
- tar xzf scipoptsuite-4.0.0.tgz
16-
- cd scipoptsuite-4.0.0/
17-
- make SHARED=true GMP=false READLINE=false ZLIB=false scipoptlib
18-
- export SCIPOPTDIR=`pwd`
14+
- wget http://scip.zib.de/download/release/scipoptsuite-5.0.0.tgz
15+
- tar xzf scipoptsuite-5.0.0.tgz
16+
- cd scipoptsuite-5.0.0/
17+
- export SCIPOPTDIR=`pwd`/install
18+
- mkdir build
19+
- cd build
20+
- cmake -DCMAKE_INSTALL_PREFIX=$SCIPOPTDIR ..
21+
- make
22+
- make install
1923
- cd ..
2024
- julia -e 'Pkg.build("SCIP"); Pkg.test("SCIP"; coverage=true)'

README.md

+13-8
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,26 @@ but there is an issue (#46) since the update to SCIP 4.0.0.
2525

2626
Follow the steps below to get SCIP.jl working. Unfortunately, these steps can not be automated as part of `Pkg.build("SCIP")`, because the academic license of SCIP does not allow distribution of the source code without tracking the download metadata. See the [license](http://scip.zib.de/academic.txt) for details.
2727

28-
1.The SCIP.jl package requires [SCIP](http://scip.zib.de/) to be installed in the newest version (4.0.0).
29-
[Download](http://scip.zib.de/download.php?fname=scipoptsuite-4.0.0.tgz) the SCIP Optimization Suite, untar it.
28+
1.The SCIP.jl package requires [SCIP](http://scip.zib.de/) to be installed in the newest version (5.0.0).
29+
[Download](http://scip.zib.de) the SCIP Optimization Suite.
3030
```
31-
wget http://scip.zib.de/download/release/scipoptsuite-4.0.0.tgz
32-
tar xzf scipoptsuite-4.0.0.tgz
31+
tar xzf scipoptsuite-5.0.0.tgz
3332
```
34-
2.Build the shared library with
33+
34+
2.Choose an installation path and set the **environment variable `SCIPOPTDIR`** to point there.
3535
```
36-
make SHARED=true GMP=false READLINE=false ZLIB=false scipoptlib
36+
export SCIPOPTDIR=`my/install/dir`
3737
```
3838

39-
3.Set the **environment variable `SCIPOPTDIR`** to point to the directory that contains the `scipoptsuite` sources. CSIP needs the library in `${SCIPOPTDIR}/lib/scipoptlib.so` and the C header files in `${SCIPOPTDIR}/scip-*/src/`.
39+
3.Build and install the shared library with
4040
```
41-
export SCIPOPTDIR=`pwd`
41+
mkdir build
42+
cd build
43+
cmake -DCMAKE_INSTALL_PREFIX=$SCIPOPTDIR ..
44+
make
45+
make install
4246
```
47+
4348
4.This package is registered in `METADATA.jl` and can be installed in Julia with
4449
```
4550
Pkg.add("SCIP")

deps/csip_version.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# required version and utilities in a single location
2-
CSIP_VERSION = "0.4.5"
2+
CSIP_VERSION = "0.5.0"
33

44
function vn2int(vn::VersionNumber)
55
100*vn.major + 10*vn.minor + vn.patch

test/runtests.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ lp_solvers = []
2020
ip_solvers = [solver]
2121
sos_solvers = [solver]
2222
quad_solvers = []
23-
quad_mip_solvers = [solver]
23+
quad_mip_solvers = []
2424
lazy_solvers = [solver]
2525
lazy_soc_solvers = [solver]
2626
lazylocal_solvers = []

0 commit comments

Comments
 (0)