Skip to content
This repository was archived by the owner on Nov 24, 2021. It is now read-only.

Commit d6482f9

Browse files
committed
Merge branch 'master' into rs/delref
2 parents 5093a75 + c48e3c2 commit d6482f9

27 files changed

+113
-71
lines changed

.travis.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,32 @@
11
# Documentation: http://docs.travis-ci.com/user/languages/julia/
22
language: julia
33
os: linux
4-
dist: xenial
4+
dist: bionic
55
addons:
66
apt:
77
packages:
88
- libblas3
99
- libc6
1010
- libgcc1
11-
- libgfortran3
11+
- libgfortran4
1212
- libgmp10
13-
- libgsl2
13+
- libgsl23
1414
- liblapack3
15+
- libquadmath0
1516
- libstdc++6
17+
- libtbb2
1618
- zlib1g
1719
sudo: true
1820
julia:
19-
- 1.3
21+
- 1.4
2022
notifications:
2123
email: false
2224
git:
2325
depth: 99999999
2426
before_install:
25-
- export VERSION=6.0.1
27+
- export VERSION=7.0.0
2628
- wget http://scip.zib.de/download/release/SCIPOptSuite-$VERSION-Linux.deb
2729
- sudo dpkg -i SCIPOptSuite-$VERSION-Linux.deb
2830
- export SCIPOPTDIR=/usr
2931
after_success:
30-
- julia -e 'VERSION != v"1.1" && exit(0); using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
32+
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'

Project.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ CairoMakie = "^0.1.2"
2626
Combinatorics = "^1.0.0"
2727
DataStructures = "^0.17.10"
2828
Distances = "^0.8.2"
29-
GLPK = "^0.11.0"
29+
GLPK = "^0.13.0"
3030
JSON = "^0.21.0"
31-
JuMP = "^0.20.0"
31+
JuMP = "^0.21.2"
3232
LightGraphs = "^1.3.0"
33-
MathOptInterface = "^0.9.12"
34-
SCIP = "^0.9.4"
35-
SCS = "^0.6.0"
33+
MathOptInterface = "^0.9.13"
34+
SCIP = "^0.9.5"
35+
SCS = "^0.6.6"
3636
StaticArrays = "^0.12.1"
3737
Triangulate = "^0.4.3"
3838
Unitful = "^1.0.0"
39-
julia = "^1.3.0"
39+
julia = "^1.4.0"
4040

4141
[extras]
4242
GLPK = "60bf3e95-4087-53dc-ae20-288a0d20c6a6"

examples/debug_cuts.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ topo = Topology([Node(t...) for t in [(0,22), (0,0), (25,22), (25,0), (45,22), (
1616

1717
inst = Instance(nodes, demand, bounds, diams, ploss_coeff_nice)
1818

19-
_glpk = JuMP.with_optimizer(GLPK.Optimizer)
20-
solver = GndStr.IterGBD(_glpk, _glpk, addnogoods=false, maxiter=10)
19+
solver = GndStr.IterGBD(GLPK.Optimizer, GLPK.Optimizer, addnogoods=false, maxiter=10)
2120
result = optimize(inst, topo, solver);
2221

2322
@show result.status

examples/lns_boundcmp.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ bounds = fill(Bounds(40, 80), 4)
2121
diams = map(Diameter, [1, 2], [1, 2])
2222
inst = Instance(terminals, demand, bounds, diams, ploss_coeff_nice)
2323

24-
_scip = JuMP.with_optimizer(SCIP.Optimizer, limits_gap=0.001)
24+
_scip = JuMP.optimizer_with_attributes(SCIP.Optimizer, "limits/gap" => 0.001)
2525

2626
function pipedim()
2727
println("### Pipe Dimensioning LP model, path topology ###")

examples/minlp_callbacks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ mutable struct Problem
88
end
99

1010
function make_model(nonlin=false)::Problem
11-
m = Model(solver=SCIP.Optimizer(display_verblevel=3))
11+
m = Model(SCIP.Optimizer)
1212

1313
@variable(m, x[1:9], Bin)
1414
@variable(m, -1 y[1:9] 1)

examples/warmstart_boundcmp.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ fstw = Topology(nodes, [Arc(5,6), Arc(5,1), Arc(2,5), Arc(3,6), Arc(6,4)])
2424

2525
# instead of calling `optimize` we do the steps manually
2626

27-
scip = JuMP.with_optimizer(
28-
SCIP.Optimizer, limits_gap=0.01, heuristics_completesol_maxunknownrate=1.0)
27+
scip = JuMP.optimizer_with_attributes(
28+
SCIP.Optimizer,
29+
"limits/gap" => 0.01,
30+
"heuristics/completesol/maxunknownrate" => 1.0
31+
)
2932
solver = JuncLoc.NLP(scip)
3033
model, x, y, L, l, π = PipeLayout.JuncLoc.make_nlp(inst, fstw, solver)
3134

experiments/config/gs_dd_gbdcb_both.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ using SCIP
33
using GLPK
44

55
solver = GndStr.CallbackGBD(
6-
JuMP.with_optimizer(SCIP.Optimizer, display_width=139, limits_memory=5000.0),
7-
JuMP.with_optimizer(GLPK.Optimizer),
6+
JuMP.optimizer_with_attributes(
7+
SCIP.Optimizer,
8+
"display/width" => 139,
9+
"limits/memory" => 5000.0
10+
),
11+
GLPK.Optimizer,
812
addnogoods=true,
913
addcritpath=true,
1014
timelimit=3600.0)

experiments/config/gs_dd_itergbd_both.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ using SCIP
33
using GLPK
44

55
solver = GndStr.IterGBD(
6-
JuMP.with_optimizer(SCIP.Optimizer, display_width=139, limits_memory=5000.0),
7-
JuMP.with_optimizer(GLPK.Optimizer),
6+
JuMP.optimizer_with_attributes(
7+
SCIP.Optimizer,
8+
"display/width" => 139,
9+
"limits/memory" => 5000.0
10+
),
11+
GLPK.Optimizer,
812
addnogoods=true,
913
addcritpath=true,
1014
maxiter=Int(1e9),

experiments/config/gs_dd_itergbd_critpath.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ using SCIP
33
using GLPK
44

55
solver = GndStr.IterGBD(
6-
JuMP.with_optimizer(SCIP.Optimizer, display_width=139, limits_memory=5000.0),
7-
JuMP.with_optimizer(GLPK.Optimizer),
6+
JuMP.optimizer_with_attributes(
7+
SCIP.Optimizer,
8+
"display/width" => 139,
9+
"limits/memory" => 5000.0
10+
),
11+
GLPK.Optimizer,
812
addnogoods=false,
913
addcritpath=true,
1014
maxiter=Int(1e9),

experiments/config/gs_dd_itergbd_nogoods.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ using SCIP
33
using GLPK
44

55
solver = GndStr.IterGBD(
6-
JuMP.with_optimizer(SCIP.Optimizer, display_width=139, limits_memory=5000.0),
7-
JuMP.with_optimizer(GLPK.Optimizer),
6+
JuMP.optimizer_with_attributes(
7+
SCIP.Optimizer,
8+
"display/width" => 139,
9+
"limits/memory" => 5000.0
10+
),
11+
GLPK.Optimizer,
812
addnogoods=true,
913
addcritpath=false,
1014
maxiter=Int(1e9),

0 commit comments

Comments
 (0)