There is a long delay after calling JuMP.optimize! for any larger problem.
The code:
using JuMP, HiGHS, MacroEnergyScaling
m = read_from_file("medium.mps", format = MOI.FileFormats.FORMAT_MPS)
set_optimizer(m, HiGHS.Optimizer)
JuMP.set_optimizer_attribute(m, "solver", "simplex")
optimize!(m)
The output:
Running HiGHS 1.14.0 (git hash: 7df0786de3): Copyright (c) 2026 under Apache 2.0 license terms
Using BLAS: blastrampoline-5
......
**5 minutes delay here**
.....
LP has 586972 rows; 420526 cols; 1446423 nonzeros
Assessing costs and bounds after applying user_objective_scale option value of -7
Coefficient ranges:
Matrix [1e-03, 1e+02]
Cost [8e-03, 8e+03]
Bound [0e+00, 0e+00]
RHS [1e+00, 6e+05]
Presolving model
238410 rows, 211200 cols, 696758 nonzeros 0s
202266 rows, 175079 cols, 583571 nonzeros 0s
197915 rows, 118168 cols, 568001 nonzeros 1s
Dependent equations search running on 37846 equations with time limit of 1000.00s
Dependent equations search removed 0 rows and 0 nonzeros in 0.01s (limit = 1000.00s)
197370 rows, 117623 cols, 571230 nonzeros 1s
Presolve reductions: rows 197370(-389602); columns 117623(-302903); nonzeros 571230(-875193)
Solving the presolved LP
WARNING: Number of threads available = 6 < 8 = Simplex concurrency to be used: Parallel performance may be less than anticipated
Using parallel dual simplex solver - PAMI with concurrency of 8
Iteration Objective Infeasibilities num(sum)
0 0.0000000000e+00 Pr: 17520(2.83929e+08) 1.9s
27853 4.9363762594e+04 Pr: 35833(2.26624e+10); Du: 0(3.32807e-06) 7.1s
I am using HiGHS.jl v1.23.0. The mentioned step lasts only a few seconds with HiGHS.jl 1.22.2. It happens with any larger problen both read from MPS file and built directly by JuMP. It does not happen with another solvers used for the same problem.
My system:
Sytem SKU LENOVO_MT_21H3_BU_Think_FM_ThinkPad L15 Gen 4
Processor 13th Gen Intel(R) Core(TM) i7-1355U, 1700 Mhz, cores: 10, logical processors: 12
Windows 11 PRO Czech version
Version 10.0.26200 Build 26200
Julia installation:
Julia 1.12.6
(@v1.12) pkg> status
[87dc4568] HiGHS v1.23.0
[4076af6c] JuMP v1.30.0
[295af30f] Revise v3.14.2
Thanks.
Jiri
There is a long delay after calling JuMP.optimize! for any larger problem.
The code:
The output:
I am using HiGHS.jl v1.23.0. The mentioned step lasts only a few seconds with HiGHS.jl 1.22.2. It happens with any larger problen both read from MPS file and built directly by JuMP. It does not happen with another solvers used for the same problem.
My system:
Julia installation:
Thanks.
Jiri