Skip to content

Segfault in maximum_weight_perfect_matching when the graph does not have a perfect matching #10

Open
@etiennedeg

Description

@etiennedeg

That's really not a nice behavior :\

the fault seems to be on BlossomV.jl side mlewe/BlossomV.jl#25

Ok, in fact, the problem seems to originate from Blossom V itself, this is so bad :(

// Computes a perfect matching of minimum cost.
// NOTE: a perfect matching of finite cost must exist (otherwise the behaviour is not specified).

We can get around this by adding dummy edges with big weights.

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