Skip to content

Commit 1841fb4

Browse files
committed
Fix benchmark script and add runner.jl
1 parent a6a3e0b commit 1841fb4

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

paper/benchmark.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ using SolverBenchmark
88
using CUTEst
99

1010
cutest_problems = readlines("list_problems.dat")
11-
problems = ((CUTEstModel(p) for p in cutest_problems), "cutest")
11+
problems = (CUTEstModel(p) for p in cutest_problems[1:2])
1212

1313
max_time = 1200.0 # 20 minutes
14+
T = Float64
1415
tol = sqrt(eps(T)) # relative tolerance
1516

1617
solvers = Dict(

paper/runner.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
using Pkg
2+
path = dirname(@__FILE__)
3+
Pkg.activate(path)
4+
Pkg.instantiate()
5+
6+
include("make_problem_list.jl")
7+
include("benchmark.jl")
8+
include("analyze.jl")

0 commit comments

Comments
 (0)