Skip to content

Improve performance of LP sensitivity summary #2244

@odow

Description

@odow

As raised on Discourse: https://discourse.julialang.org/t/performance-of-lp-rhs-perturbation-range/40551

The function for querying LP sensitivity are pretty slow, mainly because they compute the constraint matrix every call:
https://github.com/JuliaOpt/JuMP.jl/blob/7df1796d305aed88ec4f66ea52b8437fa4babe58/src/lp_sensitivity.jl#L190-L192

There is probably plenty of other low-hanging fruit we could improve.

Edit: in fact, it seems the best thing we could do is compute and return a dictionary with the perturbation range for every constraint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions