Skip to content

Performance regression building LP in v1.14.0 #2977

@odow

Description

@odow

First reported by jump-dev/HiGHS.jl#337

Reproducible MPS:

medium.zip

v1.14.0

julia> using JuMP, HiGHS

julia> begin
           model = read_from_file("/Users/odow/Downloads/medium.mps")
           set_optimizer(model, HiGHS.Optimizer)
           @time MOI.Utilities.attach_optimizer(model)
       end
Running HiGHS 1.14.0 (git hash: 7df0786de3): Copyright (c) 2026 under Apache 2.0 license terms
Using BLAS: blastrampoline 
 19.168187 seconds (18.29 M allocations: 989.328 MiB, 2.97% gc time)

v1.13.1

julia> using JuMP, HiGHS

julia> begin
           model = read_from_file("/Users/odow/Downloads/medium.mps")
           set_optimizer(model, HiGHS.Optimizer)
           @time MOI.Utilities.attach_optimizer(model)
       end
Running HiGHS 1.13.1 (git hash: 1d267d97c): Copyright (c) 2026 under Apache 2.0 license terms
Using BLAS: blastrampoline 
  1.895229 seconds (18.29 M allocations: 989.327 MiB, 33.30% gc time)

Flamegraph

Flamegraph of v1.14 shows time is dominated by calls to Highs_addRow:

Image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions