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

オープン
#10 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

@etiennedeg がすでに取り組んでいます。

2024年5月3日 から。

  • #11 @etiennedeg による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
julia
領域
data

調査の方向性

Reproduce maximum_weight_perfect_matching on a graph without a perfect matching, then inspect its entry point and the referenced BlossomV.jl issue #25. Before changing behavior, determine and document the intended non-segfault outcome, since the issue only notes dummy edges as a possible workaround.

索引モデルが issue の本文から書いたものです。

説明

That's really not a nice behavior :\

the fault seems to be on BlossomV.jl side https://github.com/mlewe/BlossomV.jl/issues/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.

主要言語
Julia
スター
20
フォーク
8
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

JuliaGraphs/GraphsMatching.jl のほかの issue

JuliaGraphs/GraphsMatching.jl の issue をすべて見る

似ている issue

Julia の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。