Skip to content

Performance issue in Dulmage-Mendelsohn #8

@Robbybp

Description

@Robbybp

dulmage_mendelsohn.jl uses the following:

filter = cat(vec1, vec2, ...; dims = 1)
other = [n for n in nodes if !(n in filter)]

As filter is a vector, this is quadratic time and will become slow if nodes, the vector of nodes in the bipartite graph, becomes large. As we do expect this set of nodes to become large, we should implement filter as a set.

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